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/TMS320F28379D: Linker Out-of-Memory Data Question

Part Number: TMS320F28379D

Tool/software: TI C/C++ Compiler

Greetings,

 

The linker is telling us that we don’t have enough space for all the things which we need to place in a particular section of the flash. Obviously, we need to put the code on a diet. But we are confused as to how far over the limit we have gone. The console says that we are over by 0x24 words 0x3fda – 0x3fb6). But the map file suggests that of the 0x3fb6, 0x27a is already consumed. So clearly, we don’t understand how to interpret the two. What don’t we understand? The two outputs are as below.

 

Console

"../<My_Project.cmd>", line 85: error: program will not fit into available memory. placement with alignment/blocking fails for section "GROUP_2" size 0x3fda page 0. Available memory ranges:

   <MY_CODEAREA>   size: 0x3fb6       unused: 0x3fb6       max hole: 0x3fb6  

 

Map file

         name           origin   length     used    unused  attr   fill

---------------------- -------- --------- -------- -------- ---- --------

PAGE 0:

MY_CODEAREA           00082048   00003fb6 0000027a 00003d3c RWIX

 

Thank you,

Ed