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.
Tool/software: Code Composer Studio
I/m using TMS320F28035.
I can compile and build the project on CCS 6.1.3 . However when I upgrade the version to CCS 8.0.0 , the error came up .
How to fix it to be able to compiled on CCS8.0.0 ?
In the screen shot I see some -i options with directory paths that include characters which cannot be represented in 7-bit ASCII encoding. My guess is the processing of these characters causes the problem. Please try changing all the paths and file names so that only 7-bit ASCII characters are needed.
Further background on this topic can be found in this forum thread.
Chien ting wei said:I can compile and build the project on CCS 6.1.3 . However when I upgrade the version to CCS 8.0.0 , the error came up .
I cannot explain that. I expect you would experience this same problem with the older tools.
Thanks and regards,
-George
I suspect you are experiencing the program will not fit error diagnostic. If that page is not helpful, then I need to see exactly how the linker is invoked, along with all the diagnostics. Please copy-n-paste that from the Console (not Problems) view.
Thanks and regards,
-George
This is my console message
**** Build of configuration F2803x_FLASH for project Copy_of_HVBLDC_Sensorless ****
"D:\\TI\\ccsv8\\utils\\bin\\gmake" -k all
Building target: "HVBLDC_Sensorless.out"
Invoking: C2000 Linker
"D:/TI/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --define=_DEBUG --define=LARGE_MODEL --define=FLASH -g --diag_warning=225 --quiet -z -m"HVBLDC_Sensorless.map" --stack_size=0x380 --warn_sections -i"D:/TI/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/lib" -i"D:/TI/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include" -i"D:/My Documents/Desktop/Copy_of_HVBLDC_Sensorless" --reread_libs --xml_link_info="HVBLDC_Sensorless_linkInfo.xml" --rom_model -o "HVBLDC_Sensorless.out" "./DLOG4CHC.obj" "./DSP2803x_CodeStartBranch.obj" "./DSP2803x_CpuTimers.obj" "./DSP2803x_GlobalVariableDefs.obj" "./DSP2803x_I2C.obj" "./DSP2803x_usDelay.obj" "./HVBLDC_Sensorless-DevInit_F2803x.obj" "./HVBLDC_Sensorless.obj" "./i2c_gy80.obj" "../28035_RAM_lnk.cmd" "../F28035_FLASH_HVBLDC_Sensorless.CMD" "D:/TI/controlsuite/libs/math/IQmath/v15c/lib/IQmath.lib" -lrts2800_ml.lib -llibc.a
>> Compilation failure
makefile:151: recipe for target 'HVBLDC_Sensorless.out' failed
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 54: error: progRAM memory range
overlaps existing memory range RAML0L1
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 64: error: BEGIN memory range has
already been specified
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 67: error: IQTABLES memory range
has already been specified
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 67: error: IQTABLES memory range
overlaps existing memory range IQTABLES
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 68: error: IQTABLES2 memory range
has already been specified
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 68: error: IQTABLES2 memory range
overlaps existing memory range IQTABLES2
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 69: error: IQTABLES3 memory range
has already been specified
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 69: error: IQTABLES3 memory range
overlaps existing memory range IQTABLES3
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 71: error: BOOTROM memory range
has already been specified
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 71: error: BOOTROM memory range
overlaps existing memory range BOOTROM
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 72: error: RESET memory range has
already been specified
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 72: error: RESET memory range
overlaps existing memory range RESET
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 76: error: BOOT_RSVD memory range
has already been specified
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 76: error: BOOT_RSVD memory range
overlaps existing memory range BOOT_RSVD
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 78: error: RAMM1 memory range has
already been specified
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 78: error: RAMM1 memory range
overlaps existing memory range RAMM1
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 79: error: dataRAM memory range
overlaps existing memory range RAML3
warning: creating output section "EmuKeyVar" without a SECTIONS specification
warning: creating output section "PartIdRegsFile" without a SECTIONS
specification
warning: creating output section "EmuBModeVar" without a SECTIONS
specification
warning: creating output section "FlashCallbackVar" without a SECTIONS
specification
warning: creating output section "FlashScalingVar" without a SECTIONS
specification
warning: creating output section "DevEmuRegsFile" without a SECTIONS
specification
warning: creating output section "FlashRegsFile" without a SECTIONS
specification
warning: creating output section "CpuTimer0RegsFile" without a SECTIONS
specification
warning: creating output section "CpuTimer2RegsFile" without a SECTIONS
specification
warning: creating output section "CsmPwlFile" without a SECTIONS specification
warning: creating output section "CpuTimer1RegsFile" without a SECTIONS
specification
warning: creating output section "GpioIntRegsFile" without a SECTIONS
specification
warning: creating output section "SpibRegsFile" without a SECTIONS
specification
warning: creating output section "SpiaRegsFile" without a SECTIONS
specification
warning: creating output section "NmiIntruptRegsFile" without a SECTIONS
specification
warning: creating output section "SciaRegsFile" without a SECTIONS
specification
warning: creating output section "CsmRegsFile" without a SECTIONS
specification
warning: creating output section "XIntruptRegsFile" without a SECTIONS
specification
warning: creating output section "Comp3RegsFile" without a SECTIONS
specification
warning: creating output section "Comp2RegsFile" without a SECTIONS
specification
warning: creating output section "Comp1RegsFile" without a SECTIONS
specification
warning: creating output section "PieCtrlRegsFile" without a SECTIONS
specification
warning: creating output section "AdcResultFile" without a SECTIONS
specification
warning: creating output section "GpioDataRegsFile" without a SECTIONS
specification
warning: creating output section "ECap1RegsFile" without a SECTIONS
specification
warning: creating output section "SysCtrlRegsFile" without a SECTIONS
specification
warning: creating output section "I2caRegsFile" without a SECTIONS
specification
warning: creating output section "ECanaRegsFile" without a SECTIONS
specification
warning: creating output section "EPwm2RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm1RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm4RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm3RegsFile" without a SECTIONS
specification
warning: creating output section "ECanaMOTSRegsFile" without a SECTIONS
specification
warning: creating output section "ECanaLAMRegsFile" without a SECTIONS
specification
warning: creating output section "Cla1RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm7RegsFile" without a SECTIONS
specification
warning: creating output section "EPwm6RegsFile" without a SECTIONS
specification
warning: creating output section "GpioCtrlRegsFile" without a SECTIONS
specification
warning: creating output section "EPwm5RegsFile" without a SECTIONS
specification
warning: creating output section "EQep1RegsFile" without a SECTIONS
specification
warning: creating output section "ECanaMOTORegsFile" without a SECTIONS
specification
warning: creating output section "LinaRegsFile" without a SECTIONS
specification
warning: creating output section "AdcRegsFile" without a SECTIONS
specification
warning: creating output section "PieVectTableFile" without a SECTIONS
specification
warning: creating output section "ECanaMboxesFile" without a SECTIONS
specification
"../28035_RAM_lnk.cmd", line 111: error: program will not fit into available
memory. placement with alignment/blocking fails for section "ramfuncs" size
0xf53 page 0. Available memory ranges:
RAMM0 size: 0x3b0 unused: 0x162 max hole: 0x162
error: errors encountered during linking; "HVBLDC_Sensorless.out" not built
gmake: *** [HVBLDC_Sensorless.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Diagnostics like ...
Chien ting wei said:"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 54: error: progRAM memory range
overlaps existing memory range RAML0L1
"../F28035_FLASH_HVBLDC_Sensorless.CMD", line 64: error: BEGIN memory range has
already been specified
... occur because you use two linker command files, when you should perhaps use one. The two you use now are ...
Chien ting wei said:"../28035_RAM_lnk.cmd" "../F28035_FLASH_HVBLDC_Sensorless.CMD"
However, that does not explain the many diagnostics like ...
Chien ting wei said:warning: creating output section "EmuBModeVar" without a SECTIONS
specification
The likely cause of this message is some other linker command file is missing.
The linker command file(s) is closely related to the memory configuration on the system, and the libraries used. I lack the expertise on C28x to help with such details. I recommend you start a new thread in the C2000 device forum. Or, if you prefer, I can move this thread into that forum.
Thanks and regards,
-George