Q: Can I disable the watchdog reset?

ESP_Luna
Posts: 32
Joined: Wed Jun 17, 2015 4:10 pm

Q: Can I disable the watchdog reset?

Postby ESP_Luna » Tue Jul 28, 2015 12:55 pm

Q: Can I disable the watchdog reset?
You can create functions of timer and call_back to replace while(1) loop in the non-OS SDK.
If the consecutive execution time of a piece of code exceeds 3.2s, you can disable the watchdog reset through the following methods:
  • Call the function of systerm_soft_wdt_stop() before executing this piece of code. It takes 6s from closing wdt to wdt hard trigger.
  • Execute watchdog feed several times, i.e., systerm_soft_wdt_feed().
  • After completing the execution, call the function of systerm_soft_wdt_restart().

Who is online

Users browsing this forum: No registered users and 1 guest