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.

Configuring multiple RAM memory blocks for CLAProgram

Hello,

I am trying to configure multiple memory blocks to the Cla1Prog since I ran out of program memory by giving this in the .cmd linker file

Based on the information in this link:

http://processors.wiki.ti.com/index.php/C28x_Compiler_-_Understanding_Linking

..

MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */

BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000122, length = 0x0002DE
RAMD0 : origin = 0x00B000, length = 0x000800
RAMD1 : origin = 0x00B800, length = 0x000800

RAMLS3 : origin = 0x009800, length = 0x000800
RAMLS4 : origin = 0x00A000, length = 0x000800
RAMLS5 : origin = 0x00A800, length = 0x000800
RESET : origin = 0x3FFFC0, length = 0x000002

.....

SECTIONS
{

Cla1Prog         : >> RAMLS3 | RAMLS4 | RAMLS5, PAGE=0

....

I get the following error when I build:

"../Linker/2807x_RAM_CLA_lnk_cpu1.cmd", line 79: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section "Cla1Prog" size 0xe2e page 0. Available memory ranges:
RAMLS3 size: 0x800 unused: 0x49e max hole: 0x49e
RAMLS4 size: 0x800 unused: 0x800 max hole: 0x800
RAMLS5 size: 0x800 unused: 0x800 max hole: 0x800
error #10010: errors encountered during linking; "EVCS_PowerController.out" not built

From my understanding I should be getting 6K of memory as per my linker, but i still get this error.

What am i doing wrong?

Thanks and regards,

Mathew JM