Watchdog Design

Design or fix a watchdog so it recovers real hangs without masking them: feed it from exactly one place, only after every monitored task has checked in with a progress token inside the window, never from an ISR or a lone idle hook, set the timeout from measured worst-case loop time with a 2x to 3x margin and longer than the slowest legitimate blocking operation, use a window watchdog when running too fast is also a fault, confirm it cannot be disabled in the release build, and on reset persist cause and last check-in to enter safe mode after repeated resets. Use for "device hangs in the field", "watchdog reset loop", "where should I kick the watchdog", "it resets during flash erase". Not for finding the deadlock in RTOS firmware (rtos-concurrency-hunt), wake failures (sleep-wake-bug-hunt) or revert mechanics (ota-update-safety).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit bdac78d994

Frequently asked questions

npx get-skill add greenblacked/watchdog-design