微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > CC2640R2F OAD Reset Service

CC2640R2F OAD Reset Service

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

按照官方教程,我先下载了BIM ,Stack和Persisent APP, 并成功通过Persisent APP OAD更新了user  app

但是,当我想通过user app 更新 user app时, OAD Reset Sevice 出现了问题,我不知道有没有复位成功,请问是哪里出现了问题?

BTOOL 的 日志如下:

[1] : <Info> - 04:02:18.350
OAD - Update Connection Settings
--------------------------------------------------------------------
[2] : <Info> - 04:02:18.350
Start OAD Download
--------------------------------------------------------------------
[3] : <Info> - 04:02:18.350
StartReset Service Discovery
--------------------------------------------------------------------
[4] : <Info> - 04:02:18.350
OAD Send UUID Discovery
--------------------------------------------------------------------
[5] : <Tx> - 04:02:18.350
-Type : 0x01 (Command)
-OpCode : 0xFE11 (GAP_UpdateLinkParamReq)
-Data Length : 0x0A (10) byte(s)
ConnHandle : 0x0000 (0)
IntervalMin : 0x0006 (6)
IntervalMax : 0x0006 (6)
ConnLatency : 0x0000 (0)
ConnTimeout : 0x0032 (50)
Dump(Tx):
0000:01 11 FE 0A 00 00 06 00 06 00 00 00 32 00 ............2.
--------------------------------------------------------------------
[6] : <Rx> - 04:02:18.360
-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 .........
--------------------------------------------------------------------
[7] : <Tx> - 04:02:18.360
-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:D0:FF:00:F0
Dump(Tx):
0000:01 86 FD 12 00 00 00 00 00 00 00 00 00 B0 00 40 ...............@
0010:51 04 D0 FF 00 F0 Q.....
--------------------------------------------------------------------
[8] : <Rx> - 04:02:18.380
-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 .........
--------------------------------------------------------------------
[9] : <Info> - 04:02:18.553
OAD Send UUID Info Discovery
--------------------------------------------------------------------
[10] : <Rx> - 04:02:18.550
-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 : 30:00
Handle : FF:FF
Dump(Rx):
0000:04 FF 0A 07 05 00 00 00 04 30 00 FF FF .........0...
--------------------------------------------------------------------
[11] : <Rx> - 04:02:18.760
-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 .........
--------------------------------------------------------------------
[12] : <Tx> - 04:02:18.760
-Type : 0x01 (Command)
-OpCode : 0xFD84 (GATT_DiscAllCharDescs)
-Data Length : 0x06 (6) byte(s)
ConnHandle : 0x0000 (0)
StartHandle : 0x0030 (48)
EndHandle : 0xFFFF (65535)
Dump(Tx):
0000:01 84 FD 06 00 00 30 00 FF FF ......0...
--------------------------------------------------------------------
[13] : <Rx> - 04:02:18.800
-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 .........
--------------------------------------------------------------------
[14] : <Rx> - 04:02:19.050
-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 : 0030
Uuid : 00:28
Handle : 0031
Uuid : 03:28
Dump(Rx):
0000:04 FF 0F 05 05 00 00 00 09 01 30 00 00 28 31 00 ..........0..(1.
0010:03 28 .(
--------------------------------------------------------------------
[15] : <Rx> - 04:02:19.260
-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 : 0x0006 (6)
ConnLatency : 0x0000 (0)
ConnTimeout : 0x0032 (50)
Dump(Rx):
0000:04 FF 0B 07 06 00 00 00 06 00 00 00 32 00 ............2.
--------------------------------------------------------------------
[16] : <Rx> - 04:02:19.270
-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 : 0032
Uuid : 00:00:00:00:00:00:00:B0:00:40:51:04:D1:FF:00:F0

Dump(Rx):
0000:04 FF 19 05 05 00 00 00 13 02 32 00 00 00 00 00 ..........2.....
0010:00 00 00 B0 00 40 51 04 D1 FF 00 F0 .....@Q.....
--------------------------------------------------------------------
[17] : <Rx> - 04:02:19.370
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x0B (11) bytes(s)
Event : 0x0505 (1285) (ATT_FindInfoRsp)
Status : 0x00 (0) (Success)
ConnHandle : 0x0000 (0)
PduLen : 0x05 (5)
Format : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs)
Handle : 0033
Uuid : 01:29
Dump(Rx):
0000:04 FF 0B 05 05 00 00 00 05 01 33 00 01 29 ..........3..)
--------------------------------------------------------------------
[18] : <Info> - 04:02:19.400
OAD Invalidate Image On StartReset
--------------------------------------------------------------------
[19] : <Rx> - 04:02:19.390
-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 .........
--------------------------------------------------------------------
[20] : <Tx> - 04:02:19.400
-Type : 0x01 (Command)
-OpCode : 0xFD92 (GATT_WriteCharValue)
-Data Length : 0x05 (5) byte(s)
ConnHandle : 0x0000 (0)
Handle : 0x0032 (50)
Value : 01
Dump(Tx):
0000:01 92 FD 05 00 00 32 00 01 ......2..
--------------------------------------------------------------------
[21] : <Rx> - 04:02:19.420
-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 .........
--------------------------------------------------------------------
[22] : <Info> - 04:02:19.440
Waiting For Device Reset
--------------------------------------------------------------------
[23] : <Rx> - 04:02:19.440
-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 .........
--------------------------------------------------------------------
[24] : <Info> - 04:02:19.951
Device Disconnected
Handle = 0x0000
Addr Type = 0x00 (Public)
BDAddr = B0:91:22:1A:FE:DF
--------------------------------------------------------------------
[25] : <Rx> - 04:02:19.951
-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 .........
--------------------------------------------------------------------
[26] : <Info> - 04:02:24.444
Establish Connection
--------------------------------------------------------------------
[27] : <Tx> - 04:02:24.446
-Type : 0x01 (Command)
-OpCode : 0xFE09 (GAP_EstablishLinkRequest)
-Data Length : 0x09 (9) byte(s)
HighDutyCycle : 0x00 (0) (Disable)
WhiteList : 0x00 (0) (Disable)
AddrTypePeer : 0x00 (0) (Public)
PeerAddr : B0:91:22:1A:FE:DF
Dump(Tx):
0000:01 09 FE 09 00 00 00 DF FE 1A 22 91 B0 .........."..
--------------------------------------------------------------------
[28] : <Rx> - 04:02:24.471
-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 : 0xFE09 (GAP_EstablishLinkRequest)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 09 FE 00 .........
--------------------------------------------------------------------
[29] : <Error> - 04:02:59.458
Message Response Timeout
Name = GAP_EstablishLinkRequest
OpCode = 0xFE09
Tx Time = 04:02:24.446
--------------------------------------------------------------------
[30] : <Error> - 04:03:04.454
OAD Operation Timed Out
Operation Name = GAP_EstablishLink_OadReset
--------------------------------------------------------------------
[31] : <Info> - 04:03:04.454
OAD - Restore Connection Settings
--------------------------------------------------------------------
[32] : <Error> - 04:03:04.456
OAD Download Not Successful
--------------------------------------------------------------------
[33] : <Info> - 04:03:17.354
Device Connected
Handle = 0x0000
Addr Type = 0x00 (Public)
BDAddr = B0:91:22:1A:FE:DF
--------------------------------------------------------------------
[34] : <Rx> - 04:03:17.344
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x14 (20) bytes(s)
Event : 0x0605 (1541) (GAP_EstablishLink)
Status : 0x00 (0) (Success)
DevAddrType : 0x00 (0) (Public)
DevAddr : B0:91:22:1A:FE:DF
ConnHandle : 0x0000 (0)
ConnRole : 0x08 (8) (Central)
ConnInterval : 0x0050 (80)
ConnLatency : 0x0000 (0)
ConnTimeout : 0x07D0 (2000)
ClockAccuracy : 0x00 (0)
Dump(Rx):
0000:04 FF 14 05 06 00 00 DF FE 1A 22 91 B0 00 00 08 ..........".....
0010:50 00 00 00 D0 07 00 P......
--------------------------------------------------------------------

手动复位后,继续连接,就可以接着下载了 

手动复位后,继续连接,就可以接着下载了 

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

网站地图

Top