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.

TMS320F280049C: Debug CLA (watch expression/variables and software breakpoint)

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Hello,

I'm trying to debug some FW that is running on the CLA (currently debugging on a LaunchPad). This is code that has been generated in Simulink and I've tried debugging it both in CCS11 and CCS12.

I've connected to the CLA, I've loaded the symbols and I can single step through the code.

However, although I see a list of variables and I can add watch expressions, I can't see the value of this expressions if the CLA is selected; I will only see them if the CPU is selected. Those variables are located on a local shared ram (LSRAM) which is been configured as CLA Data. The variable does update, however I need to select the CLA to advance the program counter and then select the CPU again to see the value. Is this normal? It definitely shouldn't.

The other problem I have is that I can't put a software debug (only __mdebugstop(); which requires to reload the code and won't flush the pipeline). From what I see in the MCU Technical Reference Manual, this is a type 2 CLA that should be fully debuggable. What do I need to do to make use of that feature?