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/TMS320F28035: F28035 Flashing Leds Code Error

Part Number: TMS320F28035
Other Parts Discussed in Thread: CONTROLSUITE, CCSTUDIO

Tool/software: Code Composer Studio

I´m using a TMS320C2000 Experimenter kit with a F28035 controlCard and a code composer studio v6.2. For purpose of testing the kit, i try to build the example code from controlSuite "FlashingLeds-F28035" but i have the following errors:

"../F28035_FLASH_FlashingLeds.CMD", line 52: error: RAML0 memory range overlaps
   existing memory range RAML0L1
"../F28035_FLASH_FlashingLeds.CMD", line 63: error: BEGIN memory range has
   already been specified
"../F28035_FLASH_FlashingLeds.CMD", line 66: error: IQTABLES memory range has
   already been specified
"../F28035_FLASH_FlashingLeds.CMD", line 66: error: IQTABLES memory range
   overlaps existing memory range IQTABLES
"../F28035_FLASH_FlashingLeds.CMD", line 67: error: IQTABLES2 memory range has
   already been specified
"../F28035_FLASH_FlashingLeds.CMD", line 67: error: IQTABLES2 memory range
   overlaps existing memory range IQTABLES2
"../F28035_FLASH_FlashingLeds.CMD", line 68: error: IQTABLES3 memory range has
   already been specified
"../F28035_FLASH_FlashingLeds.CMD", line 68: error: IQTABLES3 memory range
   overlaps existing memory range IQTABLES3
"../F28035_FLASH_FlashingLeds.CMD", line 70: error: BOOTROM memory range has
   already been specified
"../F28035_FLASH_FlashingLeds.CMD", line 70: error: BOOTROM memory range
   overlaps existing memory range BOOTROM
"../F28035_FLASH_FlashingLeds.CMD", line 71: error: RESET memory range has
   already been specified
>> Compilation failure
makefile:147: recipe for target 'FlashingLeds.out' failed
"../F28035_FLASH_FlashingLeds.CMD", line 71: error: RESET memory range overlaps
   existing memory range RESET
"../F28035_FLASH_FlashingLeds.CMD", line 75: error: BOOT_RSVD memory range has
   already been specified
"../F28035_FLASH_FlashingLeds.CMD", line 75: error: BOOT_RSVD memory range
   overlaps existing memory range BOOT_RSVD
"../F28035_FLASH_FlashingLeds.CMD", line 77: error: RAMM1 memory range has
   already been specified
"../F28035_FLASH_FlashingLeds.CMD", line 77: error: RAMM1 memory range overlaps
   existing memory range RAMM1
"../F28035_FLASH_FlashingLeds.CMD", line 79: error: RAML2 memory range has
   already been specified
"../F28035_FLASH_FlashingLeds.CMD", line 79: error: RAML2 memory range overlaps
   existing memory range RAML2
error: errors encountered during linking; "FlashingLeds.out" not built
gmake: *** [FlashingLeds.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****

Before building the code, i create a new target configuration with xds100v1-f28035 and the onboard emulator "Texas Instruments XDS100v1 USB Emulator", then i import the CCS project an run it.

Please if anyone can help me with this error, i really appreciate it.

  • These types of errors usually occur when more than one linker command file is passed to the linker and they contain overlapping or conflicting memory specifications.

    The error should not occur with the example project, so something must have gone wrong in your environment. Check the project build output and ensure that only F28035_FLASH_FlashingLeds.CMD is getting passed to the linker and not F28035_RAM_FlashingLeds.CMD as well.

    This is what my build output looks like:

    'Building target: FlashingLeds.out'
    'Invoking: C2000 Linker'
    "C:/CCStudio_v6.2.0.00050/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" --silicon_version=28 -g --define="_DEBUG" --define="LARGE_MODEL" --define="FLASH" --diag_warning=225 --large_memory_model --cla_support=cla0 -z -m"FlashingLeds.map" --stack_size=0x380 --warn_sections -i"C:/CCStudio_v6.2.0.00050/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib" -i"C:/CCStudio_v6.2.0.00050/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" -i"C:/workspaces/ccsv620/c2000_workspace/FlashingLeds-F28035" --reread_libs --xml_link_info="FlashingLeds_linkInfo.xml" --rom_model -o "FlashingLeds.out" "C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" "./DSP2803x_CodeStartBranch.obj" "./DSP2803x_GlobalVariableDefs.obj" "./FlashingLeds-CLA.obj" "./FlashingLeds-DevInit_F2803x.obj" "./FlashingLeds-Main.obj" "./SciCommsGui.obj" "../F28035_FLASH_FlashingLeds.CMD"
    <Linking>
    'Finished building target: FlashingLeds.out'
    ' '