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/TM4C123FH6PM: Application crashes if use Release mode

Part Number: TM4C123FH6PM


Tool/software: Code Composer Studio

Hello everyone,

Currently I'm using CCS version 6.1.0 to compile code for TM4C123FH6PM MCU. Everything is working as expected when use configuration Debug; however, if I change the configuration to Release for the production then my application code will not work correctly as in Debug mode anymore. I've tried to set the project properties exactly as in Debug mode but the result is still the same. I've looked around and found that this was a compiler problem as I'm using compiler version 5.2.9.

Lately, I've download newer version of CCS  9.0 and tried to build the project with the new CCS but it failed to build with error # 87 even I tried to set everything the same as it's in version 6.1.0. One thing I noticed was the CG_TOOL_ROOT variable does not exist in version 9.0. I tried to create it but CCS will not take it.

Is there any document or user guide to help setting up the CCS available so that I can follow? I don't know how to get rid of the error code. I think this is a linker error code not the compiler error code but don't know how to fix it.

Any suggestions/advise will be greatly appreciated. Thank you in advance and have a great day.

Best Regards,

TLN

  • Hello,

    TheLam Nguyen said:
    it failed to build with error # 87 even I tried to set everything the same as it's in version 6.1.0.

    Can you provide the full error message as it appears in the build console? 

    Thanks

    ki

  • Hi Ki,

    Thank you for taking time to respond to my post. It's quite embarrassing that after update my java and reboot my machine, I was able to rebuild my project without errors now. I've not had chance to test my code with either Debug or Release configuration yet. But at least I was able to build the project without any errors. 

    Thank you and have a great weekend.

    Best Regards,

    TLN 

  • Ok, glad to hear the build is successful now. Sometimes a good ol' reboot is the cure :)

    Thanks for the update

    ki