AnsweredAssumed Answered

Detection of stack overflow for HCS08 family

Question asked by prasad udawant on Aug 24, 2017
Latest reply on Aug 28, 2017 by Edward Karpicz


I am developing code for MC9SG8S08 microcontroller from HCS08 family. I want to verify that stack is not getting overflowed. I have some of following question w.r.t. stack overflow

1)What is good verification method for that?How to detect stack is not getting overflowed?

2)If stack get  overflow will it MC9SG8S08  cpu generate reset(I couldn't find anything in datasheet about this)?Will be there any indication for that from CPU?



Prasad S Udawant