This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR5994: MSPDEBUG: How to implement the code example to attach to running target option provided in MSPDS manual

Part Number: MSP430FR5994


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.

**Attention** This is a public forum