微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI WIFI设计交流 > CC3200 SPI_DMA编译不能过问题

CC3200 SPI_DMA编译不能过问题

时间:10-02 整理:3721RD 点击:

调用SPI_DMA函数,出现以下错误,希望高手TI帮忙解答,谢谢!
**** Build of configuration Release for project spi_demo ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib/" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc/" -g --define=ccs --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
"../main.c", line 344: warning #179-D: variable "ulDummy" was declared but never referenced
"../main.c", line 370: warning #179-D: variable "ulRecvData" was declared but never referenced
'Finished building: ../main.c'
' '
'Building file: ../pinmux.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib/" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc/" -g --define=ccs --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="pinmux.pp" "../pinmux.c"
'Finished building: ../pinmux.c'
' '
'Building file: C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/startup_ccs.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib/" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc/" -g --define=ccs --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="startup_ccs.pp" "C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/startup_ccs.c"
'Finished building: C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/startup_ccs.c'
' '
'Building file: C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/uart_if.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib/" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc/" -g --define=ccs --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="uart_if.pp" "C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/uart_if.c"
'Finished building: C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/uart_if.c'
' '
'Building target: spi_demo.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --abi=eabi -me -g --define=ccs --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off -z -m"spi_demo.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="spi_demo_linkInfo.xml" --rom_model -o "spi_demo.out" "./main.obj" "./pinmux.obj" "./startup_ccs.obj" "./uart_if.obj" "../cc3200v1p32.cmd" -l"libc.a" -l"C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/spi_demo_3200/ccs/../../../driverlib/ccs/Release/driverlib.a"
<Linking>

undefined first referenced
symbol in file
--------- ----------------
UDMAInit ./main.obj
UDMASetupTransfer ./main.obj

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

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

**** Build Finished ****

可以参考例子如附件SPI-DMA

hello,你好,我使用了此demo,master的时候叫enter one key,但是我输入了没有反应,应该是卡死了,我使用的是cygwin编译的,无法debug,请问此demo除了修改SetupTransfer-》UDMASetupTransfer ,还要修改什么呢?


********************************************
CC3200 SPI Demo Application!
Birate: 10000000
DMA size:1024
********************************************

Start the slave and press any key to transmit data....

就不动了

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top