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/MSP430FR6989: MSP430FR6989

Part Number: MSP430FR6989
Other Parts Discussed in Thread: MSP-EXP430FR6989

Tool/software: Code Composer Studio

Hi,

I'm working on the MSP-EXP430FR6989 LaunchPad Development Kit using the USB link for debugging my C program and I'm having trouble using breakpoints under Code Composer Studio V8.
Whenever I set a breakpoint on a line of my source code, it appears in the breapoint view window but the blue symbol next to the check box is crossed out.
When the source code is compiled and launched under the debugger, the program does not stop on the line of code (a simple variable assignment, placed in the part of the code that is always executed).
For information, I have unchecked the option "Enable ultra low debug power / LPMx.5 debug" in the properties of the project because I do not use this mode.

Question: to be able to use the breakpoints,is it mandatory to use a probe jtag?

Sincerely
  • Alban SIROT said:
    Whenever I set a breakpoint on a line of my source code, it appears in the breapoint view window but the blue symbol next to the check box is crossed out.

    Do you have optimization turned on for the project? If the debugger does not find any assembly code associated with that line of source code (due to the optimizer moving code around), then it will not be able to set a breakpoint. If the issue is related to optimization you should be able to get past it by lowering or disabling optimization (settings are under Project Properties->Build->Compiler->Optimization). Also try setting the breakpoint at other lines of code and/or at specific instructions in the disassembly view to help determine if it is a more systemic issue.

  • Alban SIROT said:
    Whenever I set a breakpoint on a line of my source code, it appears in the breapoint view window but the blue symbol next to the check box is crossed out.

    It looks like you have "Skip All Breakpoints" enabled - see https://e2e.ti.com/support/tools/ccs/f/81/p/214632/757880#757880

  • Hi Chester,

    Thank you very much. I didn't notice this checkbox on the toolbar.

    Now, I can debug my code efficiently.