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.

CCS6调试问题

用的芯片是F2812.编译没有报错,但是无.out文件生成,CDT Build Console显示临时文件有错,求指导!CDT Build Console详细信息如下:

**** Build of configuration Debug for project SRMC ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
'Building file: ../main.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp"  "../main.c"
"C:\Users\CAIHAI~1\AppData\Local\Temp\0762010", ERROR!   at line 343: [E0003] Syntax error - Operand 1
         OUT 1, 000ch

"C:\Users\CAIHAI~1\AppData\Local\Temp\0762010", ERROR!   at line 349: [E0003] Syntax error - Operand 1
         OUT 0, 000ch

2 Assembly Errors, No Assembly Warnings

Errors in Source - Assembler Aborted

>> Compilation failure
gmake: *** [main.obj] Error 1
'Building file: ../srm.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="srm.pp"  "../srm.c"
'Finished building: ../srm.c'
' '
'Building file: ../source/DSP28_Adc.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_Adc.pp" --obj_directory="source"  "../source/DSP28_Adc.c"
'Finished building: ../source/DSP28_Adc.c'
' '
'Building file: ../source/DSP28_DefaultIsr.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_DefaultIsr.pp" --obj_directory="source"  "../source/DSP28_DefaultIsr.c"
'Finished building: ../source/DSP28_DefaultIsr.c'
' '
'Building file: ../source/DSP28_Ev.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_Ev.pp" --obj_directory="source"  "../source/DSP28_Ev.c"
'Finished building: ../source/DSP28_Ev.c'
' '
'Building file: ../source/DSP28_GlobalVariableDefs.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_GlobalVariableDefs.pp" --obj_directory="source"  "../source/DSP28_GlobalVariableDefs.c"
'Finished building: ../source/DSP28_GlobalVariableDefs.c'
' '
'Building file: ../source/DSP28_Gpio.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_Gpio.pp" --obj_directory="source"  "../source/DSP28_Gpio.c"
'Finished building: ../source/DSP28_Gpio.c'
' '
'Building file: ../source/DSP28_InitPeripherals.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_InitPeripherals.pp" --obj_directory="source"  "../source/DSP28_InitPeripherals.c"
'Finished building: ../source/DSP28_InitPeripherals.c'
' '
'Building file: ../source/DSP28_PieCtrl.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_PieCtrl.pp" --obj_directory="source"  "../source/DSP28_PieCtrl.c"
'Finished building: ../source/DSP28_PieCtrl.c'
' '
'Building file: ../source/DSP28_PieVect.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_PieVect.pp" --obj_directory="source"  "../source/DSP28_PieVect.c"
'Finished building: ../source/DSP28_PieVect.c'
' '
'Building file: ../source/DSP28_SysCtrl.c'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="D:/SRMC" --include_path="D:/SRMC/include" --advice:performance=all -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_SysCtrl.pp" --obj_directory="source"  "../source/DSP28_SysCtrl.c"
'Finished building: ../source/DSP28_SysCtrl.c'
' '
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • 可能是语法错误:

    "C:\Users\CAIHAI~1\AppData\Local\Temp\0762010", ERROR!   at line 343: [E0003] Syntax error - Operand 1
             OUT 1, 000ch

    "C:\Users\CAIHAI~1\AppData\Local\Temp\0762010", ERROR!   at line 349: [E0003] Syntax error - Operand 1
             OUT 0, 000ch

    查下这两行啊,变量名、拼写、符号等,看看是否有错误的。

  • 刚才的问题解决后又出现一下错误,求解答!

    Description Resource Path Location Type
    #10010 errors encountered during linking; "Switched Reluctance Motor Control.out" not built Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_channel" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_channel" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_channel" redefined: first defined in "./main.obj"; redefined in "./srm.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_count" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_count" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_count" redefined: first defined in "./main.obj"; redefined in "./srm.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_Msmt_Update" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_Msmt_Update" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_Msmt_Update" redefined: first defined in "./main.obj"; redefined in "./srm.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_old_count" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_old_count" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_old_count" redefined: first defined in "./main.obj"; redefined in "./srm.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_slice" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_slice" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_slice" redefined: first defined in "./main.obj"; redefined in "./srm.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_SRM" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_SRM" redefined: first defined in "./main.obj"; redefined in "./srm.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_Update_Velocity" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_Update_Velocity" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj" Switched Reluctance Motor Control C/C++ Problem
    #10056 symbol "_Update_Velocity" redefined: first defined in "./main.obj"; redefined in "./srm.obj" Switched Reluctance Motor Control C/C++ Problem
    #10210-D creating ".stack" section with default size of 0x400; use the -stack option to change the default size Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section ".bss" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "AdcRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "CpuTimer0RegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "CpuTimer1RegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "CpuTimer2RegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "CsmPwlFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "CsmRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "DevEmuRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "ECanaMboxesFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "ECanaRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "EvaRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "EvbRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "FlashRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "GpioDataRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "GpioMuxRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "McbspaRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "PieCtrlRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "PieVectTable" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "SciaRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "ScibRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "SpiaRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "SysCtrlRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "XintfRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #10247-D creating output section "XIntruptRegsFile" without a SECTIONS specification Switched Reluctance Motor Control C/C++ Problem
    #16002-D build attribute vendor section TI missing in "../lib/rts2800n.lib<_lock.obj>": compatibility cannot be determined Switched Reluctance Motor Control C/C++ Problem
    #16002-D build attribute vendor section TI missing in "../lib/rts2800n.lib<boot.obj>": compatibility cannot be determined Switched Reluctance Motor Control C/C++ Problem
    #16002-D build attribute vendor section TI missing in "../lib/rts2800n.lib<exit.obj>": compatibility cannot be determined Switched Reluctance Motor Control C/C++ Problem


    **** Build of configuration Debug for project Switched Reluctance Motor Control ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../main.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
    'Finished building: ../main.c'
    ' '
    'Building file: ../srm.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="srm.pp" "../srm.c"
    'Finished building: ../srm.c'
    ' '
    'Building file: ../source/DSP28_Adc.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_Adc.pp" --obj_directory="source" "../source/DSP28_Adc.c"
    'Finished building: ../source/DSP28_Adc.c'
    ' '
    'Building file: ../source/DSP28_DefaultIsr.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_DefaultIsr.pp" --obj_directory="source" "../source/DSP28_DefaultIsr.c"
    'Finished building: ../source/DSP28_DefaultIsr.c'
    ' '
    'Building file: ../source/DSP28_Ev.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_Ev.pp" --obj_directory="source" "../source/DSP28_Ev.c"
    'Finished building: ../source/DSP28_Ev.c'
    ' '
    'Building file: ../source/DSP28_GlobalVariableDefs.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_GlobalVariableDefs.pp" --obj_directory="source" "../source/DSP28_GlobalVariableDefs.c"
    'Finished building: ../source/DSP28_GlobalVariableDefs.c'
    ' '
    'Building file: ../source/DSP28_Gpio.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_Gpio.pp" --obj_directory="source" "../source/DSP28_Gpio.c"
    'Finished building: ../source/DSP28_Gpio.c'
    ' '
    'Building file: ../source/DSP28_InitPeripherals.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_InitPeripherals.pp" --obj_directory="source" "../source/DSP28_InitPeripherals.c"
    'Finished building: ../source/DSP28_InitPeripherals.c'
    ' '
    'Building file: ../source/DSP28_PieCtrl.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_PieCtrl.pp" --obj_directory="source" "../source/DSP28_PieCtrl.c"
    'Finished building: ../source/DSP28_PieCtrl.c'
    ' '
    'Building file: ../source/DSP28_PieVect.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_PieVect.pp" --obj_directory="source" "../source/DSP28_PieVect.c"
    'Finished building: ../source/DSP28_PieVect.c'
    ' '
    'Building file: ../source/DSP28_SysCtrl.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC/include" --include_path="C:/Users/caihaisen/Desktop/SR/SRMC" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="source/DSP28_SysCtrl.pp" --obj_directory="source" "../source/DSP28_SysCtrl.c"
    'Finished building: ../source/DSP28_SysCtrl.c'
    ' '
    'Building target: Switched Reluctance Motor Control.out'
    'Invoking: C2000 Linker'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt -g --diag_warning=225 --display_error_number --diag_wrap=off -z -m"Switched Reluctance Motor Control.map" --warn_sections -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" --reread_libs --display_error_number --diag_wrap=off --xml_link_info="Switched Reluctance Motor Control_linkInfo.xml" --rom_model -o "Switched Reluctance Motor Control.out" "./main.obj" "./srm.obj" "./source/DSP28_Adc.obj" "./source/DSP28_DefaultIsr.obj" "./source/DSP28_Ev.obj" "./source/DSP28_GlobalVariableDefs.obj" "./source/DSP28_Gpio.obj" "./source/DSP28_InitPeripherals.obj" "./source/DSP28_PieCtrl.obj" "./source/DSP28_PieVect.obj" "./source/DSP28_SysCtrl.obj" "../lib/rts2800n.lib" "../cmd/2812_RAM_lnk.cmd" -l"libc.a" 
    <Linking>
    warning #16002-D: build attribute vendor section TI missing in "../lib/rts2800n.lib<boot.obj>": compatibility cannot be determined
    warning #16002-D: build attribute vendor section TI missing in "../lib/rts2800n.lib<exit.obj>": compatibility cannot be determined
    warning #16002-D: build attribute vendor section TI missing in "../lib/rts2800n.lib<_lock.obj>": compatibility cannot be determined
    error #10056: symbol "_Update_Velocity" redefined: first defined in "./main.obj"; redefined in "./srm.obj"
    error #10056: symbol "_SRM" redefined: first defined in "./main.obj"; redefined in "./srm.obj"
    error #10056: symbol "_old_count" redefined: first defined in "./main.obj"; redefined in "./srm.obj"
    error #10056: symbol "_Msmt_Update" redefined: first defined in "./main.obj"; redefined in "./srm.obj"
    error #10056: symbol "_channel" redefined: first defined in "./main.obj"; redefined in "./srm.obj"
    error #10056: symbol "_slice" redefined: first defined in "./main.obj"; redefined in "./srm.obj"
    error #10056: symbol "_count" redefined: first defined in "./main.obj"; redefined in "./srm.obj"
    error #10056: symbol "_Update_Velocity" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj"
    error #10056: symbol "_SRM" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj"
    error #10056: symbol "_old_count" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj"
    error #10056: symbol "_Msmt_Update" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj"
    error #10056: symbol "_channel" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj"
    error #10056: symbol "_slice" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj"
    error #10056: symbol "_count" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_DefaultIsr.obj"
    error #10056: symbol "_Update_Velocity" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj"
    error #10056: symbol "_old_count" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj"
    error #10056: symbol "_Msmt_Update" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj"
    error #10056: symbol "_channel" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj"
    error #10056: symbol "_slice" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj"
    error #10056: symbol "_count" redefined: first defined in "./main.obj"; redefined in "./source/DSP28_Ev.obj"
    warning #10247-D: creating output section "FlashRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "CsmPwlFile" without a SECTIONS specification
    warning #10247-D: creating output section "CpuTimer2RegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "CpuTimer0RegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "CpuTimer1RegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "ScibRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "SciaRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "CsmRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "SpiaRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "XIntruptRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "PieCtrlRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "AdcRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "SysCtrlRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "XintfRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "GpioDataRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "GpioMuxRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "McbspaRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "EvaRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "EvbRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "ECanaRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "DevEmuRegsFile" without a SECTIONS specification
    warning #10247-D: creating output section "PieVectTable" without a SECTIONS specification
    warning #10247-D: creating output section "ECanaMboxesFile" without a SECTIONS specification

    warning #10247-D: creating output section ".bss" without a SECTIONS specification
    >> Compilation failure
    warning #10210-D: creating ".stack" section with default size of 0x400; use the -stack option to change the default size
    error #10010: errors encountered during linking; "Switched Reluctance Motor Control.out" not built
    gmake: *** [Switched Reluctance Motor Control.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • 你没有加XXXXXx_Headers_nonBIOS.cmd 文件到项目里

  • 这两个路径下的文件在那里找呢,不知道他具体指的是那几行的代码?

  • 能给个下载链接吗?谢谢