Hi everyone,
I have a code for DSP 320F28379D that needs high memory RAM on CPU 2 (high RAM memory is due to high size matrices (e.g. 60X60, 60X80 size matrices)). When I compile the code via CCS, I get the following error.
Lab_11_cpu2.cmd", line 46: error #10099-D: program will not fit into available memory. run placement with alignment/blocking fails for section ".ebss" size 0x4eb7 page 1. Available memory ranges:
RAMM0 size: 0x3b0 unused: 0x1b0 max hole: 0x1b0
As seen in the above error massege, there is a total of 3b0 bytes of RAMM0 memory, but the my code needs approximately 0x4eb7 bytes. My Lab_11_cpu2.cmd section is below.
MEMORY
{
PAGE 0: /* Program Memory */
BEGIN_M0 : origin = 0x000000, length = 0x000002 /* Part of M0 RAM - used for "Boot to M0" bootloader mode */
RAMLS45 : origin = 0x00A000, length = 0x001000 /* L4-5 RAM, DCSM secure, CLA Program RAM */
BEGIN_FLASH : origin = 0x080000, length = 0x000002 /* Part of FLASH Sector A - used for "Jump to flash" bootloader mode */
FLASH_A : origin = 0x080002, length = 0x001FFE /* Part of FLASH Sector A - DCSM secure */
FLASH_BCDEFGHIJKLMN : origin = 0x082000, length = 0x03E000 /* FLASH Sectors B,C,D,E,F,G,H,I,J,K,L,M,N combined - DCSM secure */
RESET (R) : origin = 0x3FFFC0, length = 0x000002 /* Part of Boot ROM */
PAGE 1: /* Data Memory */
BOOT_RSVD : origin = 0x000002, length = 0x00004E /* Part of M0 RAM, BOOT rom will use this for stack */
RAMM0 : origin = 0x000050, length = 0x0003B0 /* M0 RAM */
RAMM1 : origin = 0x000400, length = 0x000400 /* M1 RAM */
CLA1_MSGRAMLOW : origin = 0x001480, length = 0x000080 /* CLA to CPU Message RAM, DCSM secure */
CLA1_MSGRAMHIGH : origin = 0x001500, length = 0x000080 /* CPU to CLA Message RAM, DCSM secure */
RAMLS0 : origin = 0x008000, length = 0x000800 /* L0 RAM, DCSM secure, CLA Data RAM */
RAMLS1 : origin = 0x008800, length = 0x000800 /* L1 RAM, DCSM secure, CLA Data RAM */
RAMLS2 : origin = 0x009000, length = 0x000800 /* L2 RAM, DCSM secure, CLA Data RAM */
RAMLS3 : origin = 0x009800, length = 0x000800 /* L3 RAM, DCSM secure, CLA Data RAM */
RAMD0 : origin = 0x00B000, length = 0x000800 /* D0 RAM, DCSM secure, ECC */
RAMD1 : origin = 0x00B800, length = 0x000800 /* D1 RAM, DCSM secure, ECC */
}
For soleving memory error, the RAM regions allocated for L0-L5, D0-D1 and GS0-GS15 were combined with RAMM0, but the code did not work.
I especially need to increase the RAM memory of .ebss. Can you help me on how to do it?
Thanks...
Best regards...