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.

Trouble Halting Target CPU

 This image shows a 4 layers board connected to PC via USB/RS485 and debugged with shown interface at work.

I always get this error when trying to stop debugger:

MSP430: Trouble Halting Target CPU: Internal error

If firmware runs in main() debugger works; if programmed and the interface is detached, board works properly.

Maybe RS485 is disturbing interface ? 2.2nF is across RST/NMI/SBWTDIO and 27pF is on pin TEST/SBWTCK, and 1uF on +.3.3v of Jtag 5 pins connector.

Enzo

 

**Attention** This is a public forum