Script to read chip ID ?

hdrut
Posts: 25
Joined: Fri Feb 13, 2015 11:02 am
Location: Argentina

Script to read chip ID ?

Postby hdrut » Wed Sep 14, 2016 10:23 pm

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.

YimingLi

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

Who is online

Users browsing this forum: No registered users and 294 guests