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.

Compiler/TMS320F280049: When TMS320F280049 is compiled,the question number is Compiler/diagnostic messages/10099.

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

Dear experts:

                  When TMS320F280049  is compiled,the question number is Compiler/diagnostic messages/10099. The message is as below.

Compiler/diagnostic messages/10099

From Texas Instruments Wiki
Jump to: navigation, search

Typical message

"./lnk.cmd", line 48: error #10099-D: program will not fit into available
   memory.  placement with alignment fails for section ".text" size 0x2b12 .
   Available memory ranges:
   FLASH        size: 0x1000       unused: 0xe56        max hole: 0xe56    

What it means

The linker was unable to fit some portion of the program onto the device. The specific error message indicates what section of the program the linker failed to place, its size, and the memory range it tried to place it in. For the memory ranges listed, the size indicates the total size of the section, unused represents the amount of space remaining when trying to place the section that failed and max hole represents the largest contiguous region available.

  • Hi,

    Can you let us know which project you were trying to build? Is it some example code provided in c2000ware?

    This error is caused because the .text size is bigger then the memory section you were using. You can map .text section to more than one memory blocks. For example:
    .text : >>FLASH_BANK0_SEC1 | FLASH_BANK0_SEC2 | FLASH_BANK0_SEC3

    You can add sections as per your need

    Regards,
    Veena