MSPDebugStack Developer's Guide SLAU656B provides details about connecting a running target to debugger to enable debugging of device without reset. I followed the procedure detailed in Section 3.2 and I failed to enable a connection. When I call MSP430_Initialize again (as mentioned in Fig 4) I get a segmentation fault.
I first started with starting a debug session followed by the steps to detach from debugger and restart the device, all in one C code. It's not clear to when should the physical JTAG connection be made or disconnected and when should external Vcc supply be supplied. If someone one could give a detailed explanation of the exact steps to follow to attach to a running target., it'll be of great help.
After getting this setting to work, I don't understand how to make mspdebug work in this setting to read and manipulate memory. Currently I connect to the device using "mspdebug tilib -d /dev/ttyACM0".
Any help would be appreciated.
Thank you.
