Re: How to obtain and save the return address inside an interrupt?
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.discuss |
|---|---|
| Message-ID | <[email protected]> |
Another way to do this (examine the stack, check the value of SP and check ... ) in IAR -- you should do: - menu: Project->Options->Debugger-> uncheck <Run to> box - hit Download and Debug - in the Disassembly window set a breakpoint on the green line (under __program_start symbol) - hit Go and set the conditions for reset - the debugger will stop the MSP at the very first instruction after reset and you can then examine whatever you consider to help you Hope this helps