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.

CODECOMPOSER: CCS does not start in main when debugging for new project

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: MSP430FR5994

Tool/software:

Hi,

I have created a new project using Code Composer v12.7 and for some reason am unable to start the program in debug mode such that it waits at main for me to press "start" like my other projects. Reading the MCU memory, I can see that the micro has in fact been programmed, but i am unable to step through code or set breakpoints to debug. If I press "connect to running target" after I have programmed the device, it connects but breaks in boot.c here:

Stepping through this enters disassembly code.

I am using an MSP430FR5994 MCU, and if I program another project onto that micro I am able to step through code as expected. I've tried going through my debug options and modifying some of the settings as suggested by other similar problems but have had no luck in being able to step through code. My settings:

I've taken a look at my other project settings too and copied them to my current project but the same thing keeps happening.

  • I spent a good portion of my day creating a new project environment from scratch. Really frustrating, but that seemed to have got it working correctly. No idea what the issue was here.