Robert Zeff

MC9S08 SRS / watchdog problem

Discussion created by Robert Zeff on Dec 8, 2010
Latest reply on Dec 9, 2010 by Mark Hotchkiss

Hi,

 

I  have COP enabled.  If I put the program into a loop without a watchdog reset, the processor resets as expected.

But the SRS register alomost always is clear.  Sometimes the PIN bit is set, sometimes the COP bit is set, sometimes POR bit is set.  Most of the time the register is clear.  If I debug, and cause a watchdog timeout, the SRS_COP is set.

 

I just power up the project and I got a SRS_POR.  Then I reset the processor by the reset pin and got a SPS_POR.

 

Goofy as hell.  any ideas?

 

Thanks,

-

Robert

Outcomes