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.

TMS320F28377S: Setting CLA Breakpoints and GPIO Access

Part Number: TMS320F28377S

First time using the CLA. 

I have the CLA set up properly in my application and I'm running code (confirmed), but I can't figure out how to set a breakpoint.  I've included the __mdebugstop(); command, and I think I need to connect the debugger to the CLA.  That's the part I can't figure out.  How specifically do I connect the debugger to the CLA?  Are there project settings, etc..

Also, can the CLA access the GPIO data registers?  For test and timing purposes I'm trying to toggle GPIO17 using the GPASET and GPACLEAR registers, but the code does not appear to be executing.

Thanks in advance for any assistance.

  • Hi,

    You are correct. For the MDEBUGSTOP instruction to halt the CPU, you need to connect the CLA to the debugger. Right click the CLA in the Debug window after launching your target configuration file and select Connect CPU. Or you can left click on the CLA and click the Connect button towards the top of the CCS window.

    CLA only has access to GPIO data registers.

    sal