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.

error #10099-D: program will not fit into available memory

Part Number: CCSTUDIO

Tool/software:

Hello, we are experiencing an issue when trying to run the same example code on a different system with Code Composer Studio (CCS) v12.8.1. The error is described below. Could anyone help me solve the issue?

 <Linking>
"../28p65x_freertos_flash_lnk_cpu1.cmd", line 69: 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. run placement with alignment/blocking fails for section ".bss" size 0x25d2 page 0. Available memory ranges:
RAMLS5 size: 0x800 unused: 0x800 max hole: 0x800
error #10010: errors encountered during linking; "WIFI_PORTING.out" not built 

  • The .bss output section is this size ...

    section ".bss" size 0x25d2

    ... and the memory range for it is this size ...

    RAMLS5 size: 0x800

    The .bss output section is too big.  By a lot.  Look at the linker map file.  It has the same name as the project, with the file extension .map.  It is located in the directory named after the project build configuration, often Debug or Release.  You will see the input sections that go into the output section .bss.  I suspect that will show you what is wrong.  If it doesn't, then please put the map file in a zip, and attach it to your next post.

    Thanks and regards,

    -George