CC26xx sensortag debug官方例程出错
可以进入仿真界面,building也没有错误,使用的是sensortag的硬件和sensortag的例程,但是仿真开始后再停止,就会出现错误。
仿真器:XDS 110 USB 就是插在sensortag上那个黑色小板子
报错信息:No source available for "ti_sysbios_hal_Hwi_HwiProxy_Object__delete__S__mangled__() at F:/ccs V6.1 code\SensorTag\FlashROM\SensorTag.out:{3} 0x1001bbd8{4}"
stack.exe那个程序也装了几次了,2.0和2.1版本都试过,IDE是ccs V6.1最新版本
希望TI的工程师可以解答一下,非常感谢!
http://e2e.ti.com/support/wireless_connectivity/f/538/t/404236
这个网页中的描述和我的情况类似,如下:
Q: I am using pre-release silicon (Rev2.0 or Rev2.1) and my software does not run or never reaches main(). When I stop the CPU is stopped in a function called hisCodeIsBuiltForCC26xxHwRev22AndLater_HaltIfViolated. What is wrong?
A:
Support for pre-release silicon is only available in the BLE-Stack V2.0 release using the following procedure. There is no support of pre-release silicon inBLE-Stack V2.1+.
The default CC26XXWARE path to setup files / drivers is set to support release material (Rev2.2). To run the software on older material this variable needs to be changed.
IAR:
- Goto Tools->Configure Customer Argument Variables-->CC26xx TI-RTOS-->CC26XXWARE
Modify CC26XXWARE
- From: C:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829
- To C:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_00_06_14829
- Delete OS kernel libraries folder: IAR\Application\CC2640\configPkg [IAR builds only]
- Delete OS kernel source build folder: IAR\Config\src [IAR builds only]
- Close workspace and re-open for changes to take effect
CCS:
- Right-click the Application project, Select Properties
- Goto Resource->Linked Resources, "Path Variables" tab
- Follow the above instructions to modify CC26XXWARE
- Goto Build->ARM compiler->Advanced Options->Predefined symbols
Look for CC2650F128RGZ and replace it with CC2650F128RGZ_R21 or CC2650F128RGZ_R20. - Rebuild the Application project
但是我按照他的设置重新来编译,debug的时候还是同样的情况,可以进入main(),但是每次进入最后一个子函数bios_start()都会跑飞,暂停后出现报错。
有人遇到同样的情况么?
急切希望TI的工程师可以解答疑问!
非常感谢!
还有我的sensortag版本是Rev:1.2 passed标签是2015年2月
哈哈,友情帮顶
友情感谢!
刷刷存在感,别沉下去....
另外,真的没人解答么
正好也是这个问题,一起顶帖!