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.

TMS570LC4357: Breakpoints DO NOT work

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Basic question here. I've configured my project and utilized the debug symbol to perform an upload, the flash is erased and the upload is performed but the program never breaks at the main as it should (I'm pretty experienced at programming).

In the debug tab, I only have the Square STOP symbol but don't have the stop or continue features. What gives?

Anyway I'm programming a TMS570lc4357 (TMS570lc43XX), and using an XDS200 device). I've cross checked the debug configuration with a CCS instantiation on an older laptop and I'm able to program the target with no issues.

I've used CCS 11 and 9...

What am I missing?

  • What is the status of "RUN" button?

    If the RUN button is greyed, you can press the RESUME button to stop the code execution to check if the code is aborted (data abort, prefetch abort, etc), or if the code is in a while(1) loop.

    If there is any sever error (ESM group 3), the code gets stuck in startup.c:

    /* Check if there were ESM group3 errors during power-up.
    * These could occur during eFuse auto-load or during reads from flash OTP
    * during power-up. Device operation is not reliable and not recommended
    * in this case. */
    if ((esmREG->SR1[2]) != 0U)
    {
    esmGroup3Notification(esmREG,esmREG->SR1[2]);
    }

  • In the Debug view try selecting the line for "Texas Instruments XDS2xx USB Debug Probe/CortexR5 (Running)". I think that could enable other buttons, to allow you to pause the program to see what address the Program Counter is at.

  • I'm stuck at address 0x00...I'm confused as to why this does not work out-of-the-box...never had this issue before...

  • Thanks QJ Wang and Chester Gillion for your responses. I was able to resolve/avoid the issues by using Halcogen to generate source/include files and then importing those files into my project. This is likely standard operating procedure for the TMS570LC43XX devices (and all other safety MCUs). Anyway I surmise the projects will not program out-of-the box WITHOUT the use of halcogen. To side-step halcogen would likely require additional configuration that at this moment is not worth my time or effort.

    Thank you all!