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.

CCS/TMDX5535EZDSP: ezDSP5535 : error #10099-D: program will not fit into available memory.

Part Number: TMDX5535EZDSP

Tool/software: Code Composer Studio

Hi,

I'm working with the ezDSP5535 card and i have a problem with the lnkx.cmd file. I use the lnkx.cmd file from de C5000 teaching ROM, and when i have a programm a bit bigger, i have the following error from CCS :

"../lnkx.cmd", line 57: error #10099-D: program will not fit into available

   memory.  run placement with alignment/blocking fails for section ".bss" size

   0x4efb9 page 0.  Available memory ranges:

   DARAM0       size: 0xff40       unused: 0xc7ae       max hole: 0xc7a8

   SARAM0       size: 0x10000      unused: 0x0          max hole: 0x0

   SARAM1       size: 0x20000      unused: 0xbfc        max hole: 0xbfc 

And this is my lnkx.cmd file : 

-stack    0x2000      /* Primary stack size   */

-sysstack 0x1000      /* Secondary stack size */

-heap     0x2000      /* Heap area size       */

-c                    /* Use C linking conventions: auto-init vars at runtime */

-u _Reset             /* Force load of reset interrupt handler                */

/* SPECIFY THE SYSTEM MEMORY MAP */

MEMORY

{

 PAGE 0:  /* ---- Unified Program/Data Address Space ---- */

  MMR    (RWIX): origin = 0x000000, length = 0x0000c0  /* MMRs */

  DARAM0 (RWIX): origin = 0x0000c0, length = 0x00ff40  /*  64KB - MMRs */

  SARAM0 (RWIX): origin = 0x010000, length = 0x010000  /*  64KB */

  SARAM1 (RWIX): origin = 0x020000, length = 0x020000  /* 128KB */

  SARAM2 (RWIX): origin = 0x040000, length = 0x00FE00  /*  64KB */

  VECS   (RWIX): origin = 0x04FE00, length = 0x000200  /*  512B */

  PDROM   (RIX): origin = 0xff8000, length = 0x008000  /*  32KB */

 PAGE 2:  /* -------- 64K-word I/O Address Space -------- */

  IOPORT (RWI) : origin = 0x000000, length = 0x020000

}

 

/* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY */

SECTIONS

{

   .text     >> SARAM1|SARAM2|SARAM0  /* Code                        */

   /* Both stacks must be on same physical memory page               */

   .stack    >  DARAM0                /* Primary system stack        */

   .sysstack >  DARAM0                /* Secondary system stack      */

   .data     >> DARAM0|SARAM0|SARAM1  /* Initialized vars            */

   .bss      >> DARAM0|SARAM0|SARAM1  /* Global & static vars        */                (--> line 57 where is the error)

   .const    >> DARAM0|SARAM0|SARAM1  /* Constant data               */

   .sysmem   >  DARAM0|SARAM0|SARAM1  /* Dynamic memory (malloc)     */

   .switch   >  SARAM2                /* Switch statement tables     */

   .cinit    >  SARAM2                /* Auto-initialization tables  */

   .pinit    >  SARAM2                /* Initialization fn tables    */

   .cio      >  SARAM2                /* C I/O buffers               */

   .args     >  SARAM2                /* Arguments to main()         */

    vectors  >  VECS                  /* Interrupt vectors           */

   .ioport   >  IOPORT PAGE 2         /* Global & static ioport vars */

}

My programm isn't especially big, can you help me with this issu?

Thanks a lot for your support.

Best regards.

Alexandre Perrot