Sir,
I wanted to monitor CPU reset on flash program load. Im monitoring SysCtrlRegs.WDCR regiter 7th bit (WDFLAG) to check for Watchdog reset. If not Im assuming POR/ BOR as XRS is not in use.
When I erase flash and load the above WDFLAG monitoring works. But when I do POR it isnt working. On POR WDFLAG remains 1.
Please guide.