I am trying to use the WDCR.WDFLAG as an indication that a watchdog reset event happened. I latch this register into a memory variable in my code, and then display the contents on a serial console.
The problem is that bit7 NEVER CLEARS! It is always set as 1. The data sheet indicates that this bit is cleared at power up reset. IS this a BUG?
To test, I completely power off my board, and wait a minute to ensure it's completly discharged. I then power up, monitor the XRST pin for any state changes. XRST does not toggle, but the WDCR bit is set.
Tom