微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > CC2560 例程在v6.1 IAR上报错

CC2560 例程在v6.1 IAR上报错

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

我下的是CC256x MSP430 Bluetopia SDK V1.4 R1在V5.5的IAR上可以正常编译,但是在v6.1上  项目软件变为新版本后,编译就报错

报错信息如下:

Updating build tree...
BTPSKRNL.c
BTPSVEND.c
BTVS.c
Warning[Pe186]: pointless comparison of unsigned integer with zero C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Bluetopia\btvs\BTVS.c 167
Warning[Pe186]: pointless comparison of unsigned integer with zero C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Bluetopia\btvs\BTVS.c 429
Warning[Pe186]: pointless comparison of unsigned integer with zero C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Bluetopia\btvs\BTVS.c 643
Warning[Pe186]: pointless comparison of unsigned integer with zero C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Bluetopia\btvs\BTVS.c 643
Warning[Pe186]: pointless comparison of unsigned integer with zero C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Bluetopia\btvs\BTVS.c 729
HAL.c
HCITRANS.c
low_level_init.c
Main.c
SPPDemo.c
sprintf.c
Linking
Error[e46]: Undefined external "HCI_Send_Raw_Command" referred in BTVS ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A
Exp\Obj\BTVS.r43 )
Error[e46]: Undefined external "HCI_Reconfigure_Driver" referred in BTVS ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A Exp\
Obj\BTVS.r43 )
Error[e46]: Undefined external "BSC_QueryStackIdle" referred in Main ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A Exp\Obj\
Main.r43 )
Error[e46]: Undefined external "BSC_Initialize" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A Exp\Obj\
SPPDemo.r43 )
Error[e46]: Undefined external "HCI_Version_Supported" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A
Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Query_Local_BD_ADDR" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "L2CA_Set_Link_Connection_Configuration" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug
- MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "HCI_Command_Supported" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "HCI_Write_Default_Link_Policy_Settings" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "BSC_Shutdown" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A Exp\Obj\
SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Set_Discoverability_Mode" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Set_Connectability_Mode" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Set_Pairability_Mode" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Register_Remote_Authentication" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "HCI_Delete_Stored_Link_Key" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Perform_Inquiry" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A
Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Initiate_Bonding" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A
Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_End_Bonding" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A Exp\
Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Authentication_Response" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Set_Local_Device_Name" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Query_Local_Device_Name" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Set_Class_Of_Device" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Query_Class_Of_Device" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Query_Remote_Device_Name" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "HCI_Sniff_Mode" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A Exp\
Obj\SPPDemo.r43 )
Error[e46]: Undefined external "HCI_Exit_Sniff_Mode" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A
Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Open_Server_Port" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A
Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Register_Raw_SDP_Record" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Close_Server_Port" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SDP_Delete_Service_Record" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Open_Remote_Port" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Close_Port" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A Exp\
Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Data_Read" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A Exp\
Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Data_Write" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug - MSP430F5438A Exp\
Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Get_Configuration_Parameters" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Set_Configuration_Parameters" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Get_Queuing_Parameters" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Set_Queuing_Parameters" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "GAP_Query_Connection_Handle" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "SPP_Respond_Port_Information" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error[e46]: Undefined external "HCI_Register_Event_Callback" referred in SPPDemo ( C:\ti\Connectivity\CC256X BT\CC256x MSP430 Bluetopia SDK\v1.4 R1\MSP430_Experimentor\Samples\SPPDemo\Projects\IAR\Debug -
MSP430F5438A Exp\Obj\SPPDemo.r43 )
Error while running Linker

Total number of errors: 41
Total number of warnings: 5

请问是不是linker需要重新设置呢。如果是请问要设置哪个地方呢

可以试一下如下设置

选定工程 options->General Options->Library Configuration下面library选择None

thanks,E2E  TI上看到一个图  照着设置后编译OK了 

http://e2e.ti.com/support/wireless_connectivity/f/660/t/336742.aspx

现在例程编译通过了  打算移植到F5249上了  要是遇到什么问题再来请教 >_<

请问你有CC256x MSP430 Bluetopia SDK V1.4 R1吗?我找了很久都没有下载到,我邮箱pcjiushizhu@qq.com ,谢谢

谢谢你!照着你给的线索终于解决了新版本的问题。谢谢!

-C $PROJ_DIR$\..\..\..\..\Bluetopia\lib\IAR\DefaultMTU\libBluetopia.a -C $PROJ_DIR$\..\..\..\..\Bluetopia\profiles\GATT\lib\server\IAR\libSS1BTGAT.a -C $PROJ_DIR$\..\..\..\..\Bluetopia\profiles\GAPS\lib\IAR\libSS1BTGAP.a

请问您是如何移植到5529上的?谢谢!

现在最新的版本是1.4 R2  ,建议您下载 http://www.ti.com/tool/stonestreetone-bt-sdk

我也是才编译好F5438A的例程  我的demo板是自己画的  F5249   你说的5529 没有测试  不过v14 R2\MSP430_Eperimentor\Hardware下面 不是有个5529的文件夹么   你可以参考下  5529 肯定是没问题的

我现在接下来要移植到5249    任重道远啊  不过5249 价格比5529 和5438A便宜多了   >_<

在官网可以下     最新R2 版本    当天申请 第二天就可以收到下载链接了

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

网站地图

Top