esp32 interrupt timer problem #9926
Unanswered
bristol406
asked this question in
Using MicroPython
Replies: 1 comment 2 replies
-
You need to feed the watchdog from some periodic function within your program. There is no short way (like the timer) around this.
Note also that a watchdog is also not a replacement for proper error handling. Most, if not all "When the program fails" (whatever this means) conditions should be handled by your software. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am running an esp32 with a hardware watchdog timer which performs a reset if the watchdog board doesn't receive a pulse from the program within 30s. I am using timer 0 to kick the watchdog every 10s by sending a pulse on GPIO pin. Everything seemed to be fine initially but I discovered that when the program fails the interrupt timer is still running and the watchdog is still receiving the keepalives. Is there any way around this or an alternative solution to my problem ?
Beta Was this translation helpful? Give feedback.
All reactions