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: gmake: *** [HVPM_Sensorless.out] Error 1

Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Dear Sir;

I want debug this project   C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Sensorless_2833x.

I get this error:

C28xx: GEL: Encountered a problem loading file: C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Sensorless_2833x\F2833x_RAM\HVPM_Sensorless_2833x.out Could not open file


**** Build of configuration F2833x_RAM for project HVPM_Sensorless_2833x ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

Building file: "../DLOG4CHC.asm"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2833x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2833x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --define="FLOATING_MATH" -g --diag_warning=225 --quiet --preproc_with_compile --preproc_dependency="DLOG4CHC.d_raw" "../DLOG4CHC.asm"
Finished building: "../DLOG4CHC.asm"

Building file: "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_ADC_cal.asm"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2833x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2833x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --define="FLOATING_MATH" -g --diag_warning=225 --quiet --preproc_with_compile --preproc_dependency="DSP2833x_ADC_cal.d_raw" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_ADC_cal.asm"
Finished building: "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_ADC_cal.asm"

Building file: "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_CodeStartBranch.asm"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2833x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2833x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --define="FLOATING_MATH" -g --diag_warning=225 --quiet --preproc_with_compile --preproc_dependency="DSP2833x_CodeStartBranch.d_raw" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_CodeStartBranch.asm"
Finished building: "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/source/DSP2833x_CodeStartBranch.asm"

Building file: "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/source/DSP2833x_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2833x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2833x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --define="FLOATING_MATH" -g --diag_warning=225 --quiet --preproc_with_compile --preproc_dependency="DSP2833x_GlobalVariableDefs.d_raw" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/source/DSP2833x_GlobalVariableDefs.c"
Finished building: "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/source/DSP2833x_GlobalVariableDefs.c"

Building file: "../DSP2833x_usDelay.asm"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2833x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2833x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --define="FLOATING_MATH" -g --diag_warning=225 --quiet --preproc_with_compile --preproc_dependency="DSP2833x_usDelay.d_raw" "../DSP2833x_usDelay.asm"
Finished building: "../DSP2833x_usDelay.asm"

Building file: "../HVPM_Sensorless-DevInit_F2833x.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2833x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2833x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --define="FLOATING_MATH" -g --diag_warning=225 --quiet --preproc_with_compile --preproc_dependency="HVPM_Sensorless-DevInit_F2833x.d_raw" "../HVPM_Sensorless-DevInit_F2833x.c"
Finished building: "../HVPM_Sensorless-DevInit_F2833x.c"

Building file: "../HVPM_Sensorless.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15c/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2833x_headers" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/math_blocks/v4.0" --include_path="C:/ti/controlSUITE/libs/app_libs/motor_control/drivers/f2833x_v2.0" --define="_DEBUG" --define="LARGE_MODEL" --define="FLOATING_MATH" -g --diag_warning=225 --quiet --preproc_with_compile --preproc_dependency="HVPM_Sensorless.d_raw" "../HVPM_Sensorless.c"
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 213: warning: subscript out of range
"../HVPM_Sensorless.c", line 1345: warning: subscript out of range
"../HVPM_Sensorless.c", line 1345: warning: subscript out of range
Finished building: "../HVPM_Sensorless.c"

Building target: "HVPM_Sensorless_2833x.out"
Invoking: C2000 Linker
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --define="_DEBUG" --define="LARGE_MODEL" --define="FLOATING_MATH" -g --diag_warning=225 --quiet -z -m"HVPM_Sensorless_2833x.map" --stack_size=0x380 --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/include" -i"C:/ti/controlSUITE/development_kits/HVMotorCtrl+PfcKit_v2.1/HVPM_Sensorless_2833x" --reread_libs --xml_link_info="HVPM_Sensorless_2833x_linkInfo.xml" --rom_model -o "HVPM_Sensorless_2833x.out" "C:/ti/controlSUITE/libs/math/FPUfastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib" -lrts2800_fpu32.lib "C:/ti/controlSUITE/libs/math/IQmath/v15c/lib/IQmath_fpu32.lib" "./DLOG4CHC.obj" "./DSP2833x_ADC_cal.obj" "./DSP2833x_CodeStartBranch.obj" "./DSP2833x_GlobalVariableDefs.obj" "./DSP2833x_usDelay.obj" "./HVPM_Sensorless-DevInit_F2833x.obj" "./HVPM_Sensorless.obj" "../28335_RAM_lnk.cmd" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/cmd/DSP2833x_Headers_nonBIOS.cmd" "../F28335_RAM_HVPM_Sensorless.CMD"

>> Compilation failure
makefile:150: recipe for target 'HVPM_Sensorless_2833x.out' failed
"../F28335_RAM_HVPM_Sensorless.CMD", line 88: error: BEGIN memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 88: error: BEGIN memory range
overlaps existing memory range BEGIN
"../F28335_RAM_HVPM_Sensorless.CMD", line 90: error: RAMM0 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 90: error: RAMM0 memory range
overlaps existing memory range RAMM0
"../F28335_RAM_HVPM_Sensorless.CMD", line 92: error: RAML0 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 92: error: RAML0 memory range
overlaps existing memory range RAML0
"../F28335_RAM_HVPM_Sensorless.CMD", line 93: error: RAML1 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 93: error: RAML1 memory range
overlaps existing memory range RAML1
"../F28335_RAM_HVPM_Sensorless.CMD", line 93: error: RAML1 memory range
overlaps existing memory range RAML2
"../F28335_RAM_HVPM_Sensorless.CMD", line 94: error: RAML2 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 94: error: RAML2 memory range
overlaps existing memory range RAML3
"../F28335_RAM_HVPM_Sensorless.CMD", line 95: error: RAML3 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 96: error: ZONE7A memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 96: error: ZONE7A memory range
overlaps existing memory range ZONE7A
"../F28335_RAM_HVPM_Sensorless.CMD", line 97: error: CSM_RSVD memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 97: error: CSM_RSVD memory range
overlaps existing memory range CSM_RSVD
"../F28335_RAM_HVPM_Sensorless.CMD", line 98: error: CSM_PWL memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 98: error: CSM_PWL memory range
overlaps existing memory range CSM_PWL
"../F28335_RAM_HVPM_Sensorless.CMD", line 99: error: ADC_CAL memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 99: error: ADC_CAL memory range
overlaps existing memory range ADC_CAL
"../F28335_RAM_HVPM_Sensorless.CMD", line 100: error: RESET memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 100: error: RESET memory range
overlaps existing memory range RESET
"../F28335_RAM_HVPM_Sensorless.CMD", line 101: error: IQTABLES memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 101: error: IQTABLES memory range
overlaps existing memory range IQTABLES
"../F28335_RAM_HVPM_Sensorless.CMD", line 102: error: IQTABLES2 memory range
has already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 102: error: IQTABLES2 memory range
overlaps existing memory range IQTABLES2
"../F28335_RAM_HVPM_Sensorless.CMD", line 103: error: FPUTABLES memory range
has already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 103: error: FPUTABLES memory range
overlaps existing memory range FPUTABLES
"../F28335_RAM_HVPM_Sensorless.CMD", line 104: error: BOOTROM memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 104: error: BOOTROM memory range
overlaps existing memory range BOOTROM
"../F28335_RAM_HVPM_Sensorless.CMD", line 108: error: RAMM1 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 108: error: RAMM1 memory range
overlaps existing memory range RAMM1
"../F28335_RAM_HVPM_Sensorless.CMD", line 109: error: RAML4 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 109: error: RAML4 memory range
overlaps existing memory range RAML4
"../F28335_RAM_HVPM_Sensorless.CMD", line 110: error: RAML5 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 110: error: RAML5 memory range
overlaps existing memory range RAML5
"../F28335_RAM_HVPM_Sensorless.CMD", line 111: error: RAML6 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 111: error: RAML6 memory range
overlaps existing memory range RAML6
"../F28335_RAM_HVPM_Sensorless.CMD", line 112: error: RAML7 memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 112: error: RAML7 memory range
overlaps existing memory range RAML7
"../F28335_RAM_HVPM_Sensorless.CMD", line 113: error: ZONE7B memory range has
already been specified
"../F28335_RAM_HVPM_Sensorless.CMD", line 113: error: ZONE7B memory range
overlaps existing memory range ZONE7B
"../28335_RAM_lnk.cmd", line 133: error: program will not fit into available
memory. placement with alignment/blocking fails for section ".text" size
0x10ce page 0. Available memory ranges:
RAML1 size: 0x1000 unused: 0x1000 max hole: 0x1000
error: errors encountered during linking; "HVPM_Sensorless_2833x.out" not
built
gmake: *** [HVPM_Sensorless_2833x.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • user5307035 said:

    I get this error:

    C28xx: GEL: Encountered a problem loading file: C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Sensorless_2833x\F2833x_RAM\HVPM_Sensorless_2833x.out Could not open file

    You get this error at load time because there was an earlier error in building the project, hence the executable HVPM_Sensorless_2833x.out was never generated.

    Looking at the linker build command, there is an extra linker command file specified (highlighted in Red below).

    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --define="_DEBUG" --define="LARGE_MODEL" --define="FLOATING_MATH" -g --diag_warning=225 --quiet -z -m"HVPM_Sensorless_2833x.map" --stack_size=0x380 --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.7.LTS/include" -i"C:/ti/controlSUITE/development_kits/HVMotorCtrl+PfcKit_v2.1/HVPM_Sensorless_2833x" --reread_libs --xml_link_info="HVPM_Sensorless_2833x_linkInfo.xml" --rom_model -o "HVPM_Sensorless_2833x.out" "C:/ti/controlSUITE/libs/math/FPUfastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib" -lrts2800_fpu32.lib "C:/ti/controlSUITE/libs/math/IQmath/v15c/lib/IQmath_fpu32.lib" "./DLOG4CHC.obj" "./DSP2833x_ADC_cal.obj" "./DSP2833x_CodeStartBranch.obj" "./DSP2833x_GlobalVariableDefs.obj" "./DSP2833x_usDelay.obj" "./HVPM_Sensorless-DevInit_F2833x.obj" "./HVPM_Sensorless.obj" "../28335_RAM_lnk.cmd" "C:/ti/controlSUITE/device_support/f2833x/v132/DSP2833x_headers/cmd/DSP2833x_Headers_nonBIOS.cmd" "../F28335_RAM_HVPM_Sensorless.CMD" 

    When I build the default example project in ControlSuite I do not see that linker command file listed on the command line and there are no build errors either.

    I'm not sure how the file may have got added to your project, but you can resolve the error by right-clicking on that file in the Project Explorer view and selecting "Exclude from Build". The rebuild your project. 

    Let us know if that resolves the error.

  • Dear Sir;

    First I open HVPM_Sensorless_2833x in the Project Explorer,
    Second right-clicking on "28335_RAM_lnk.cmd" file,
    And selecting "Exclude from Build".
    After that rebuild my project.

    İt is working but I get 2 warnings
    Description Resource Path Location Type
    subscript out of range HVPM_Sensorless.c /HVPM_Sensorless_2833x line 213 C/C++ Problem

    İt is OK. Good.


    Thank you.