So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By facat
#69467 I develop a sensor with nodemcu kit. When my nodemcu goes into deep sleep, it occasionally resets.

Code to deep sleep.
Code: Select allnode.dsleep(15*60*1000*1e3, 4) --wake up after 15 minutes.


The reason is exception reset.
Code: Select all=node.bootreason()
2   2   28   1073798959   0   0   51   0


Here reset cause number is 28, which means Access to invalid address(1. Access to Cache after it is turned off 2. Wild pointers) by ESP8266 Reset Causes and Common Fatal Exception Causes.pdf

I program with lua, no pointer used. I have no idea how these reset cause occurs.