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/TMS320F28377S: program will not fit error message and compiler mis-match error

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

I am posting this for my customer:

 

I am trying to build the Buck_VMC_F2837xS project but it is throwing me an error  stating “program will not fit”. The error is on line 115 of F2837xS_FLASH_DP_BoosterPack.CMD file.

It also shows the following warnings:

 

“This project was created using a version of compiler that is not currently installed - 6.4.2 [C2000]. Another version of the compiler will be used during build - 18.1.2.LTS.”

“This project was created using a version of XDCtools that is not currently installed: 3.31.0.22_core_eng. Please install the XDCtools of this version, or migrate the project to one of the supported versions.”

I used power suite (from control suite) to access the example project and CCS (Version: 8.1.0.00011) to compile it. The Buck_VMC-Main.c  file is created on June 2015 and version is 1.0

 

Please advise possible solutions for these roadblocks.


  • Mark,

    Mark Pearson said:

    “This project was created using a version of compiler that is not currently installed - 6.4.2 [C2000]. Another version of the compiler will be used during build - 18.1.2.LTS.”

    “This project was created using a version of XDCtools that is not currently installed: 3.31.0.22_core_eng. Please install the XDCtools of this version, or migrate the project to one of the supported versions.”

    These messages are warnings that inform the user that the project was created with older versions of compiler and XDCtools and that the newer versions available in CCS 8.1 are the ones used for the build. This warning, in itself, is usually not an issue.

    However, in this case the compiler version change has resulted in the code size increasing just enough to push it over the size limits of the memory region it is allocated to. 

    There are two ways to address this:

    1) Install and build with compiler tools v6.4.2 that the original project was created with. This page describes how to install and use a different version of the compiler. After installing that compiler version, reimport the project (into a new workspace) and it should set it to build with 6.4.2 (without errors).

    2) If the user has a need/preference to stay with the newer compiler version that comes with CCS 8.1, they can edit the following line in the F2837xS_FLASH_DP_BoosterPack.CMD file:

       .text             : >> FLASHB | FLASHC     PAGE = 0

    Note the > is changed to >>
    This tells the linker that it is ok to split the .text section into the two flash memory regions, and that will address the "program will not fit" message.