Skip to content

machine.reset_cause 2 #17159

Answered by Josverl
konomikitten asked this question in ESP8266
Apr 19, 2025 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

The reset_cause value of 2 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:

  1. Check your code for any long-running loops or blocking operations that might prevent the watchdog timer from being reset.
  2. Use machine.WDT() in MicroPython to manage the watchdog timer explicitly, if needed.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@konomikitten
Comment options

@Josverl
Comment options

@Josverl
Comment options

@konomikitten
Comment options

@Josverl
Comment options

Answer selected by konomikitten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy