Chat freely about anything...

User avatar
By ns130291
#11868 Hi,

I have a ESP-01 board together with a DHT11 temperature and humidity sensor running. Every 5 min it wakes up, takes a reading and sends it to my server. Normally it wakes up from deep sleep with the following bootloader output:
Code: Select all ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 28076, room 16
tail 12
chksum 0x84
ho 0 tail 12 room 4
load 0x3ffe8000, len 2720, room 12
tail 4
chksum 0x8e
load 0x3ffe8aa0, len 12992, room 4
tail 12
chksum 0xf2
csum 0xf2


But after some time running it wakes up with the following output and never continues:
Code: Select all ets Jan  8 2013,rst cause:5, boot mode:(3,6)

ets_main.c


Does anybody know how to solve this problem or what the cause is?
Is there somewhere a documentation about the rst cause numbers?
User avatar
By Mikejstb
#11897 I'm seeing the same thing except mine never returns from deep sleep properly.
I just now soldered the little wire to enable DS, the only response I've ever seen when the DS timer completes is the mode 5 you describe.
Hopefully someone will respond with why this happens, how to correct it, and as you say a list of what the RST numbers mean.
User avatar
By Mikejstb
#11898 a quick reply to my reply - tried a different modded -01 and it wakes up properly, at least the dozen or so times I've tried.
Went back to -01 #1 and it never wakes up properly.
my -01 which doesn't wake up has nothing connected to either gpio pin. I've tried with and without a 10K resistor from RST to VCC, no difference.
The one that works has a DS18B20 connected to GPIO 0, no pullup on RST.
User avatar
By Jeckert
#27592 I ran into a similar issue with a ESP-03. It has been waking up every 2 min and sending if my garage doors are open or closed for about 6 months and I have had other issues, I have updated it a few times trying different loads. But last week it started getting
"ets Jan 8 2013,rst cause:5, boot mode:(3,7)
ets_main.c "
when it wakes up and sits there until I bounce the power. In the past when died all together I flashed it back to AT and then back to modemcu and that helped, maybe I will try that again.