Greetings,
First, thank you for your help.
We are doing embedded design with the MSP430FR series. We are using the Code Composer 5.5.0 IDE to develop and debug our code.
We are having a problem setting breakpoints where we want them. Sometimes we are able to set breakpoints exactly where we want, and when we compile and download the program to debug, the breakpoint is where we put it. Other times when we set a breakpoint and download to debug, it moves location to the end of a function (e.g. we set a breakpoint somewhere in main(), and when we compile and download, the breakpoint is moved to the end of main()). Also, it seems that when this is happening, we are initially setting a S/W breakpoint, but after we click the debug button and it downloads, when we look at the breakpoint in the Breakpoint window, the S/W breakpoint has turned into a H/W breakpoint. We are not sure what we are doing to cause this. We have tried turning the optimizations of in the MSP430 compiler, but this does not help. Lastly, after battling with this, something will happen and we will again be able to put breakpoints where we want them.
Any help/guidance would be greatly appreciated. Thank you.
Cheers,
Erik