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/MSP430FR2355: Hardware breakpoint

Part Number: MSP430FR2355


Tool/software: Code Composer Studio

Hello.

I'm working on a code for UART communication on MSP430FR2355. To check the data changing dynamically, i"m using a Hardware breakpoint with  configuration "Refresh all windows". 

I'm confused with the exact time to apply the breakpoint:

1.When i have written the program

2.When i have burnt/debugged the program on mirocontroller.

3.When i have Run the program after burning.

Please tell me when to apply breakpoint so that it works and doesn't throws any error.

Thanks in advance.

  • Hello, 

    answer is: 

    4. When you start a Run session in a Debugging mode. 

    I Imagine that after some source code modifications some HWBPs could be unapplicale/unresolved and deactivated.

  • I think Maneesh's #2 is similar to Tomasz's #4. Basically you want to set your breakpoint after you load/flash the program, but before you run.

    Note that using a HW breakpoint to refresh your views will be intrusive to your running program (it will halt the program every time it is reached so that it can read memory to refresh the views). Depending on how often it reaches the breakpoint, this can have quite an impact on real-time performance.

    Thanks
    ki