TI中文支持网
TI专业的中文技术问题咨询交流网站

CC2640R2F例程Mutli Role添加 OAD 问题

您好,我按照file:///C:/Users/Liuzhengli/Desktop/simplelink_academy_cc2640r2sdk_4_20_03_00__win/simplelink_academy_cc2640r2sdk_4_20_03_00/modules/blestack/ble_enhanced_oad/ble_enhanced_oad.html中提供的在Multi Role例程中添加了OAD,编译成功后,我通过BTool 想进行升级,是在已经烧录 simpleperipheral片外OAD的板子上,但是升级失败,请问是什么原因,可以提供帮助吗,我不知道哪儿出错,谢谢

日志在这儿,我截取了最后的部分:

[723] : <Tx> – 09:36:22.573
-Type : 0x01 (Command)
-OpCode : 0xFDB6 (GATT_WriteNoRsp)
-Data Length : 0xC0 (192) byte(s)
ConnHandle : 0x0000 (0)
Handle : 0x0036 (54)
Value : D3:00:00:00:02:00:00:00:A7:0B:00:00:00:0F:08:00:
00:00:FF:F0:00:01:00:00:00:FF:F0:00:01:00:00:04:
FF:F0:00:01:00:00:04:FF:F0:00:03:00:00:FF:F0:00:
B0:C0:00:00:20:05:00:20:FD:C4:00:00:44:01:00:20:
26:C5:00:00:00:01:00:20:47:C5:00:00:A4:01:00:20:
66:C5:00:00:78:01:00:20:84:C5:00:00:C8:01:00:20:
A0:C5:00:00:E4:01:00:20:B0:C5:00:00:30:04:00:20:
B8:C5:00:00:40:04:00:20:C0:C5:00:00:00:05:00:20:
C8:C5:00:00:10:05:00:20:D0:C5:00:00:00:1B:00:20:
D8:C5:00:00:00:02:00:20:E0:C5:00:00:EC:01:00:20:
E7:C5:00:00:F0:01:00:20:EE:C5:00:00:F8:01:00:20:
F5:C5:00:00:04:02:00:20:FF:FF:FF:FF
Dump(Tx):
0000:01 B6 FD C0 00 00 36 00 D3 00 00 00 02 00 00 00 ……6………
0010:A7 0B 00 00 00 0F 08 00 00 00 FF F0 00 01 00 00 …………….
0020:00 FF F0 00 01 00 00 04 FF F0 00 01 00 00 04 FF …………….
0030:F0 00 03 00 00 FF F0 00 B0 C0 00 00 20 05 00 20 ………… ..0040:FD C4 00 00 44 01 00 20 26 C5 00 00 00 01 00 20 ….D.. &……0050:47 C5 00 00 A4 01 00 20 66 C5 00 00 78 01 00 20 G…… f…x..0060:84 C5 00 00 C8 01 00 20 A0 C5 00 00 E4 01 00 20 ……. …….0070:B0 C5 00 00 30 04 00 20 B8 C5 00 00 40 04 00 20 ….0.. ….@..0080:C0 C5 00 00 00 05 00 20 C8 C5 00 00 10 05 00 20 ……. …….0090:D0 C5 00 00 00 1B 00 20 D8 C5 00 00 00 02 00 20 ……. …….00A0:E0 C5 00 00 EC 01 00 20 E7 C5 00 00 F0 01 00 20 ……. …….00B0:EE C5 00 00 F8 01 00 20 F5 C5 00 00 04 02 00 20 ……. …….00C0:FF FF FF FF ….
——————————————————————–
[724] : <Rx> – 09:36:22.675
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (SUCCESS)
OpCode : 0xFDB6 (GATT_WriteNoRsp)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 B6 FD 00 ………
——————————————————————–
[725] : <Info> – 09:36:22.948
OAD ImageControl Response
Command ID = 0x12 (ImageBlockWriteRsp)
Status = 0x01 (OAD_CRC_ERR)
——————————————————————–
[726] : <Rx> – 09:36:22.948
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x0E (14) bytes(s)
Event : 0x051B (1307) (ATT_HandleValueNotification)
Status : 0x00 (0) (SUCCESS)
ConnHandle : 0x0000 (0)
PduLen : 0x08 (8)
Handle : 0x003A (58)
Value : 12:01:D4:00:00:00
Dump(Rx):
0000:04 FF 0E 1B 05 00 00 00 08 3A 00 12 01 D4 00 00 ………:……
0010:00 .
——————————————————————–
[727] : <Error> – 09:36:22.957
OAD Download Failed
——————————————————————–
[728] : <Info> – 09:36:22.963
OAD – Restore Connection Settings
——————————————————————–
[729] : <Error> – 09:36:22.966
OAD Download Not Successful
——————————————————————–
[730] : <Tx> – 09:36:22.966
-Type : 0x01 (Command)
-OpCode : 0x2016 (HCI_LEReadRemoteUsedFeatures)
-Data Length : 0x02 (2) byte(s)
Handle : 0x0000 (0)
Dump(Tx):
0000:01 16 20 02 00 00 .. …
——————————————————————–
[731] : <Rx> – 09:36:23.014
-Type : 0x04 (Event)
-EventCode : 0x003E (HCI_LE_GenericReportEvent)
-Data Length : 0x0C (12) bytes(s)
LE Event Code : 0x04 (4) (HCI_LE_ReadRemoteUsedFeaturesCompleteEvent)
LE Event Code : 0x04 (4) (HCI_LE_ReadRemoteUsedFeaturesCompleteEvent)
Status : 0x00 (0) (SUCCESS)
ConnectionId : 0x0000 (0)
Features : 0x00000000000000FD (253) (
Encryption
Reject_Extended_Indication
Slave_Features_Exchange
Ping
Data_Packet_Length_Extension
Privacy
Extended_Scanner_Filter_Policies)
Dump(Rx):
0000:04 3E 0C 04 00 00 00 FD 00 00 00 00 00 00 00 .>………….
——————————————————————–
[732] : <Tx> – 09:36:23.014
-Type : 0x01 (Command)
-OpCode : 0xFE11 (GAP_UpdateLinkParamReq)
-Data Length : 0x0A (10) byte(s)
ConnHandle : 0x0000 (0)
IntervalMin : 0x0050 (80)
IntervalMax : 0x0050 (80)
ConnLatency : 0x0000 (0)
ConnTimeout : 0x07D0 (2000)
Dump(Tx):
0000:01 11 FE 0A 00 00 50 00 50 00 00 00 D0 07 ……P.P…..
——————————————————————–
[733] : <Rx> – 09:36:23.069
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (SUCCESS)
OpCode : 0xFE11 (GAP_UpdateLinkParamReq)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 11 FE 00 ………
——————————————————————–
[734] : <Rx> – 09:36:23.124
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x0B (11) bytes(s)
Event : 0x0607 (1543) (GAP_LinkParamUpdate)
Status : 0x00 (0) (SUCCESS)
ConnHandle : 0x0000 (0)
ConnInterval : 0x0050 (80)
ConnLatency : 0x0000 (0)
ConnTimeout : 0x07D0 (2000)
Dump(Rx):
0000:04 FF 0B 07 06 00 00 00 50 00 00 00 D0 07 ……..P…..
——————————————————————–

这是我在编译Multi Role app 中控制台显示的信息,是因为这个原因吗?

Kevin Qiu1:

是的,调用工具失败了
Mutli Role添加 OAD 参考这里:dev.ti.com/…/node

user6172527:

回复 Kevin Qiu1:

您好,请问在已有工程中添加OAD 是要在电脑里预先安装Python3 是吗?

Kevin Qiu1:

回复 user6172527:

SDK中已经有这个工具了,不用安装python
参考C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/docs/blestack/ble_user_guide/html/ble-stack-3.x-guide/index-oad-cc2640.html
和C:\ti\simplelink_cc2640r2_sdk_4_10_00_10\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_onchip例程中的用法

赞(0)
未经允许不得转载:TI中文支持网 » CC2640R2F例程Mutli Role添加 OAD 问题
分享到: 更多 (0)