intermittent failure to wakeup from deepsleep

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
devnull
Posts: 344
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

intermittent failure to wakeup from deepsleep

Post by devnull » Tue Apr 03, 2018 3:44 am

I have a mqtt device that sleeps for an hour, wakes up, reads sensors, sends data an sleeps again.

But once in a while it does not wakeup properly until reset is pressed.

I have noticed that the debug info is different and much shorter when this happens:

Normal Wakeup

Code: Select all

rll��|�l�|�l�b|����r�b�b��nn�lnn���bp��lrlrlp�n��lbn�|�ll��b��nn�l��l`�nnl`nr���n��`p�n�r�����bn�|lb��nn�l`�nnl`nr���nr�l`p�n�r�������bn�|��b��nn�l`�nnl`nr���n��`r��n��`�l��|��rrnb��l�b�lb쌜���lb�lrlll��|��rrnb��ll��b�b 쌜��bb��lrl�l��|��rrnb��l��b�b쌜��b�lbl����n�r��n|�llll`��r�l�l�l`��r�l�l�l`��r�l���ll`rl��rl���b��b�bbr�rb��n�nn�l��l�l��ll������l�n����bll�rp���bl�brlrlr�n����b���l�l��l�lb�b��n����b���l�l��l�lbl�l��|��rrnb��l��b�b쌜��|�lbllbl��ln�l`��ln�prl�l��|��rrnb��l��p�b�l��#5 ets_task(40100130, 3, 3fff837c, 4)
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt 
Failed Wakeup

Code: Select all

rll��|�l�|�l�b|����r�bb��nn�lnn���bp��lrlrl��nr|�n�n��r���`�r�n�b�nbp
Has anyone else encountered this and any suggestions on how to find cause & rectify ?

I have reduced the sleep time to 1 minute to be able to see this sooner, for debugging.

ad525
Posts: 9
Joined: Tue Oct 03, 2017 12:09 pm

Re: intermittent failure to wakeup from deepsleep

Post by ad525 » Wed Apr 04, 2018 6:51 pm

Please post the code and also the schematic, if you can.

Post Reply