Watchdog
-
Is there a hw watchdog implemented?
-
Hi @bmarkus,
In the LoPy, the watchdog is not implemented. Only the WiPy1 has it (see documentation) -
Thanks. Is it due to the ESP32 hw or just missing in current fw and can be expected at a later time?
-
It is only missing in the firmware and it's definitely on the task list to implement. Keep an eye uit for it in the next firmware releases.
-
-
It seems like the watchdog is being used by the internal threading that is managing the FTP server and WLAN connections.
In my recent encounter with the watchdog, I found that if I created a couple threads, then had my main thread loop while true and do some extensive exception handling, the watch dog timer would not get serviced and the CPU would halt.
Still trying to figure out more about this, but the watchdog is most definitely present on the LoPy. Just perhaps not accessible to us yet.
It would be nice if we could configure the watch dog to reset the device as opposed to halting the CPU.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login