On Fri, 23 Apr 2004 07:15:02 -0400, <kbaud...@tampabay.rr.com> wrote:
Greetings Experts,
Is it possible to connect the debugger to a running application on a
MSP430,
such that the application is not reset?
I had the same problem. I didn't find a clean way to do this. But the
following works:
You need a second board with an identical MSP. It is sufficient to connect
JTAG and power pins only. You don't need the other
hardware from you application board. I'll call this "board 2" and your
real application board will be "board 1".
1. Connect the JTAG interface to board 2.
2. Start msp430-gdbproxy
3. Start msp430-gdb and type the following commands:
(gdb) tar r :2000
(gdb) cont
4. Now remove the JTAG connector from board 2 and connect it to board 1.
5. Now you should be able to debug your application without resetting it.
It would be better to be able to set the mcu-type with an gdbproxy
commandline parameter and make it work this way.
But this seems to be unimplemented (yet?).
Although this isn't a comfortable way to do this I hope it helps you.
Best regards,
Hermann