Hello people,
does anybody know how to write a script to read module's chip ID?
If you can suggest a starting point i will appreciate it !
Thks, rgds.
Script to read chip ID ?
Re: Script to read chip ID ?
Postby YimingLi » Tue Sep 20, 2016 12:48 am
Hi, to read out the chip ID is rather simple following below steps:
(1) bring the chip into boot from uart0 mode, i.e. perform a power reboot with gpio15 pulled low, gpio0 pulled low, and gpio2 pulled high or float
(2) communicate with chip via serial port in a sequence of synchronization.
(3) communicate with chip via serial port in a sequence of read register, to read the two registers at 0x3FF00050 and 0x3FF00054.
the four bytes inside will combind the chipID. e.g. for a chipid=0x00CC670D, the register values read out are
@0x3FF00054 = 0x0200CC67 @0x3FF00050 = 0x0DBB0000
There is software toolkit which performs above operation to read out the module info include chip id and flash id info etc. Just press the button "MOD INFO" you will get the chip id etc. And some other interesting features as well. You may download it for a trial reference.
downloaded from outside China: https://github.com/Anylinkin/ESP8266/tr ... /S8266WIFI
or downloaded from inside China: http://pan.baidu.com/s/1pJy3bUN
(1) bring the chip into boot from uart0 mode, i.e. perform a power reboot with gpio15 pulled low, gpio0 pulled low, and gpio2 pulled high or float
(2) communicate with chip via serial port in a sequence of synchronization.
(3) communicate with chip via serial port in a sequence of read register, to read the two registers at 0x3FF00050 and 0x3FF00054.
the four bytes inside will combind the chipID. e.g. for a chipid=0x00CC670D, the register values read out are
@0x3FF00054 = 0x0200CC67 @0x3FF00050 = 0x0DBB0000
There is software toolkit which performs above operation to read out the module info include chip id and flash id info etc. Just press the button "MOD INFO" you will get the chip id etc. And some other interesting features as well. You may download it for a trial reference.
downloaded from outside China: https://github.com/Anylinkin/ESP8266/tr ... /S8266WIFI
or downloaded from inside China: http://pan.baidu.com/s/1pJy3bUN
Who is online
Users browsing this forum: No registered users and 294 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.