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 V5.1 Memory Problem



Hallo,

I've installed CCS v5.1 because I need an Eclipse version >3.5 to use the Perforce-Plugin.

My project for a F28016 works fine on CCS v4.
During the built with v5.1, I get several errors regarding the placement of the sections defined in "DSP280x_Headers_nonBIOS.cmd".

Available ranges:
RAMM0 size: 0x400 unused: 0x0 max hole: 0x0
BOOT_RSVD size: 0x80 unused: 0x80 max hole: 0x80
RAMM1 size: 0x380 unused: 0x84 max hole: 0x80
error: run placement fails for object "DevEmuRegsFile", size 0xd0 (page 1).
Available ranges:
RAMM0 size: 0x400 unused: 0x0 max hole: 0x0
BOOT_RSVD size: 0x80 unused: 0x80 max hole: 0x80
RAMM1 size: 0x380 unused: 0x84 max hole: 0x80
error: run placement fails for object "ECanbMOTORegsFile", size 0x40 (page 1).

 

 

CCS v4 places the objects starting with adress 0x880:

--- MAP-File ---

DevEmuRegsFile
*          1    00000880    000000d0     UNINITIALIZED
                  00000880    000000d0     DSP280x_GlobalVariableDefs.obj (DevEmuRegsFile)

FlashRegsFile
*          1    00000a80    00000008     UNINITIALIZED
                  00000a80    00000008     DSP280x_GlobalVariableDefs.obj (FlashRegsFile)

 

CCS v5.1 can't allocate the objects:

--- MAP-File ---

DevEmuRegsFile
*          0    00000000    000000d0     FAILED TO ALLOCATE
PieVectTableFile
*          0    00000000    00000100     FAILED TO ALLOCATE

 

The cmd - files are the same in both cases.

Can anybody help? Was there a change in v5.1 linker or what can be the reason for the problem?

Thanks in advance!

Best regards,
Peter

  • Peter,

    Currently the linkers are very similar between 4.2.1 and 5.1.  My 4.2.1 install as the 5.2.6 compile tools and my 5.1 M1 install has 5.2.9 compile tools.  I wonder if something else is getting included that is messing up the allocation.  If you look at the build properties are any extra libraries getting pulled in?

    John

  • John,

    thank you for the hint.

    I have changed the .cmd file for the linker and have added a flash memory block of 1kByte to Page 1.
    Now the sections are located in this flash memory area and the linker works without error.

    I don't really understand why the objects can be linked into flash memory, but it seems to be OK.

    Best regards,
    Peter