TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2640r2 off-chip OAD使用 LAUNCHXL-CC2640R2 开发板升级失败问题?

hi  RT

我的编译环境如下:

协议栈使用:ble_sdk_2_02_01_18

BLE SDK使用:simplelink_cc2640r2_sdk_1_40_00_45

编译环境:Code Composer Studio 7.2.0

测试硬件:官方 LAUNCHXL-CC2640R2 开发板

蓝牙测试demo:simple_peripheral_cc2640r2lp_oad_offchip_app (BLE4.2协议)

成功编译好所有工程,bim_oad_offchip_cc2640r2lp_app、simple_peripheral_cc2640r2lp_oad_offchip_app、simple_peripheral_cc2640r2lp_oad_offchip_stack

使用手机给设备做OAD下载(OAD_IMG_E 、 OAD_IMG_TYPE_APP_ONLY),下载失败错误如下:

#define OAD_INCOMPATIBLE_IMAGE              9

或者

#define OAD_INCOMPATIBLE_FILE               11  //!< BIM or FW mismatch

1、 LAUNCHXL-CC2640R2开发板使用的off-chip OAD版本为0005,使用SensorTag自己带的Simple Peripheral APP 能下载成功(V0001),请问能提供下官方工具中这个下载文件(Simple_Peripheral_APP_OAD.bin)吗?

2、参考“CC2640 BLE OAD User's Guide.pdf”文件,里面很多在CCS CC2640r2 SDK1.40都有找不到对应文件或函数了,因此做这个功能很不顺利。

在off-chip OAD演示工程中编译生成的OAD文件simple_peripheral_cc2640r2lp_oad_offchip_app_FlashROM_oad.bin(OAD_IMG_E 、 OAD_IMG_TYPE_APP_ONLY)可以直接作为待升级文件?

(备注:我的理解,新的SDK已经可以直接生成待升级文件,不需要使用Python 的脚本oad_image_tool工具在生成一次)

popo:

看最新文档“Using BTool and CC2640R2 Launchpad as an OAD Downloader”部分,做实验获取到发送244数据那蓝牙就突然断线了。

http://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_1_40_00_45/docs/blestack/ble_user_guide/html/oad-ble-stack-3.x/oad_appendix.html#sec-oad-btool-verify-adv

问题:这里可能是什么原因会引起这个问题,或者我可以怎样trace下?

——————————————————————–[44] : <Info> – 03:50:19.426OAD – Update Connection Settings——————————————————————–[45] : <Info> – 03:50:19.431Start OAD Download——————————————————————–[46] : <Info> – 03:50:19.434Image Service Discovery——————————————————————–[47] : <Info> – 03:50:19.438OAD Send UUID Discovery——————————————————————–[48] : <Tx> – 03:50:19.428-Type : 0x01 (Command)-OpCode : 0xFE11 (GAP_UpdateLinkParamReq)-Data Length : 0x0A (10) byte(s) ConnHandle : 0x0000 (0) IntervalMin : 0x0050 (80) IntervalMax : 0x00C8 (200) ConnLatency : 0x0000 (0) ConnTimeout : 0x0064 (100)Dump(Tx):0000:01 11 FE 0A 00 00 50 00 C8 00 00 00 64 00 ……P…..d.——————————————————————–[49] : <Tx> – 03:50:19.441-Type : 0x01 (Command)-OpCode : 0xFD86 (GATT_DiscPrimaryServiceByUUID)-Data Length : 0x12 (18) byte(s) ConnHandle : 0x0000 (0) Value : 00:00:00:00:00:00:00:B0:00:40:51:04:C0:FF:00:F0Dump(Tx):0000:01 86 FD 12 00 00 00 00 00 00 00 00 00 B0 00 40 ……………@0010:51 04 C0 FF 00 F0 Q…..——————————————————————–[50] : <Rx> – 03:50:19.465-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 ………——————————————————————–[51] : <Rx> – 03:50:19.476-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 : 0xFD86 (GATT_DiscPrimaryServiceByUUID) DataLength : 0x00 (0)Dump(Rx):0000:04 FF 06 7F 06 00 86 FD 00 ………——————————————————————–[52] : <Rx> – 03:50:19.626-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x0A (10) bytes(s) Event : 0x0507 (1287) (ATT_FindByTypeValueRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x04 (4) Handle : 33:00 Handle : FF:FFDump(Rx):0000:04 FF 0A 07 05 00 00 00 04 33 00 FF FF ………3…——————————————————————–[53] : <Info> – 03:50:19.640OAD Send UUID Info Discovery——————————————————————–[54] : <Rx> – 03:50:19.825-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x06 (6) bytes(s) Event : 0x0507 (1287) (ATT_FindByTypeValueRsp) Status : 0x1A (26) (The Procedure Is Completed) ConnHandle : 0x0000 (0) PduLen : 0x00 (0)Dump(Rx):0000:04 FF 06 07 05 1A 00 00 00 ………——————————————————————–[55] : <Tx> – 03:50:19.825-Type : 0x01 (Command)-OpCode : 0xFD84 (GATT_DiscAllCharDescs)-Data Length : 0x06 (6) byte(s) ConnHandle : 0x0000 (0) StartHandle : 0x0033 (51) EndHandle : 0xFFFF (65535)Dump(Tx):0000:01 84 FD 06 00 00 33 00 FF FF ……3…——————————————————————–[56] : <Rx> – 03:50:19.845-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 : 0xFD84 (GATT_DiscAllCharDescs) DataLength : 0x00 (0)Dump(Rx):0000:04 FF 06 7F 06 00 84 FD 00 ………——————————————————————–[57] : <Rx> – 03:50:20.031-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x0F (15) bytes(s) Event : 0x0505 (1285) (ATT_FindInfoRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x09 (9) Format : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs) Handle : 0033 Uuid : 00:28 Handle : 0034 Uuid : 03:28Dump(Rx):0000:04 FF 0F 05 05 00 00 00 09 01 33 00 00 28 34 00 ……….3..(4.0010:03 28 .(——————————————————————–[58] : <Rx> – 03:50:20.225-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x19 (25) bytes(s) Event : 0x0505 (1285) (ATT_FindInfoRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x13 (19) Format : 0x02 (2) (A List Of 1 Or More Handles With Their 128-bit UUIDs) Handle : 0035 Uuid : 00:00:00:00:00:00:00:B0:00:40:51:04:C1:FF:00:F0 Dump(Rx):0000:04 FF 19 05 05 00 00 00 13 02 35 00 00 00 00 00 ……….5…..0010:00 00 00 B0 00 40 51 04 C1 FF 00 F0 …..@Q…..——————————————————————–[59] : <Rx> – 03:50:20.321-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 : 0x00C8 (200) ConnLatency : 0x0000 (0) ConnTimeout : 0x0064 (100)Dump(Rx):0000:04 FF 0B 07 06 00 00 00 C8 00 00 00 64 00 …………d.——————————————————————–[60] : <Rx> – 03:50:20.427-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x13 (19) bytes(s) Event : 0x0505 (1285) (ATT_FindInfoRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x0D (13) Format : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs) Handle : 0036 Uuid : 02:29 Handle : 0037 Uuid : 01:29 Handle : 0038 Uuid : 03:28Dump(Rx):0000:04 FF 13 05 05 00 00 00 0D 01 36 00 02 29 37 00 ……….6..)7.0010:01 29 38 00 03 28 .)8..(——————————————————————–[61] : <Rx> – 03:50:20.923-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x19 (25) bytes(s) Event : 0x0505 (1285) (ATT_FindInfoRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x13 (19) Format : 0x02 (2) (A List Of 1 Or More Handles With Their 128-bit UUIDs) Handle : 0039 Uuid : 00:00:00:00:00:00:00:B0:00:40:51:04:C2:FF:00:F0 Dump(Rx):0000:04 FF 19 05 05 00 00 00 13 02 39 00 00 00 00 00 ……….9…..0010:00 00 00 B0 00 40 51 04 C2 FF 00 F0 …..@Q…..——————————————————————–[62] : <Rx> – 03:50:21.419-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x13 (19) bytes(s) Event : 0x0505 (1285) (ATT_FindInfoRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x0D (13) Format : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs) Handle : 003A Uuid : 02:29 Handle : 003B Uuid : 01:29 Handle : 003C Uuid : 03:28Dump(Rx):0000:04 FF 13 05 05 00 00 00 0D 01 3A 00 02 29 3B 00 ……….:..);.0010:01 29 3C 00 03 28 .)<..(——————————————————————–[63] : <Rx> – 03:50:21.925-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x19 (25) bytes(s) Event : 0x0505 (1285) (ATT_FindInfoRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x13 (19) Format : 0x02 (2) (A List Of 1 Or More Handles With Their 128-bit UUIDs) Handle : 003D Uuid : 00:00:00:00:00:00:00:B0:00:40:51:04:C5:FF:00:F0 Dump(Rx):0000:04 FF 19 05 05 00 00 00 13 02 3D 00 00 00 00 00 ……….=…..0010:00 00 00 B0 00 40 51 04 C5 FF 00 F0 …..@Q…..——————————————————————–[64] : <Rx> – 03:50:22.427-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x0F (15) bytes(s) Event : 0x0505 (1285) (ATT_FindInfoRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x09 (9) Format : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs) Handle : 003E Uuid : 02:29 Handle : 003F Uuid : 01:29Dump(Rx):0000:04 FF 0F 05 05 00 00 00 09 01 3E 00 02 29 3F 00 ……….>..)?.0010:01 29 .)——————————————————————–[65] : <Rx> – 03:50:22.923-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x06 (6) bytes(s) Event : 0x0505 (1285) (ATT_FindInfoRsp) Status : 0x1A (26) (The Procedure Is Completed) ConnHandle : 0x0000 (0) PduLen : 0x00 (0)Dump(Rx):0000:04 FF 06 05 05 1A 00 00 00 ………——————————————————————–[66] : <Info> – 03:50:22.931OAD Enable Notification On ImageNotify——————————————————————–[67] : <Tx> – 03:50:22.934-Type : 0x01 (Command)-OpCode : 0xFD92 (GATT_WriteCharValue)-Data Length : 0x06 (6) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0036 (54) Value : 01:00Dump(Tx):0000:01 92 FD 06 00 00 36 00 01 00 ……6…——————————————————————–[68] : <Rx> – 03:50:22.954-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 : 0xFD92 (GATT_WriteCharValue) DataLength : 0x00 (0)Dump(Rx):0000:04 FF 06 7F 06 00 92 FD 00 ………——————————————————————–[69] : <Rx> – 03:50:23.420-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x06 (6) bytes(s) Event : 0x0513 (1299) (ATT_WriteRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x00 (0)Dump(Rx):0000:04 FF 06 13 05 00 00 00 00 ………——————————————————————–[70] : <Info> – 03:50:23.432OAD Enable Notification On ImageControl——————————————————————–[71] : <Tx> – 03:50:23.433-Type : 0x01 (Command)-OpCode : 0xFD92 (GATT_WriteCharValue)-Data Length : 0x06 (6) byte(s) ConnHandle : 0x0000 (0) Handle : 0x003E (62) Value : 01:00Dump(Tx):0000:01 92 FD 06 00 00 3E 00 01 00 ……>…——————————————————————–[72] : <Rx> – 03:50:23.461-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 : 0xFD92 (GATT_WriteCharValue) DataLength : 0x00 (0)Dump(Rx):0000:04 FF 06 7F 06 00 92 FD 00 ………——————————————————————–[73] : <Info> – 03:50:23.928OAD ATT Exchange MTU——————————————————————–[74] : <Rx> – 03:50:23.923-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x06 (6) bytes(s) Event : 0x0513 (1299) (ATT_WriteRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x00 (0)Dump(Rx):0000:04 FF 06 13 05 00 00 00 00 ………——————————————————————–[75] : <Tx> – 03:50:23.932-Type : 0x01 (Command)-OpCode : 0xFD02 (ATT_ExchangeMTUReq)-Data Length : 0x04 (4) byte(s) ConnHandle : 0x0000 (0) ClientRxMTU : 0x00F7 (247)Dump(Tx):0000:01 02 FD 04 00 00 F7 00 ……..——————————————————————–[76] : <Rx> – 03:50:23.965-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 : 0xFD02 (ATT_ExchangeMTUReq) DataLength : 0x00 (0)Dump(Rx):0000:04 FF 06 7F 06 00 02 FD 00 ………——————————————————————–[77] : <Info> – 03:50:24.428OAD Get OAD Block Size——————————————————————–[78] : <Rx> – 03:50:24.423-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x08 (8) bytes(s) Event : 0x0503 (1283) (ATT_ExchangeMTURsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x02 (2) ServerRxMTU : 0x00F7 (247)Dump(Rx):0000:04 FF 08 03 05 00 00 00 02 F7 00 ………..——————————————————————–[79] : <Rx> – 03:50:24.434-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x08 (8) bytes(s) Event : 0x057F (1407) (ATT_MtuUpdatedEvt) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x02 (2) MTU : 0x00F7 (247)Dump(Rx):0000:04 FF 08 7F 05 00 00 00 02 F7 00 ………..——————————————————————–[80] : <Tx> – 03:50:24.434-Type : 0x01 (Command)-OpCode : 0xFDB6 (GATT_WriteNoRsp)-Data Length : 0x05 (5) byte(s) ConnHandle : 0x0000 (0) Handle : 0x003D (61) Value : 01Dump(Tx):0000:01 B6 FD 05 00 00 3D 00 01 ……=..——————————————————————–[81] : <Rx> – 03:50:24.476-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 ………——————————————————————–[82] : <Rx> – 03:50:24.918-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x0B (11) bytes(s) Event : 0x051B (1307) (ATT_HandleValueNotification) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x05 (5) Handle : 0x003D (61) Value : 01:F4:00Dump(Rx):0000:04 FF 0B 1B 05 00 00 00 05 3D 00 01 F4 00 ………=….——————————————————————–[83] : <Info> – 03:50:24.926OAD ImageControl ResponseCommand ID = 0x01 (GetOadBlockSizeRsp)Block Size = 0x00F4 (244)——————————————————————–[84] : <Info> – 03:50:24.928OAD LE Set Data Length——————————————————————–[85] : <Tx> – 03:50:24.931-Type : 0x01 (Command)-OpCode : 0x2022 (HCI_LE_SetDataLength)-Data Length : 0x06 (6) byte(s) Handle : 0x0000 (0) TxOctets : 0x00FB (251) TxTime : 0x0848 (2120)Dump(Tx):0000:01 22 20 06 00 00 FB 00 48 08 ." …..H.——————————————————————–[86] : <Info> – 03:50:24.958OAD Send Metadata To ImageIdentify——————————————————————–[87] : <Rx> – 03:50:24.950-Type : 0x04 (Event)-EventCode : 0x000E (HCI_CommandCompleteEvent)-Data Length : 0x06 (6) bytes(s) Packets : 0x01 (1) OpCode : 0x2022 (HCI_LE_SetDataLength) Status : 0x00 (0) (Success) Handle : 0x0000 (0)Dump(Rx):0000:04 0E 06 01 22 20 00 00 00 …." …——————————————————————–[88] : <Tx> – 03:50:24.962-Type : 0x01 (Command)-OpCode : 0xFD96 (GATT_WriteLongCharValue)-Data Length : 0x1C (28) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0035 (53) Offset : 0x0000 (0) Value : 4F:41:44:20:49:4D:47:20:01:01:FF:FF:01:01:65:07: 01:00:30:30:30:39Dump(Tx):0000:01 96 FD 1C 00 00 35 00 00 00 4F 41 44 20 49 4D ……5…OAD IM0010:47 20 01 01 FF FF 01 01 65 07 01 00 30 30 30 39 G ……e…0009——————————————————————–[89] : <Rx> – 03:50:24.993-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 : 0xFD96 (GATT_WriteLongCharValue) DataLength : 0x00 (0)Dump(Rx):0000:04 FF 06 7F 06 00 96 FD 00 ………——————————————————————–[90] : <Rx> – 03:50:25.927-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x06 (6) bytes(s) Event : 0x0519 (1305) (ATT_ExecuteWriteRsp) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x00 (0)Dump(Rx):0000:04 FF 06 19 05 00 00 00 00 ………——————————————————————–[91] : <Info> – 03:50:25.950OAD ImageIdentify ResponseStatus = 0x00 (OAD_SUCCESS)——————————————————————–[92] : <Rx> – 03:50:25.939-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x09 (9) bytes(s) Event : 0x051B (1307) (ATT_HandleValueNotification) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x03 (3) Handle : 0x0035 (53) Value : 00Dump(Rx):0000:04 FF 09 1B 05 00 00 00 03 35 00 00 ………5..——————————————————————–[93] : <Info> – 03:50:25.955OAD Send Set Image Count To OAD Control——————————————————————–[94] : <Tx> – 03:50:25.957-Type : 0x01 (Command)-OpCode : 0xFDB6 (GATT_WriteNoRsp)-Data Length : 0x06 (6) byte(s) ConnHandle : 0x0000 (0) Handle : 0x003D (61) Value : 02:01Dump(Tx):0000:01 B6 FD 06 00 00 3D 00 02 01 ……=…——————————————————————–[95] : <Rx> – 03:50:25.991-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 ………——————————————————————–[96] : <Rx> – 03:50:26.423-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x0A (10) bytes(s) Event : 0x051B (1307) (ATT_HandleValueNotification) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) PduLen : 0x04 (4) Handle : 0x003D (61) Value : 02:00Dump(Rx):0000:04 FF 0A 1B 05 00 00 00 04 3D 00 02 00 ………=…——————————————————————–[97] : <Info> – 03:50:26.428OAD ImageControl ResponseCommand ID = 0x02 (SetImageCountRsp)Status = 0x00 (OAD_SUCCESS)——————————————————————–[98] : <Info> – 03:50:26.431OAD Send Start OAD To ImageControl——————————————————————–[99] : <Tx> – 03:50:26.433-Type : 0x01 (Command)-OpCode : 0xFDB6 (GATT_WriteNoRsp)-Data Length : 0x05 (5) byte(s) ConnHandle : 0x0000 (0) Handle : 0x003D (61) Value : 03Dump(Tx):0000:01 B6 FD 05 00 00 3D 00 03 ……=..——————————————————————–[100] : <Rx> – 03:50:26.454-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 ………——————————————————————–[101] : <Rx> – 03:50:26.927-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 : 0x003D (61) Value : 12:00:00:00:00:00Dump(Rx):0000:04 FF 0E 1B 05 00 00 00 08 3D 00 12 00 00 00 00 ………=……0010:00 .——————————————————————–[102] : <Tx> – 03:50:26.932-Type : 0x01 (Command)-OpCode : 0xFDB6 (GATT_WriteNoRsp)-Data Length : 0xF8 (248) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0039 (57) Value : 00:00:00:00:4F:41:44:20:49:4D:47:20:15:1A:66:6A: 01:01:FE:00:FF:FF:01:01:FF:FF:FF:FF:65:07:01:00: 50:00:00:00:30:30:30:39:64:07:01:00:2C:00:FF:FF: 00:FE:00:FF:18:00:00:00:00:40:01:00:D9:C0:01:00: 20:05:00:20:6C:3C:00:20:01:FE:00:FF:21:07:01:00: 00:00:00:00:6C:3C:00:20:21:CD:00:00:01:C9:01:10: 01:C9:01:10:01:C9:01:10:01:C9:01:10:01:C9:01:10: 01:C9:01:10:01:C9:01:10:01:C9:01:10:01:C9:01:10: 01:C9:01:10:01:C9:01:10:01:C9:01:10:3F:C9:01:10: FF:FF:FF:FF:F0:B5:99:4C:94:F8:3F:50:0E:46:07:46: 62:2E:AD:F1:7C:0D:00:F3:99:85:01:A8:00:21:64:22: 0A:F0:91:F9:8D:F8:05:60:0D:F1:06:00:32:B2:39:46: 09:F0:B0:F9:B4:F8:64:00:B4:F8:66:10:01:2D:00:F0: 3F:85:9D:F8:06:00:EA:38:00:F0:E5:83:40:1E:00:F0: EF:81:40:1E:00:F0:B1:81:40:1E:40:F0:77:85:9D:F8: 05:00:02:28Dump(Tx):0000:01 B6 FD F8 00 00 39 00 00 00 00 00 4F 41 44 20 ……9…..OAD 0010:49 4D 47 20 15 1A 66 6A 01 01 FE 00 FF FF 01 01 IMG ..fj……..0020:FF FF FF FF 65 07 01 00 50 00 00 00 30 30 30 39 ….e…P…00090030:64 07 01 00 2C 00 FF FF 00 FE 00 FF 18 00 00 00 d…,………..0040:00 40 01 00 D9 C0 01 00 20 05 00 20 6C 3C 00 20 .@…… .. l<. 0050:01 FE 00 FF 21 07 01 00 00 00 00 00 6C 3C 00 20 ….!…….l<. 0060:21 CD 00 00 01 C9 01 10 01 C9 01 10 01 C9 01 10 !……………0070:01 C9 01 10 01 C9 01 10 01 C9 01 10 01 C9 01 10 …………….0080:01 C9 01 10 01 C9 01 10 01 C9 01 10 01 C9 01 10 …………….0090:01 C9 01 10 3F C9 01 10 FF FF FF FF F0 B5 99 4C ….?……….L00A0:94 F8 3F 50 0E 46 07 46 62 2E AD F1 7C 0D 00 F3 ..?P.F.Fb…|…00B0:99 85 01 A8 00 21 64 22 0A F0 91 F9 8D F8 05 60 …..!d"…….`00C0:0D F1 06 00 32 B2 39 46 09 F0 B0 F9 B4 F8 64 00 ….2.9F……d.00D0:B4 F8 66 10 01 2D 00 F0 3F 85 9D F8 06 00 EA 38 ..f..-..?……800E0:00 F0 E5 83 40 1E 00 F0 EF 81 40 1E 00 F0 B1 81 ….@…..@…..00F0:40 1E 40 F0 77 85 9D F8 05 00 02 28 @.@.w……(——————————————————————–[103] : <Rx> – 03:50:26.969-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 ………——————————————————————–[104] : <Info> – 03:50:28.431Device DisconnectedHandle = 0x0000Addr Type = 0x00 (Public)BDAddr = B0:91:22:1A:EF:EB——————————————————————–[105] : <Info> – 03:50:28.450OAD – Restore Connection Settings——————————————————————–[106] : <Error> – 03:50:28.452OAD Download Not Successful——————————————————————–[107] : <Rx> – 03:50:28.427-Type : 0x04 (Event)-EventCode : 0x00FF (HCI_LE_ExtEvent)-Data Length : 0x06 (6) bytes(s) Event : 0x0606 (1542) (GAP_TerminateLink) Status : 0x00 (0) (Success) ConnHandle : 0x0000 (0) Reason : 0x08 (8) (Supervision Timeout)Dump(Rx):0000:04 FF 06 06 06 00 00 00 08 ………——————————————————————–

popo:

回复 popo:

UART打印串口获取出错信息

>>>STACK ASSERT
***ERROR***
>> ICALL TIMEOUT!

Susan Yang:

回复 popo:

建议您参考file:///C:/ti/simplelink_cc2640r2_sdk/docs/blestack/ble_user_guide/html/oad-ble-stack-3.x/oad_offchip.html 内给出的说明试一下

popo:

回复 Susan Yang:

Susan Yang建议您参考file:///C:/ti/simplelink_cc2640r2_sdk/docs/blestack/ble_user_guide/html/oad-ble-stack-3.x/oad_offchip.html 内给出的说明试一下

赞(0)
未经允许不得转载:TI中文支持网 » CC2640r2 off-chip OAD使用 LAUNCHXL-CC2640R2 开发板升级失败问题?
分享到: 更多 (0)