jaewhite.blogg.se

Watchdog timer
Watchdog timer









However, it does not guard against the more problematic things like deadlock caused by accessing a mutex from multiple threads with thread swapping disabled, infinite loop with interrupts disabled, or an unpredictable hang caused by memory corruption.

watchdog timer

It theoretically can help when user application enters an infinite loop. This could be the device locking or or freezing due to a bug in code, accessing a shared resource incorrectly, corrupting memory, and other causes.ĭevice OS includes a software-based watchdog, ApplicationWatchdog, that is based on a FreeRTOS thread.

watchdog timer

IntroductionĪ Watchdog Timer is designed to rescue your device should an unexpected problem prevent code from running. You can download the files associated with this app note as a zip file.











Watchdog timer