AnsweredAssumed Answered

S12X: Does Reset Change the Stack Pointer?

Question asked by dave kellogg on Feb 19, 2013
Latest reply on Feb 22, 2013 by dave kellogg

Using S12XE processor, and trying to track down the source of an infrequent COP time-out.

 

I know that the COP timeout forces a reset.  What I'd like to do in the COP ISR is look back at the stack frame when the COP occured, particularly the PC.  Of course, this will work only if the SP 's value is not changed by the reset.

 

So, is the stack pointer unchanged across a COP-induced reset?

 

Thanks!!

Dave Kellogg

Outcomes