This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Watchdog Trip/Capture Stack

I am looking for help in capturing and analyzing a C161 stack upon a watchdog trip. Since the watchdog trip resets the processor, I have been assuming I need to use assembly in my startup file which copies the stack to my desired location prior to initialization. Can anyone confirm this and does anyone have any samples of doing this? Also, does anyone know if I am able to determine what the stack pointer was when the watchdog trip occurred?

Thanks.