Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By bighairyg
#47890 Hello,

A couple weeks ago I picked up a couple ESP-01 units to connect with Arduino Nanos for some projects I am putting together. After figuring out how to connect the two (and they work awesome!) I gave the command in the Arduino IDE serial monitor AT+RST to one of the modules. The red LED stayed lit, and the blue LED flickered a couple times but then stayed on constant. After that, no matter how I hook it up, it still comes on the same way, both red and blue LEDs constantly lit, and if I watch it in ESPlorer or the Arduino serial monitor, it never completes boot-up and just continuously spews garbage.

I did figure out a way to be able to flash firmware on it, using ESP8266 Download Tool v2.4. When I do, it shows an Efuse error and a CRC error, but the firmware always loads completely. Is this unit toast, or is there a way to re-burn the fuses like you can do with an Arduino? Any help would be greatly appreciated.

FYI: I am using a 5V-3.3V logic-level converter, as well as a LM1117 regulator coming off the 5V on the Arduino. The other ESP-01s work fine with this setup.
User avatar
By bighairyg
#47988 Everything I have tried, whether I use a resistor or not, GPIO2 to power or ground...I can get it into flash mode, and I get this same result every time:
Code: Select allload config ...
EFUSE_MODE: 1
load config ...
test label: Download Panel 1
self.num: 1
init finished
==============
_COM:  6
ESP_ROM_BAUD :  115200
EFUSE_MODE: 1
==============
test baudrate:  115200
test baudrate selection:   4
test label: Download Panel 2
self.num: 2
init finished
==============
_COM:  6
ESP_ROM_BAUD :  115200
EFUSE_MODE: 1
==============
test baudrate:  46080
test baudrate selection:   2
test label: Download Panel 3
self.num: 3
init finished
==============
_COM:  6
ESP_ROM_BAUD :  115200
EFUSE_MODE: 1
==============
test baudrate:  9600
test baudrate selection:   0
test label: Download Panel 4
self.num: 4
init finished
==============
_COM:  6
ESP_ROM_BAUD :  115200
EFUSE_MODE: 1
==============
test baudrate:  9600
test baudrate selection:   0
test label: Download Panel 5
self.num: 5
init finished
==============
_COM:  6
ESP_ROM_BAUD :  115200
EFUSE_MODE: 1
==============
test baudrate:  9600
test baudrate selection:   0
test label: Download Panel 6
self.num: 6
init finished
==============
_COM:  6
ESP_ROM_BAUD :  115200
EFUSE_MODE: 1
==============
test baudrate:  9600
test baudrate selection:   0
test label: Download Panel 7
self.num: 7
init finished
==============
_COM:  6
ESP_ROM_BAUD :  115200
EFUSE_MODE: 1
==============
test baudrate:  9600
test baudrate selection:   0
test label: Download Panel 8
self.num: 8
init finished
==============
_COM:  6
ESP_ROM_BAUD :  115200
EFUSE_MODE: 1
==============
test baudrate:  9600
test baudrate selection:   0
tout as adc
RF option applied...
(True, [])
test running : False
serial port opened
Connecting...
chip sync ok!
0x3ff00050: a6e10001
0x3ff00054: 0202dcb5
0x3ff00058: da44b0a2
0x3ff0005c: 0018ff74
EFUSE MODE : 1
reg0:a6e10001
reg1:0202dcb5
reg2:da44b0a2
reg3:0018ff74
check_err_0: 0b
check_err_1: 00
check_err_2: 01
check_err_3: 02
check_err_4: 0b
====================
EFUSE NORMAL MODE
====================
bit[1:0] error
=========================
CRC IN MODE 1:
crc_calc_res: 175
target crc val: 218
=========================
bit[119:96] crc error
=========================
CRC IN MODE 1:
crc_calc_res: 128
target crc val: 225
=========================
bit[47:24] crc warning
efuse warning found...



==================
EFUSE LOG:
======================
EFUSE LOG:
---------------
REG0:A6E10001
REG1:0202DCB5
REG2:da44b0a2
REG3:0018FF74
----------------
====================
EFUSE NORMAL MODE
====================
EFUSE VAL ERROR...
EFUSE CRC ERROR...
EFUSE VAL WARNING...
EFUSE CRC WARNING...

=================
reg2>>13: 5
=================
48bit mac
debug:
-----------------------
 18 ff 74 dc b5 a6
ID FOR XM: 0D A4 40 A2 00 2E 10 00
XM_ID: 0DA440A2002E1000
-----------------------
crc_efuse_4bit: 0
crc_calc_4bit: 8
48bit mac
MAC AP : 1A-FF-74-DC-B5-A6
MAC STA: 18-FF-74-DC-B5-A6
get mac res:  True
('tttest uuuuuuuuuuart : uart reg: ', 450)
(' baudrate: ', 115200)
get crystal: 25920000
head: 0 ;total: 0
erase size : 0
get flash id : 0x1e1440e0
 manufacturer_id: 0xe0

 device_id: 0x4014

vendor: 224
mode: 64
size: 20
mode: 0
size :  2
sel.freq: 26000000
tttttest crystal : 1
com closed

You can see about 2/3rds of the way down, it is showing an EFUSE VAL and CRC error and warning. I assume this is what is causing the problem. I don't have a problem flashing any firmware to it, but it does not respond (constant BLUE LED) when it is out of flash mode.

Here is a link to part of a YouTube video I uploaded showing the 'bad' module: https://youtu.be/QC8GpOXTeRg?t=600 Like I said, if I ground out GPIO0, I have no problem flashing firmware to it. Using ESPlorer, it throws a different error code depending on which firmware I have loaded, but it throws that error continuously (I assume the 'constant on' blue LED is due to the fact that it is constantly transmitting).