Other Parts Discussed in Thread: TMS320F2808
My target is the TMS320F2808 which has a WDFLAG bit in the WDCR register that is (according to my interpretation of the System Control and Interrupts Reference Guide) a neat way to check at start up if there's been a watchdog timeout.
I put an infinite loop into my code such that at the 5-sec mark, the watchdog times out. I also put some code into Main.c that checks the WDFLAG bit and alerts me if it's been set. Thereafter, I clear the WDFLAG by writing a zero to it. Every 5 sec., my program resets, but I am never alerted that WDFLAG is set.
Should this basic strategy be expected to work?