RE: How to obtain and save the return address inside an interrupt?

"[email protected] [msp430]" <[email protected]> 20 Jan 2015 18:20:34 -0800
Newsgroups gmane.comp.hardware.texas-instruments.msp430.discuss
Message-ID <[email protected]>
Thank you for all the suggestions. 

 I have tried the suggestions of using a break point at the reset vector. Unfortunately, the problem has not occurred while using the debugger.
 

 When my device is off the debugger and running on its own, then I do get a watchdog reset from time to time.
 

 What  I want to try next is to use the watchdog in timer mode, create an interrupt and inside the interrupt save the Stack Pointer. Once I understand how to read the stack, I can use the IAR intrinsic function:
 

 __get_SP_register() to get the Stack Pointer and then I will save it in flash.
 

 I will report back if I make this work.
 

 Thank you.