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.

TMS320F280049: CCS v11.2 give me a link error #10099-D

Part Number: TMS320F280049


Hi

I have a project that just uses a few global variables, but when I use CCS v11.2.0.00007 to compile it, I got a link error as follows:

<Linking>
"../F280049_RAM_lnk.cmd", line 41: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment/blocking fails for section ".econst" size 0x3378 page 1. Available memory ranges:
RAMDCPU size: 0x2000 unused: 0x1e20 max hole: 0x1e20
error #10010: errors encountered during linking; "Test_Comparator_Out2.out" not built

The linker shows there are 0x3378 words in .econst section, that's impossible.

My project is uploaded for your review.

Test Comparator Out2 (C code).zip

Thanks,

Jiakai

  • Jiakai,

    It looks like you big constants.

    "../F280049_RAM_lnk.cmd", line 41: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment/blocking fails for section ".econst" size 0x3378 page 1. Available memory ranges:
    RAMDCPU size: 0x2000 unused: 0x1e20 max hole: 0x1e20

     

    You may need to copy some data in Flash.

    Thanks, Santosh

  • Sorry, missed 2 library files (cla2_math_library_datarom_fpu32.lib and F28004x_CLADATROM_Symbols_fpu32.lib).

    Test Comparator Out2 (C code) (2).zip

  • Hi Santosh,

    Thank you for your fast reply.

    There are 2 more files in the project folder that I forgot to copy them into. I uploaded a new zip file. be sure to use the new zip file.

    This project has 4 configurations, the default configuration is running code in RAM, no FLASH is used.

    the linker told me that this project uses 0x3378 words, you can see the .c file, just 2 32bit global variables are used.

    I don't know where the 0x3378 words come from.

    thanks,

    Jiakai

  • Hi Santosh,

    I finally understood the reason that causes this issue.

    There are many assert statements in the code, Compiler generate many error messages for these assert statements,

    that causes .econst section to be too large.

    Thank you very much!

    Jiakai