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.

EDMA3例程调试出错



调试6678的EDMALI例程,但是出现如下错误,该加的库文件都加了啊。

**** Build of configuration Debug for project DMA ****

D:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../edma_test.c'
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="E:/Program Files/Texas Instruments/pdk_C6678_1_0_0_9_beta2/packages/ti/csl" --include_path="E:/Program Files/Texas Instruments/pdk_C6678_1_0_0_9_beta2/packages" --include_path="D:/ti/ccsv5/tools/compiler/c6000/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="edma_test.pp"  "../edma_test.c"
'Finished building: ../edma_test.c'
' '
'Building target: DMA.out'
'Invoking: C6000 Linker'
"D:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --display_error_number --diag_warning=225 --abi=coffabi -z -m"DMA.map" --warn_sections -i"D:/ti/ccsv5/tools/compiler/c6000/lib" -i"D:/ti/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "DMA.out"  "./edma_test.obj" -l"D:\ti\ccsv5\tools\compiler\c6000\include\ti\csl\lib\ti.csl.ae66" -l"rts6600_coff.lib" "../test_lnk.cmd"
<Linking>

 undefined                           first referenced
  symbol                                 in file    
 ---------                           ----------------
 _CSL_edma3ChannelClose              ./edma_test.obj
 _CSL_edma3ChannelOpen               ./edma_test.obj
 _CSL_edma3Close                     ./edma_test.obj
 _CSL_edma3GetHwStatus               ./edma_test.obj
 _CSL_edma3GetParamHandle            ./edma_test.obj
 _CSL_edma3HwChannelControl          ./edma_test.obj
 _CSL_edma3HwChannelSetupParam       ./edma_test.obj
 _CSL_edma3HwChannelSetupQue         ./edma_test.obj
 _CSL_edma3HwChannelSetupTriggerWord ./edma_test.obj
 _CSL_edma3HwControl                 ./edma_test.obj
 _CSL_edma3Init                      ./edma_test.obj
 _CSL_edma3Open                      ./edma_test.obj
 _CSL_edma3ParamSetup                ./edma_test.obj
 _CSL_edma3ParamWriteWord            ./edma_test.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "DMA.out" not built

>> Compilation failure
gmake: *** [DMA.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

也参考了https://www.deyisupport.com/question_answer/f/53/t/5842.aspx的解决方法,但是不行啊,貌似是编译能通过但是link不了。把文件附上了

DMA.rar
  • 你这个问题一定是没有找到CSL library造成的,你可以直接在项目属性里指定lib的绝对路径来解决,另外,你的PDK版本太老了,最好是到TI网站上下载最新的MCSDK,修正了以前版本存在的一些bug。