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.

code size CCS v5 = 2.2 x (code size CCS v4)

Other Parts Discussed in Thread: MSP430F235

Hi,

I have some troubles with the CCS v5 (v5.2.1.00018). My code for a MSP430F235 takes 7595 flash bytes with CCS v4 (CCS Core Edition v4.2.1.00004), and the same code takes 16694 flash bytes with CCS V5, despite optimization (4, 0).... So I cannot upload the firmware on my MSP430 (16K max....), and other "funny" thing, I can no more use my FET430 with CCS v4 because of the update of the probe done with CCS v5. Very nice... I have already cut  unused code, and now I am totally stuck.

Please help !

Peter 

  • Peter,

    When you tried with CCSv5, did you migrate your CCSv4 project over to v5 or did you create a new project in CCSv5 and add your source files to it? The reason I ask is because in CCS 5.2.1 when you create a new MSP430 project the project is set for EABI mode, which is a different format than the default (COFF ABI) that was used in CCSv4. This may cause the code size to increase and may need some adjusting of build options to reduce the code size.

    I would suggest checking your project properties in CCSv5 and make sure that the "Output format" setitng is set to "legacy COFF". Then rebuild and check if the code size improves. If this still is not within the range you are expecting you could also set your project to use an older version of the compiler tools (such as 3.3.x, which was the version in CCSv4) and rebuild. The process to have CCS detect and use a different version of the compiler tools is described here: http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection

    peter58802 said:
    I can no more use my FET430 with CCS v4 because of the update of the probe done with CCS v5

    You can downgrade back to the older dll so you can use it again with CCSv4. Please see this wiki page for details: http://processors.wiki.ti.com/index.php/MSPDS_Debugger_Up-_and_Downgrade

     

  • Thanks a lot !

    With the "coffabi" option I have now 9570 bytes. It is still more than what CSS v4 did, but it allows me to go forward. I don't know what is the interest of the EABI mode...

    I didn't try the possibility to use another compiler or the downgrade of the debug probe, but now I know that it is possible, I keep it in mind.

    thank you.

    Best regards,

    Peter