CLK-17 External watchdog with no way to disable it for debugging¶
| Severity | Status | Implementation |
|---|---|---|
| suggestion | planned | mid, depends on NET-7 |
Looks at. Watchdog parts, their WDI pins.
What it catches. An external watchdog (supervisor with WDI) whose kick input cannot be disconnected or overridden with a jumper, a DNP resistor or a switch.
Why it matters. A debugger halt stops the kicks; the watchdog resets the target mid-debug session, and step-through debugging is impossible. Some parts disable the watchdog when WDI floats (TPS3823 §7.3.4), which makes a DNP series resistor on WDI a clean switch.
Example. A TPS3823 with WDI hard-wired to an MCU GPIO: every breakpoint longer than its 1.6 s timeout resets the board. A 0 Ω in series, DNP for debug builds, disables the watchdog.
How to check. Watchdog-role parts (NET-7) whose WDI connects to the controller without a resistor, jumper or connector on the way.
Fix. A 0 Ω or jumper in the WDI line (on parts that disable on high-Z), or an enable pin on a jumper.
References. TPS3823 §7.3.4; Wikipedia, Watchdog timer.