0 votes
in ESPaper by (120 points)
Why does my 2.9″ ESPaper Lite (just bought, on Amazon) hangs after sending this message upon waking up:

ets Jan  8 2013,rst cause:5, boot mode:(1,6)

ets_main.c

I found this out after realizing the weather station sample program wasn't updating after displaying once. ie. it seemed to hang after waking up. The same behavior occurred when I flashed a bare bones "wake up after 10 seconds" program, monitoring the ESP8266 serial output.

I've read this may be due to a hardware issue with the board? Can someonehelp me figure this out?
by (19.9k points)
"cause:5" simply means that the device woke up from deep sleep. There's some documentation on those values here https://nodemcu.readthedocs.io/en/latest/modules/node/#nodebootreason and here http://iot-bits.com/esp8266/esp8266-reset-causes-rst-cause/ (among others).

Can you please document all the flash settings from your IDE. Tools > Board / Flash Size / etc.

Also, please try a complete reset when you flash the program: Tools > Erase Flash > All Flash Contents

How are you powering the module?
by (120 points)
edited by
Flash mode: QIO
Flash size: 2M(1M)
Flash frequency: 40MHz

I've powered it using the programmer and direct usb, separately. I've tried using the All Flash Contents option with no avail.

Also an aside, everytime the program is run after I manually reset, the first GET request always fail. In other words, the current weather request always return -1. As a temporary fix, I duplicated the current weather request, and was able to get subsequent requests to work (200).
by (120 points)
UPDATE, in case anyone has the same problem:

pin 17 (IO16), was not properly soldered.  Resoldering the pin resolved the wake-hang issue.
by (19.9k points)
Thanks for inspecting the solder joints. Checking GPIO16 would have been the next thing I'd have asked you to do as it's essential for deep sleep.

Can you please report the current issue in a new question and provide the redacted serial console log (SSID / pw). Also, please make sure you're on ESP8266 Arduino Core 2.4.2 and the latest version of all the libraries as per our documentation.

Please log in or register to answer this question.

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.

https://thingpulse.com

...