Tool/software: TI C/C++ Compiler
Hi,
I am trying to combine (OR) different memory section for placing .text section but getting following error.
"C:/D Drive/Bitbucket/c2000_tenor_avv/testcases/MemCtrl/MemCtrl_prot_chk_dxmem/Local_RAM_lnk.cmd", line 119: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section ".text" size 0x10a6 page 0. Available memory ranges:
RAMLS0 size: 0x800 unused: 0x45 max hole: 0x45
RAMLS1 size: 0x800 unused: 0x800 max hole: 0x800
RAMLS2 size: 0x800 unused: 0x800 max hole: 0x800
I have defined the memory section like below –
RAMLS0 : origin = 0x008000, length = 0x000800
RAMLS1 : origin = 0x008800, length = 0x000800
RAMLS2 : origin = 0x009000, length = 0x000800
And placed the .text section like below.
.text : >> RAMLS0 | RAMLS1 | RAMLS2, PAGE = 0
Why it’s not able to place it. Strange part is if I combine LS0 and LS1 into one memory block and then OR it with LS3 (liek below) it works fine.
.text : >> RAMLS0_LS1 | RAMLS2, PAGE = 0
Can we only OR two memory section?
Regards,
Vivek Singh