PM Standard - HW Watchdog issue...


Author Message
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 602
Posted: 02:16pm 06 Oct 2025      

I haven't played with the newer MMbasic for the RP2040 still doing water controllers.

now sure how to read/write these registers.

Watchdog Reset:
A hardware-based reset that can be triggered by the watchdog timer expiring or by directly setting a trigger bit.

Scratch Registers:
The watchdog has eight scratch registers that retain their values across resets, which can be used for advanced debugging and booting.

Reason Register:
A register that indicates the cause of the last reset, allowing the system to determine if it was a watchdog-induced reset.

Control Register:
Controls the enabling and triggering of the watchdog timer.

hope this is of use
Quazee137
Edited 2025-10-07 00:17 by Quazee137