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.

MSP430F5340: Wont run in Release

Part Number: MSP430F5340

Tool/software: CCS 12.0

My project runs flawlessly in DEBUG. But won't run as a RELEASE?

1) What's the difference? It seems to run fine as DEBUG.

2) I see two different project sub directories DEBUG and RELEASE. What are all those *.d files which seem to be duplicates of the *.c source files?

3) I assume I need to load the *.out file from the release sub directory to the hardware? (did that and it didn't work, debug *.out does work)

P.S. I am a printf debugger of 30+ years and this is why. Everytime I have used a sophisticated debugger on any embedded platform I have had these problems. I realize these debuggers have to embed their own code but I don't want to deal with that. My first embedded C projects in the mid 1980s were in Z80 STD buss systems using a DOS cross compiler and linker. There were no debuggers then so we made our own debug routines.

  • Hi, Andy

    1) What's the difference? It seems to run fine as DEBUG.

    There are differences. Debug will control MCU.

    2) I see two different project sub directories DEBUG and RELEASE. What are all those *.d files which seem to be duplicates of the *.c source files?

    Which folder? Do you mean MSP430 SDK? Please show me details.

    Normally, in CCS, you can choose build a new project: Project - New Project. Then choose the F5340 in Target. 

    3) I assume I need to load the *.out file from the release sub directory to the hardware? (did that and it didn't work, debug *.out does work)

    Do you set Reset and Run?

    Regards,

    Helic

**Attention** This is a public forum