微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > 串口透传的例程,编译不通过是什么问题?

串口透传的例程,编译不通过是什么问题?

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

在TI的wiki上http://processors.wiki.ti.com/index.php/File:SerialApp2.zip下载的串口透传例程,编译时出错,该怎么解决?其中从机和主机的工程中分别出现了

Error[e12]: Unable to open file 'C:\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\SerialApp2\Projects\ble\Libraries\CC2541DB\bin\

CC2541_ble_single_chip_peri.lib'和

Error[e12]: Unable to open file 'C:\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\SerialApp2\Projects\ble\Libraries\CC2541DB\bin\

CC2541_ble_single_chip_cent.lib'错误。

如何解决?还有这个lib文件是做啥子的?谢谢!

JF,

这。。。这。。。这。。。

你没有把库给编译进去。。。

这么做,你可以把这个工程解压到1.4版本协议栈安装目录下 的 相应 位置,然后再编译。

编译应该还会有问题,因为这个是基于老的1.2 版本协议栈开发的。

这种情况下,请参考TI 提供的从低版本到高版本移植的指导: http://processors.wiki.ti.com/index.php/LPRF_BLE_Porting_Projects

按照移植指导做了,出现了

Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment XDATA_N. Unable to place 2 block(s) (0xc02 byte(s) total) in 0x877 byte(s) of memory. The problem occurred while processing the segment placement command "-P(XDATA)XDATA_N=_XDATA_START-_XDATA_END", where at the moment of placement the available memory ranges were "XDATA:1689-1eff"

这个错误,还麻烦您帮着看下。谢谢

yan

我自己解决了,谢谢!

JF,

很棒:)

请再接再厉!

能不能告诉我,你是如何解决这个问题的?现在我也遇到类似问题,十分感谢!

现在,问题解决了,是iar版本问题。不能用IAR8.30,应该用IAR8.10.

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

网站地图

Top