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/TMS320F28335: TMS320F28335

Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

I have using data type like below: 

#pragma DATA_SECTION(cntl2p2z_R_vars,"cntl_var_RAM")
#pragma DATA_SECTION(cntl2p2z_R_coeff,"cntl_coeff_RAM")
CNTL_2P2Z_F_VARS cntl2p2z_R_vars;
CNTL_2P2Z_F_COEFFS cntl2p2z_R_coeff;

however, the following error have display in console 

<Linking>
"C:/ti/c2000/controlSUITE/device_support/f2833x/v142/DSP2833x_common/cmd/28335_RAM_lnk.cmd", line 86: error #10264: BEGIN memory range overlaps existing memory range BEGIN_M0
"C:/ti/c2000/controlSUITE/device_support/f2833x/v142/DSP2833x_common/cmd/28335_RAM_lnk.cmd", line 88: error #10264: RAML0 memory range overlaps existing memory range L0123SARAM
"C:/ti/c2000/controlSUITE/device_support/f2833x/v142/DSP2833x_common/cmd/28335_RAM_lnk.cmd", line 89: error #10264: RAML1 memory range overlaps existing memory range L0123SARAM
"C:/ti/c2000/controlSUITE/device_support/f2833x/v142/DSP2833x_common/cmd/28335_RAM_lnk.cmd", line 90: error #10264: RAML2 memory range overlaps existing memory range L0123SARAM
"C:/ti/c2000/controlSUITE/device_support/f2833x/v142/DSP2833x_common/cmd/28335_RAM_lnk.cmd", line 91: error #10264: RAML3 memory range overlaps existing memory range

etc

and my  28335_RAM_lnk.cmd

MEMORY

{

PAGE 0 :

   /* BEGIN is used for the "boot to SARAM" bootloader mode      */

 

   BEGIN      : origin = 0x000000, length = 0x000002     /* Boot to M0 will go here                      */

   RAMM0      : origin = 0x000050, length = 0x0003B0

   RAML0      : origin = 0x008000, length = 0x001000

   RAML1      : origin = 0x009000, length = 0x001000

   RAML2      : origin = 0x00A000, length = 0x001000

   RAML3      : origin = 0x00B000, length = 0x001000

   ZONE7A     : origin = 0x200000, length = 0x00FC00    /* XINTF zone 7 - program space */

   CSM_RSVD   : origin = 0x33FF80, length = 0x000076     /* Part of FLASHA.  Program with all 0x0000 when CSM is in use. */

   CSM_PWL    : origin = 0x33FFF8, length = 0x000008     /* Part of FLASHA.  CSM password locations in FLASHA            */

   ADC_CAL    : origin = 0x380080, length = 0x000009

   RESET      : origin = 0x3FFFC0, length = 0x000002

   IQTABLES   : origin = 0x3FE000, length = 0x000b50

   IQTABLES2  : origin = 0x3FEB50, length = 0x00008c

   FPUTABLES  : origin = 0x3FEBDC, length = 0x0006A0

   BOOTROM    : origin = 0x3FF27C, length = 0x000D44

Does it need mention the SECTION in the  file ''28335_RAM_lnk.cmd'' ?

  • Hi,

    Have you by any chance included two linker command files in the project? " RAML0 memory range overlaps existing memory range L0123SARAM" - This looks like you have a linker command file with RAML0 section defined and another linker command file with L0123SARAM section defined at the same address.

    Regards,
    Veena