Return to Pattern Library
Reliability
Recover from a watchdog timeout
Requires the Temboo extension.
Platform

TI SimpleLink

Open in VS Code You can also find Device Loop Patterns in CCS. Search Temboo: Browse Device Loop Patterns in the command palette.
Use a watchdog to distinguish healthy execution from an intentionally unresponsive path and produce the configured recovery behavior.
Applies when
Use when introducing or validating watchdog protection in firmware, especially before relying on it for unattended fault recovery.
Show pattern details
Hide pattern details
Intent
Configure or reuse the application watchdog, demonstrate normal servicing during healthy operation, then trigger a controlled test condition that deliberately prevents servicing long enough to exercise the timeout and recovery path.
Expectation
Healthy execution does not trip the watchdog; the deliberate fault does; and after the timeout the device exhibits the configured recovery behavior and returns to a known running state when reset recovery is enabled.
Success criteria
No watchdog timeout occurs during the healthy window. The controlled fault causes the expected watchdog timeout within a reasonable margin of the configured timeout, and the configured recovery/reset behavior is observed without entering an unintended permanent reset loop.
How it is verified
Capture a healthy pre-fault interval, the deliberate fault trigger, evidence of the watchdog timeout, and post-timeout behavior. Prefer an explicit reset reason or watchdog diagnostic when the platform exposes one. A missing log stream by itself is not enough to prove successful recovery.