Tool/software: Code Composer Studio
hi,
AM new in TI processor. Am trying to do ADC program in TMS320F2812. before i go to ADC am trying to blink LED by running code from flash memory.
by referring documents and links i tried to build some codes for blinking LEDs. But unfortunately its not getting build and throwing some error.
I checked the linker and other options but not getting idea from where the error is getting generating.
The errors are shown below. and the code has been attached for reference.
Kindly provide me some solution so that i can move to forward.
**** Clean-only build of configuration Debug for project 2812__LED_Blink ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O
DEL /F "2812__LED_Blink.hex" "2812__LED_Blink.out"
DEL /F "DSP281x_CSMPasswords.obj" "DSP281x_GlobalVariableDefs.obj" "DSP281x_MemCopy.obj" "DSP281x_PieCtrl.obj" "DSP281x_PieVect.obj" "DSP281x_SysCtrl.obj" "blink.obj"
DEL /F "DSP281x_GlobalVariableDefs.d" "DSP281x_MemCopy.d" "DSP281x_PieCtrl.d" "DSP281x_PieVect.d" "DSP281x_SysCtrl.d" "blink.d"
DEL /F "DSP281x_CSMPasswords.d"
Could Not Find D:\workspace\TI_DSP\TI2812\2812__LED_Blink\Debug\2812__LED_Blink.hex
Could Not Find D:\workspace\TI_DSP\TI2812\2812__LED_Blink\Debug\DSP281x_CSMPasswords.obj
Could Not Find D:\workspace\TI_DSP\TI2812\2812__LED_Blink\Debug\DSP281x_GlobalVariableDefs.d
Could Not Find D:\workspace\TI_DSP\TI2812\2812__LED_Blink\Debug\DSP281x_CSMPasswords.d
Finished clean
**** Build Finished ****
**** Build of configuration Debug for project 2812__LED_Blink ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O
Building file: "../DSP281x_CSMPasswords.asm"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --include_path="D:/workspace/TI_DSP/TI2812/2812__LED_Blink" --include_path="C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="DSP281x_CSMPasswords.d_raw" "../DSP281x_CSMPasswords.asm"
Finished building: "../DSP281x_CSMPasswords.asm"
Building file: "../DSP281x_MemCopy.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --include_path="D:/workspace/TI_DSP/TI2812/2812__LED_Blink" --include_path="C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="DSP281x_MemCopy.d_raw" "../DSP281x_MemCopy.c"
Finished building: "../DSP281x_MemCopy.c"
Building file: "../DSP281x_PieCtrl.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --include_path="D:/workspace/TI_DSP/TI2812/2812__LED_Blink" --include_path="C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="DSP281x_PieCtrl.d_raw" "../DSP281x_PieCtrl.c"
Finished building: "../DSP281x_PieCtrl.c"
Building file: "../DSP281x_PieVect.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --include_path="D:/workspace/TI_DSP/TI2812/2812__LED_Blink" --include_path="C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="DSP281x_PieVect.d_raw" "../DSP281x_PieVect.c"
Finished building: "../DSP281x_PieVect.c"
Building file: "../DSP281x_SysCtrl.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --include_path="D:/workspace/TI_DSP/TI2812/2812__LED_Blink" --include_path="C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="DSP281x_SysCtrl.d_raw" "../DSP281x_SysCtrl.c"
Finished building: "../DSP281x_SysCtrl.c"
Building file: "../DSP281x_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --include_path="D:/workspace/TI_DSP/TI2812/2812__LED_Blink" --include_path="C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="DSP281x_GlobalVariableDefs.d_raw" "../DSP281x_GlobalVariableDefs.c"
Finished building: "../DSP281x_GlobalVariableDefs.c"
Building file: "../blink.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --include_path="D:/workspace/TI_DSP/TI2812/2812__LED_Blink" --include_path="C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="blink.d_raw" "../blink.c"
Finished building: "../blink.c"
Building target: "2812__LED_Blink.out"
Invoking: C2000 Linker
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"2812__LED_Blink.map" --stack_size=0x400 --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/lib" -i"D:/workspace/TI_DSP/TI2812/2812__LED_Blink" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c2000/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="2812__LED_Blink_linkInfo.xml" --rom_model -o "2812__LED_Blink.out" "./DSP281x_CSMPasswords.obj" "./DSP281x_GlobalVariableDefs.obj" "./DSP281x_MemCopy.obj" "./DSP281x_PieCtrl.obj" "./DSP281x_PieVect.obj" "./DSP281x_SysCtrl.obj" "./blink.obj" "../DSP281x_Headers_nonBIOS.cmd" "../F2812.cmd" -llibc.a -lrts2800_ml.lib
<Linking>
warning #10247-D: creating output section "ramfuncs" without a SECTIONS specification
undefined first referenced
symbol in file
--------- ----------------
_ADCINT_ISR ./DSP281x_PieVect.obj
_CAPINT1_ISR ./DSP281x_PieVect.obj
_CAPINT2_ISR ./DSP281x_PieVect.obj
_CAPINT3_ISR ./DSP281x_PieVect.obj
_CAPINT4_ISR ./DSP281x_PieVect.obj
_CAPINT5_ISR ./DSP281x_PieVect.obj
_CAPINT6_ISR ./DSP281x_PieVect.obj
_CMP1INT_ISR ./DSP281x_PieVect.obj
_CMP2INT_ISR ./DSP281x_PieVect.obj
_CMP3INT_ISR ./DSP281x_PieVect.obj
_CMP4INT_ISR ./DSP281x_PieVect.obj
_CMP5INT_ISR ./DSP281x_PieVect.obj
_CMP6INT_ISR ./DSP281x_PieVect.obj
_DATALOG_ISR ./DSP281x_PieVect.obj
_ECAN0INTA_ISR ./DSP281x_PieVect.obj
_ECAN1INTA_ISR ./DSP281x_PieVect.obj
_EMUINT_ISR ./DSP281x_PieVect.obj
_ILLEGAL_ISR ./DSP281x_PieVect.obj
_INT13_ISR ./DSP281x_PieVect.obj
_INT14_ISR ./DSP281x_PieVect.obj
_MRINTA_ISR ./DSP281x_PieVect.obj
_MXINTA_ISR ./DSP281x_PieVect.obj
_NMI_ISR ./DSP281x_PieVect.obj
_PDPINTA_ISR ./DSP281x_PieVect.obj
_PDPINTB_ISR ./DSP281x_PieVect.obj
_PIE_RESERVED ./DSP281x_PieVect.obj
_RTOSINT_ISR ./DSP281x_PieVect.obj
_SCIRXINTA_ISR ./DSP281x_PieVect.obj
_SCIRXINTB_ISR ./DSP281x_PieVect.obj
_SCITXINTA_ISR ./DSP281x_PieVect.obj
_SCITXINTB_ISR ./DSP281x_PieVect.obj
_SPIRXINTA_ISR ./DSP281x_PieVect.obj
_SPITXINTA_ISR ./DSP281x_PieVect.obj
_T1CINT_ISR ./DSP281x_PieVect.obj
_T1OFINT_ISR ./DSP281x_PieVect.obj
_T1PINT_ISR ./DSP281x_PieVect.obj
_T1UFINT_ISR ./DSP281x_PieVect.obj
_T2CINT_ISR ./DSP281x_PieVect.obj
_T2OFINT_ISR ./DSP281x_PieVect.obj
_T2PINT_ISR ./DSP281x_PieVect.obj
_T2UFINT_ISR ./DSP281x_PieVect.obj
_T3CINT_ISR ./DSP281x_PieVect.obj
_T3OFINT_ISR ./DSP281x_PieVect.obj
_T3PINT_ISR ./DSP281x_PieVect.obj
_T3UFINT_ISR ./DSP281x_PieVect.obj
_T4CINT_ISR ./DSP281x_PieVect.obj
_T4OFINT_ISR ./DSP281x_PieVect.obj
_T4PINT_ISR ./DSP281x_PieVect.obj
_T4UFINT_ISR ./DSP281x_PieVect.obj
_TINT0_ISR ./DSP281x_PieVect.obj
_USER10_ISR ./DSP281x_PieVect.obj
_USER11_ISR ./DSP281x_PieVect.obj
_USER12_ISR ./DSP281x_PieVect.obj
_USER1_ISR ./DSP281x_PieVect.obj
_USER2_ISR ./DSP281x_PieVect.obj
_USER3_ISR ./DSP281x_PieVect.obj
_USER4_ISR ./DSP281x_PieVect.obj
_USER5_ISR ./DSP281x_PieVect.obj
_USER6_ISR ./DSP281x_PieVect.obj
_USER7_ISR ./DSP281x_PieVect.obj
_USER8_ISR ./DSP281x_PieVect.obj
_USER9_ISR ./DSP281x_PieVect.obj
_WAKEINT_ISR ./DSP281x_PieVect.obj
_XINT1_ISR ./DSP281x_PieVect.obj
_XINT2_ISR ./DSP281x_PieVect.obj
_rsvd_ISR ./DSP281x_PieVect.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "2812__LED_Blink.out" not built
>> Compilation failure
makefile:149: recipe for target '2812__LED_Blink.out' failed
makefile:145: recipe for target 'all' failed
gmake[1]: *** [2812__LED_Blink.out] Error 1
gmake: *** [all] Error 2
**** Build Finished ****
Thanks,
Nikhil TI2812.rar