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.

TMDXIDDK379D: Compiler v20.2.5.LTS & SYS/BIOS

Part Number: TMDXIDDK379D

Hi everybody,


I have developed a small application for the CPU1 of F28379D.

My configuration:
   ccs 10.2.0.00009
   compiler v20.2.0.lts
   XDCtools 3.62.0.08_core
   SYS/BIOS 6.83.0.18
   Output format: legacy COFF


I can compile and link (see console output in file c2000_v20_2_0_lts_successful_building_with_coff.txt). My program runs fine. Then I switch to the latest compiler version v20.2.5.lts. My application no longer compiles and links (see console output in file c2000_v20_2_5_lts_unsuccessful_building_with_coff.txt). The compiler has been reset to version v20.2.0.lts. Strangely, the program can no longer be compiled and linked (see console output in file c2000_v20_2_0_lts_unsuccessful_after_building_with_c2000_v20_2_5_lts.txt). Apparently the new compiler has changed something permanently in the setting. I have the same behavior with all compiler versions from version v20.2.1.lts.
Then I deleted the complete folder of the apllication and copied back the complete copy of the application. Compiling and linking work again. Now I just change the output format from "legacy COFF" to "eabi (ELF). The compiler version is still v20.2.0.lts. The application can no longer be compiled and linked. The similar error as above is there again (see console output in file c2000_v20_2_0_lts_unsuccessful_after_building_with_elf.txt). And after that I always get the same error when compiling and linking, even if I reuse the output format "legacy COFF" instead of "eabi (ELF)".
Have I made a wrong setting somewhere here? Can someone help me?


Many thanks in advance and best regards - Bui

c2000_v20_2_0_lts_unsuccessful_after_building_with_c2000_v20_2_5_lts.txt
**** Clean-only build of configuration F28379D_CPU1_RAM_Debug for project Firmware ****

"F:\\Sw_Tools\\TI\\CCS\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O 
 
DEL /F  "Firmware.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "Firmware.out" 
DEL /F "F2837xD_GlobalVariableDefs.obj" "Main.obj" "MotorControl.obj" "MotorControlTimer.obj" 
DEL /F "F2837xD_GlobalVariableDefs.d" "Main.d" "MotorControl.d" "MotorControlTimer.d" 
RMDIR /S/Q  "configPkg\" 
Das System kann die angegebene Datei nicht finden.
F:\Develop\C2000\Prealigner\F28379D\CPU1\Firmware\F28379D_CPU1_RAM_Debug\F2837xD_GlobalVariableDefs.obj konnte nicht gefunden werden
F:\Develop\C2000\Prealigner\F28379D\CPU1\Firmware\F28379D_CPU1_RAM_Debug\F2837xD_GlobalVariableDefs.d konnte nicht gefunden werden
Das System kann die angegebene Datei nicht finden.
Finished clean
 

**** Build Finished ****

**** Build of configuration F28379D_CPU1_RAM_Debug for project Firmware ****

"F:\\Sw_Tools\\TI\\CCS\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
Building file: "../Firmware.cfg"
Invoking: XDCtools
"F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/xs" --xdcpath="F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;" xdc.tools.configuro -o configPkg -t devkits.target.Generic -p ti.platforms.tms320x28:TMS320F28379D -r release -c "F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS" --compileOptions "-g" "../Firmware.cfg"
making package.mak (because of package.bld) ...
making package.mak (because of package.bld) ...
subdir_rules.mk:19: recipe for target 'build-1839409647-inproc' failed
js: "./config.bld", line 10: Error: Can't find the target named 'devkits.target.Generic' along the path 'F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/packages;..;': please check the spelling of the target's name and that it exists along this path.
js: "./config.bld", line 10: Error: Can't find the target named 'devkits.target.Generic' along the path 'F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/packages;..;': please check the spelling of the target's name and that it exists along this path.
gmake.exe: *** No rule to make target '.configuro'.  Stop.
js: "F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1839409647-inproc] Error 1
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.

**** Build Finished ****
c2000_v20_2_0_lts_unsuccessful_after_building_with_elf.txt
**** Clean-only build of configuration F28379D_CPU1_RAM_Debug for project Firmware ****

"F:\\Sw_Tools\\TI\\CCS\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O 
 
DEL /F  "Firmware.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "Firmware.out" 
DEL /F "F2837xD_GlobalVariableDefs.obj" "Main.obj" "MotorControl.obj" "MotorControlTimer.obj" 
DEL /F "F2837xD_GlobalVariableDefs.d" "Main.d" "MotorControl.d" "MotorControlTimer.d" 
RMDIR /S/Q  "configPkg\" 
Das System kann die angegebene Datei nicht finden.
F:\Develop\C2000\Prealigner\F28379D\CPU1\Firmware\F28379D_CPU1_RAM_Debug\F2837xD_GlobalVariableDefs.obj konnte nicht gefunden werden
F:\Develop\C2000\Prealigner\F28379D\CPU1\Firmware\F28379D_CPU1_RAM_Debug\F2837xD_GlobalVariableDefs.d konnte nicht gefunden werden
Das System kann die angegebene Datei nicht finden.
Finished clean
 

**** Build Finished ****

**** Build of configuration F28379D_CPU1_RAM_Debug for project Firmware ****

"F:\\Sw_Tools\\TI\\CCS\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
Building file: "../Firmware.cfg"
Invoking: XDCtools
"F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/xs" --xdcpath="F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;" xdc.tools.configuro -o configPkg -t devkits.target.Generic -p ti.platforms.tms320x28:TMS320F28379D -r release -c "F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS" --compileOptions "-g" "../Firmware.cfg"
making package.mak (because of package.bld) ...
making package.mak (because of package.bld) ...
subdir_rules.mk:19: recipe for target 'build-1839409647-inproc' failed
js: "./config.bld", line 10: Error: Can't find the target named 'devkits.target.Generic' along the path 'F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/packages;..;': please check the spelling of the target's name and that it exists along this path.
js: "./config.bld", line 10: Error: Can't find the target named 'devkits.target.Generic' along the path 'F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/packages;..;': please check the spelling of the target's name and that it exists along this path.
gmake.exe: *** No rule to make target '.configuro'.  Stop.
js: "F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1839409647-inproc] Error 1
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.

**** Build Finished ****
c2000_v20_2_5_lts_unsuccessful_building_with_coff.txt
**** Clean-only build of configuration F28379D_CPU1_RAM_Debug for project Firmware ****

"F:\\Sw_Tools\\TI\\CCS\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O 
 
DEL /F  "Firmware.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "Firmware.out" 
DEL /F "F2837xD_GlobalVariableDefs.obj" "Main.obj" "MotorControl.obj" "MotorControlTimer.obj" 
DEL /F "F2837xD_GlobalVariableDefs.d" "Main.d" "MotorControl.d" "MotorControlTimer.d" 
RMDIR /S/Q  "configPkg\" 
Das System kann die angegebene Datei nicht finden.
F:\Develop\C2000\Prealigner\F28379D\CPU1\Firmware\F28379D_CPU1_RAM_Debug\F2837xD_GlobalVariableDefs.obj konnte nicht gefunden werden
F:\Develop\C2000\Prealigner\F28379D\CPU1\Firmware\F28379D_CPU1_RAM_Debug\F2837xD_GlobalVariableDefs.d konnte nicht gefunden werden
Das System kann die angegebene Datei nicht finden.
Finished clean
 

**** Build Finished ****

**** Build of configuration F28379D_CPU1_RAM_Debug for project Firmware ****

"F:\\Sw_Tools\\TI\\CCS\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
Building file: "../Firmware.cfg"
Invoking: XDCtools
"F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/xs" --xdcpath="F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;" xdc.tools.configuro -o configPkg -t devkits.target.Generic -p ti.platforms.tms320x28:TMS320F28379D -r release -c "F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.5.LTS" --compileOptions "-g" "../Firmware.cfg"
making package.mak (because of package.bld) ...
making package.mak (because of package.bld) ...
subdir_rules.mk:19: recipe for target 'build-1839409647-inproc' failed
js: "./config.bld", line 10: Error: Can't find the target named 'devkits.target.Generic' along the path 'F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/packages;..;': please check the spelling of the target's name and that it exists along this path.
js: "./config.bld", line 10: Error: Can't find the target named 'devkits.target.Generic' along the path 'F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/packages;..;': please check the spelling of the target's name and that it exists along this path.
gmake.exe: *** No rule to make target '.configuro'.  Stop.
js: "F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1839409647-inproc] Error 1
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1839409647', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.

**** Build Finished ****
c2000_v20_2_0_lts_successful_building_with_coff.txt
**** Clean-only build of configuration F28379D_CPU1_RAM_Debug for project Firmware ****

"F:\\Sw_Tools\\TI\\CCS\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O 
 
DEL /F  "Firmware.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "Firmware.out" 
DEL /F "F2837xD_GlobalVariableDefs.obj" "Main.obj" "MotorControl.obj" "MotorControlTimer.obj" 
DEL /F "F2837xD_GlobalVariableDefs.d" "Main.d" "MotorControl.d" "MotorControlTimer.d" 
RMDIR /S/Q  "configPkg\" 
Das System kann die angegebene Datei nicht finden.
F:\Develop\C2000\Prealigner\F28379D\CPU1\Firmware\F28379D_CPU1_RAM_Debug\F2837xD_GlobalVariableDefs.obj konnte nicht gefunden werden
F:\Develop\C2000\Prealigner\F28379D\CPU1\Firmware\F28379D_CPU1_RAM_Debug\F2837xD_GlobalVariableDefs.d konnte nicht gefunden werden
Das System kann die angegebene Datei nicht finden.
Finished clean
 

**** Build Finished ****

**** Build of configuration F28379D_CPU1_RAM_Debug for project Firmware ****

"F:\\Sw_Tools\\TI\\CCS\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
Building file: "../Firmware.cfg"
Invoking: XDCtools
"F:/Sw_Tools/TI/CCS/ccs1000/xdctools_3_62_00_08_core/xs" --xdcpath="F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p ti.platforms.tms320x28:TMS320F28379D -r release -c "F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS" --compileOptions "-g" "../Firmware.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring Firmware.x28FP from package/cfg/Firmware_p28FP.cfg ...
generating custom ti.sysbios library makefile ... 
Starting build of library sources ...
making F:/Develop/C2000/Prealigner/F28379D/CPU1/Firmware/src/sysbios/sysbios.a28FP ...
cl28FP F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages/ti/sysbios/BIOS.c ...
asm28FP F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages/ti/sysbios/family/c28/Hwi_asm.s28 ...
asm28FP F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages/ti/sysbios/family/c28/Hwi_disp_asm.s28 ...
asm28FP F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages/ti/sysbios/family/c28/IntrinsicsSupport_asm.s28 ...
asm28FP F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages/ti/sysbios/family/c28/TaskSupport_asm.s28 ...
ar28FP BIOS.obj c28_Hwi_asm.obj c28_Hwi_disp_asm.obj c28_IntrinsicsSupport_asm.obj c28_TaskSupport_asm.obj ...
Build of libraries done.
cl28FP package/cfg/Firmware_p28FP.c ...
Finished building: "../Firmware.cfg"
 
        1 Datei(en) kopiert.
making ../src/sysbios/sysbios.a28FP ...
gmake[1]: Nothing to be done for 'all'.
Building file: "../MotorControlTimer.c"
Invoking: C2000 Compiler
"F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --opt_for_speed=2 --include_path="F:/Develop/C2000/Prealigner/F28379D/CPU1/Firmware" --include_path="F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages/ti/posix/ccs" --include_path="F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/driverlib/f2837xd/driverlib" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="MotorControlTimer.d_raw" --include_path="F:/Develop/C2000/Prealigner/F28379D/CPU1/Firmware/F28379D_CPU1_RAM_Debug/syscfg" --cmd_file="configPkg/compiler.opt"  "../MotorControlTimer.c"
"F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include/F2837xD_device.h", line 279: warning #303-D: typedef name has already been declared (with same type)
"F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include/F2837xD_device.h", line 280: warning #303-D: typedef name has already been declared (with same type)
Finished building: "../MotorControlTimer.c"
 
Building file: "../MotorControl.c"
Invoking: C2000 Compiler
"F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --opt_for_speed=2 --include_path="F:/Develop/C2000/Prealigner/F28379D/CPU1/Firmware" --include_path="F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages/ti/posix/ccs" --include_path="F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/driverlib/f2837xd/driverlib" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="MotorControl.d_raw" --include_path="F:/Develop/C2000/Prealigner/F28379D/CPU1/Firmware/F28379D_CPU1_RAM_Debug/syscfg" --cmd_file="configPkg/compiler.opt"  "../MotorControl.c"
"F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include/F2837xD_device.h", line 279: warning #303-D: typedef name has already been declared (with same type)
"F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include/F2837xD_device.h", line 280: warning #303-D: typedef name has already been declared (with same type)
Finished building: "../MotorControl.c"
 
Building file: "../Main.c"
Invoking: C2000 Compiler
"F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --opt_for_speed=2 --include_path="F:/Develop/C2000/Prealigner/F28379D/CPU1/Firmware" --include_path="F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages/ti/posix/ccs" --include_path="F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/driverlib/f2837xd/driverlib" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Main.d_raw" --include_path="F:/Develop/C2000/Prealigner/F28379D/CPU1/Firmware/F28379D_CPU1_RAM_Debug/syscfg" --cmd_file="configPkg/compiler.opt"  "../Main.c"
"F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include/F2837xD_device.h", line 279: warning #303-D: typedef name has already been declared (with same type)
"F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include/F2837xD_device.h", line 280: warning #303-D: typedef name has already been declared (with same type)
"../Main.c", line 125 (col. 76): advice #2615-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "../Main.c"
 
Building file: "F:/Sw_Tools/TI/C2000/C2000Ware_3_01_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --opt_for_speed=2 --include_path="F:/Develop/C2000/Prealigner/F28379D/CPU1/Firmware" --include_path="F:/Sw_Tools/TI/SysBios/bios_6_83_00_18/packages/ti/posix/ccs" --include_path="F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/driverlib/f2837xd/driverlib" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/headers/include" --include_path="F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw" --include_path="F:/Develop/C2000/Prealigner/F28379D/CPU1/Firmware/F28379D_CPU1_RAM_Debug/syscfg" --cmd_file="configPkg/compiler.opt"  "F:/Sw_Tools/TI/C2000/C2000Ware_3_01_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Finished building: "F:/Sw_Tools/TI/C2000/C2000Ware_3_01_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
 
making ../src/sysbios/sysbios.a28FP ...
gmake[2]: Nothing to be done for 'all'.
Building target: "Firmware.out"
Invoking: C2000 Linker
"F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --opt_for_speed=2 --advice:performance=all --define=CPU1 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi -z -m"Firmware.map" --stack_size=0x200 --warn_sections -i"F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/lib" -i"F:/Sw_Tools/TI/CCS/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" -i"F:/Sw_Tools/TI/C2000/C2000Ware_MotorControl_SDK_3_01_00_00/c2000ware/driverlib/f2837xd/driverlib/ccs/Debug" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="Firmware_linkInfo.xml" --rom_model -o "Firmware.out" "./F2837xD_GlobalVariableDefs.obj" "./Main.obj" "./MotorControl.obj" "./MotorControlTimer.obj" "../cmd/F28379D_RAM_CPU1.cmd" -l"configPkg/linker.cmd"  -l"F:/Sw_Tools/TI/C2000/C2000Ware_3_01_00_00/device_support/f2837xd/headers/cmd/F2837xD_Headers_BIOS_cpu1.cmd" -ldriverlib.lib -llibc.a 
<Linking>
Finished building target: "Firmware.out"
 

**** Build Finished ****

  • It looks like in the failing cases, the target is set to "devkits.target.Generic" instead of "ti.targets.elf.C28_float" for some reason. How is the target configured in your project properties?

    Whitney

  • Hi Whitney,

    thank you very much for the quick reply!

    You are right. Changing the compiler version or switching from COFF to EABI will change the setting for XDCTools.

    After writing back "ti.targets.C28_float" the application will be compiled and linked without any problem.

    I think this is more a CCS problem than a problem of compiler or SYS/BIOS.


    Have a nice weekend and best regards - Bui