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/CC3220SF-LAUNCHXL: Code composer studio isn't running the correct code

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3220SF

Tool/software: Code Composer Studio

Hey guys,

I'm using code composer studio v10.1.0.00010 to program a CC3220SF launchpad using the onboard XDS programmer to debug. I am also using a makefile, which is probably relevant to this problem.

For some reason, when I try to debug Code Composer Studio is completely confused as to where any of the code is. It thinks the first line in main is a comment that is outside of the main function and as I step through it seems to just go through random lines of code, some of them are completely blank even. If I just hit run, the code does not seem to run, as I am trying to look at an I2C bus using a Saleae and it isn't seeing any transactions. If I try to insert a breakpoint it complains that there is no code where that breakpoint exists. I'm not quite sure what happened, as it was running perfectly fine all day, then, without even changing the code or anything whatsoever, it just suddenly started doing this.

I did have a similar unresolved issue a while back where the makefile only builds if I force a build (using ctrl+b). If I modify the code then hit debug, it tries to make the makefile but incorrectly thinks that there is nothing to be done. Not sure if this is related, but this is a more minor issue as I can still build using ctrl+b, but the other issue has completely prevented me from debugging. I've tried restarting code composer, restarting my computer, and reinstalling code composer to no avail so far.

Any advice would be appreciated, this is also fairly urgent as I'm at the tail end of a sprint and can't do any work without being able to debug.

Thanks in advance,

Charles