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.

TMS320F28386D: Cannot set Breakpoint

Expert 2390 points
Part Number: TMS320F28386D


In some code line, breakpoint  cannot enable ?

How to check this ?

  • If there is no code associated at the specific point in the compiled code, it is not possible to add a breakpoint.

    A workaround that can be used in this instance to include the following line preceding the place where the breakpoint is desired.

    asm(" ESTOP0");

    Thanks.

  • But actually, these code can set breakpoint in TI example code.

    I got confused.

  • A breakpoint can only be added if there is a specific line of code associated with the line seen in the CCS editor view. In some cases, with compiler optimisations, there is no separate line corresponding to that location in the compiled code, in which the breakpoint functionality cannot be used as is. In such cases, you can go with the workaround mentioned above.

  • A breakpoint can only be added if there is a specific line of code associated with the line seen in the CCS editor view. In some cases, with compiler optimisations, there is no separate line corresponding to that location in the compiled code, in which the breakpoint functionality cannot be used as is. In such cases, you can go with the workaround mentioned above.