2015-04-13 2:42 AM
Hello,
I am currently trying to set up the Watchdog on my SPC560B board.Firstly, after enabling the watchdog and letting it time-out into a reset, it then enters SAFE mode and does not reset the program. RGM.DERD is set to 0 so the watchdog time-out should just reset the program from what I understand?Also, when trying to use the interrupt-then-reset option, the triggered interrupt generates an SE_ILLEGAL and I'm not sure why that is? I have set up the interrupts correctly from what I can tell, setting them up in a similar way to ones I have previously done.Any help greatly appreciated, thanks. #spc560b-watchdog-issues2015-04-13 9:46 AM
Hi Jack
I do know that when I booted the processor from Flash the SWT in its default state would constantly reset the board, until I disabled it using the script in UDE.Kevin2015-04-29 5:48 AM
Hello Jack ,
Did you solve your issue ? we disable the WD by using the following command/* SWT disabled.*/
SWT.SR.R = 0xC520;
SWT.SR.R = 0xD928;
SWT.CR.R = 0xFF00000A;