machine.reset_cause 2 #17159
Answered
by
Josverl
konomikitten
asked this question in
ESP8266
machine.reset_cause 2
#17159
-
I keep getting reset_cause of 2 from one of my boards, does anyone know what this means? It's not defined in any of the reset cause constants.
|
Beta Was this translation helpful? Give feedback.
Answered by
Josverl
Apr 19, 2025
Replies: 1 comment 5 replies
-
To troubleshoot:
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
konomikitten
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thereset_cause
value of2
on your LOLIN D1 MINI with ESP8266 typically indicates a watchdog reset.edit : this is not correct
This happens when the system's watchdog timer detects that the program is not running as expected, possibly due to an infinite loop, blocking code, or other issues causing the system to hang.
To troubleshoot:
machine.WDT()
in MicroPython to manage the watchdog timer explicitly, if needed.