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.

CCS/TMS320F280200: XDS510 + CCSV5 error during debug - 1066

Part Number: TMS320F280200

Tool/software: Code Composer Studio

Team, customer is unable to run to a breakpoint. This test is on a custom board, powered locally and not through the JTAG emulator. JTAG emulator is XDS510 and they are using the older CCS V5.1.0.09000.

I believe ESTOP0 is a software breakpoint instruction for the C28x. EDIT: the memory location referenced in the image below is part of the "reserved" section of flash memory for this variant. Not sure what would be causing execution from there.

The code on the Piccolo has a while loop that waits on receiving a command from the UART, and calls the corresponding function when a valid command is issued. After flashing code onto the Piccolo, *without the debugger*, customer is able to send UART commands to the MCU – and everything runs fine, and we get the expected output.

 

However, when we connect the JTAG debug emulator – (we use the Spectrum Digital XDS510 USB emulator) – and run the code, the code runs fine initially, when it waits for a command from the UART, and once we issue the command, even without setting breakpoints, we get an ESTOP0 error. We tried setting breakpoints at different parts of the code to see if a specific portion of code was causing this issue, but it seems to happen at different parts at different times.

 

For example, we were able to set a breakpoint at a particular line and get to that point consistently yesterday, and if we ran it beyond that point, we would get the ESTOP0 error. However, with the same setup, and with no code changes, this morning, we get the ESTOP0 error even before reaching that line.