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/TMS320F28069: TMS320F28069

Part Number: TMS320F28069


Tool/software: Code Composer Studio

Hello all,

I had updated CCS7 to CCS8 und I become the follows

<Linking>
"../F2806x_common/cmd/F28069_ba_ctrl.cmd", line 127: error: program will not
   fit into available memory.  placement with alignment/blocking fails for
   section ".text" size 0x3ff0 page 0.  Available memory ranges:
   FLASHA       size: 0x3f80       unused: 0x3f80       max hole: 0x3f80    
error: errors encountered during linking; "BA_CTRL_PMSM_V53_0-Flash.out" not
   built
 
>> Compilation failure
makefile:177: recipe for target 'BA_CTRL_PMSM_V53_0-Flash.out' failed
gmake: *** [BA_CTRL_PMSM_V53_0-Flash.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

With a other PC the Compilation works fine with the seem linker-comand-file.

Regards

Gerfried

  • The error is saying that the .text section (size 0x3ff0) is too large to fit into the available memory (0x3f80). If the same project with same linker command file built without errors in CCSv7, perhaps it was using a different version of the compiler that produced sightly smaller code and managed to fit into the available memory. This type of differences in code size is not uncommon between different compiler versions.

    One thing you can do to confirm is to set CCSv8 to use the same version of compiler tools as was used in CCSv7 and see if the error goes away. The procedure to do that is described here. That would confirm the above theory. 

    Another workaround would be to experiment with the optimization levels in the compiler options to see if a setting makes the code small enough to fit.

    Hope this helps.

  • Hello Gerfried,

    you can avoid updates/upgrades installing many CCS versions in parallel.
    All you need is just an installation directory tree like this:
    c:\ti\ccs740
    c:\ti\ccs800
    ...
    c:\ti\ccs830

    All compilers nad packages can be installed under subdirectories like:
    c:\ti\cgt
    c:\ti\bios
    ...
    and shared by all CCSs from one location.
  • Hello Tom,

    Thank you for your helpful answer.

    have a nice day

    Gerfried

  • Mary Christmas,
    if applicable,
    if not,
    have a nice day.