The use of the ESP8266 in the world of IoT
User avatar
By Philbot
#67271 It's now 2017 and so this problem has been around for 2+ years.

I can replicate the problem as stated... deepsleep runs normally on an Adafruit Huzzuh for a while (minutes, hoyrs, days) and then for some reason, when it comes out of deep-sleep, it enters a mode that "looks" like it's in upload mode (because the LED is half on) but it neither accepts an upload, NOR will it run again just by pressing reset.

I initially thought this was a case of a bard board, because when I replaced the Huzzuh, it stopped failing, but several weeks later it's now doing it again.

It's almost as if the Deep-Sleep function is effected by the age of overall runtime of the ESP8266 module.
ie: the more times it's run, the more likely it is to fail next time. Perhaps a FLASH wearing out issue that makes deep-sleep wake up oddly.

Extremely frustrating, and the probably reason why no-one has released a reliable low power product based on the ESP8266

More info: Normally my code starts up as follows (if I set the monitor baud to 74880)

etc Jan 8 201#,rst Cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
Csum 0x2d

But once the failure occurs, each time I press reset, I only get:

etc Jan 8 201#,rst Cause:2, boot mode:(3,6)

etc Jan 8 201#,rst Cause:2, boot mode:(3,6)

This is NOT my code..... It's in the firmware.