In the Sitara manual, the PRM_RSTST register is documented as:
PRM_RSTST Register (offset = A8h) [reset = 1h]
PRM_RSTST is shown in Figure 2-183 and described in Table 2-197.
This register logs the global reset sources...
In particular, bit 3 as:
3 MPU_WDT_RST R/W 0h MPU Watchdog timer reset event. This is a source of global WARM
reset. [warm reset insensitive]
0 = 0x0 : No MPU watchdog reset.
1 = 0x1 : MPU wachtdog reset has occurred.
With our Sitara processors, this register reads back as 0x00000009 all the time, where bit 3 indicates that a watchdog reset has occurred.
I'm looking for a way to detect on bootup whether a watchdog reset occurred previously. The PRM_RSTST register seemed to be the best way to detect the reset source, but it is not reporting the value I would expect, since Bit 3 is ALWAYS ON. Is there a way to make this work correctly ?