Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi all,
This is my first day working with a TI C2000 MCU and I have a question regarding building the project and the errors.
I have followed the step by step instruction guide: F2837xD Firmware Development Package to get stated with a fresh new blinky project. I followed each step and did everything properly (I guess). And then when I build it, it shows the following error.
Building target: "PWM_Test.out"
Invoking: C2000 Linker
"/home/pc/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.12.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --advice:performance=all --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi -z -m"PWM_Test.map" --warn_sections -i"/home/kartikeya/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.12.1.LTS/lib" -i"/home/kartikeya/ti/C2000Ware_3_02_00_00_Software/device_support/f2837xd/common/cmd" -i"/home/kartikeya/ti/C2000Ware_3_02_00_00_Software/device_support/f2837xd/headers/cmd" -i"/home/kartikeya/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.12.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="PWM_Test_linkInfo.xml" --entry_point=code_start --rom_model -o "PWM_Test.out" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./main.obj" -l"/home/kartikeya/ti/C2000Ware_3_02_00_00_Software/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd" -l"/home/kartikeya/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.12.1.LTS/lib/rts2800_fpu32.lib" -l"/home/kartikeya/ti/C2000Ware_3_02_00_00_Software/device_support/f2837xd/headers/cmd/F2837xD_Headers_nonBIOS_cpu1.cmd"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
code_start
error #10234-D: unresolved symbols remain
warning #10062-D: entry-point symbol "code_start" undefined
error #10010: errors encountered during linking; "PWM_Test.out" not built
>> Compilation failure
makefile:145: recipe for target 'PWM_Test.out' failed
makefile:141: recipe for target 'all' failed
gmake[1]: *** [PWM_Test.out] Error 1
gmake: *** [all] Error 2
**** Build Finished ****
I have attached various configurations on various windows (especially of the linker) and I am unable to decipher what it says and am unsure on how to proceed. Any help would be greatly appreciated!
Linker File Paths:
Main Project Window:
Symbol Management Pane:




