Hi,
I'm using ESP-IDF 5.2.1 with a DevKit C v4, ESP32-WROOM-32D board.
I am getting watchdog timer resets but I was expecting per documentation that the runtime would disable it before calling app_main() when the BOOTLOADER_WDT_DISABLE_IN_USER_CODE option is NOT set.
Also, calling rtc_wdt_disable() in app_main explicitly does not stop the resets.
Any ideas?
Thanks
Can't stop watchdog reset (devkit C v4, ESP32-WROOM-32D)
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: Can't stop watchdog reset (devkit C v4, ESP32-WROOM-32D)
The watchdog is there for a reason; rather than trying to kill it, you're generally better off figuring out why it's unhappy in the first place.
[Solved] Re: Can't stop watchdog reset (devkit C v4, ESP32-WROOM-32D)
OK, I figured out there is a separate "task watchdog", and was able to disable that in menuconfig: Component config -> ESP System Settings -> Enable Task Watchdog Timer (ESP_TASK_WDT_EN)
(The reason any of these watchdogs would fire is because I am in tight loops testing various functionality and it's pointless to explicitly reset them in the loop.)
(The reason any of these watchdogs would fire is because I am in tight loops testing various functionality and it's pointless to explicitly reset them in the loop.)
Who is online
Users browsing this forum: No registered users and 59 guests