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/MSP430F5171: CCS V8 using up memory

Part Number: MSP430F5171

Tool/software: Code Composer Studio

Hello we need help please: 

“When the code is compiled with Code Composer Studio Compiler version 5.5.0.00077 the code fits into the 32K device with 6.5kB of flash memory free.

When the same code is compiled with Code Composer Studio Compiler version 8.2.0.00007 the code does not fits into the 32K device.

 

All settings seem to be the same.

 

Target processor – MSP430F5171

Optimization – Whole Program Optimization”

 

Any help would be much appreciated

Regards

Linda

  • Linda,

    CCS 5.5 and CCS 8.2 come with different versions of the MSP430 compiler and it is possible for different versions of the compiler to generate slightly different code sizes. If their project code size was already close to the limit of available of memory in CCS 5.5, then it is possible that the code generated by the compiler in CCS 8.2 pushed it over the limit. 

    There are a couple of options to resolve this:

    1) You can configure CCS 8.2 to use the same version of compiler tools that was used with CCS 5.5. Please see this Compiler Installation and Selection page for details: http://software-dl.ti.com/ccs/esd/documents/ccs_compiler-installation-selection.html

    2) A better long term option would be to stay with the compiler (newer) that comes with CCS 8.2. In this case, to get the project to build successfully, you would need to look at either modifying the code (reducing code size), and/or try out different optimization settings to get the code to fit within the available memory. 

    Hope this helps.