Part Number: CC2642R
Other Parts Discussed in Thread: UNIFLASH
Hello,
I am using CC2642R1 and my sdk version is 4.40.04.04. I want to perform OAD on-chip. I use uniflash to load persistant app and simpleperipheral_oad_onchip app as release and flash bim_onchip as release_unsecure.It works properly but after repeating same procedure it doesn't work. Btool gives "GapInit_connect failed FAILURE" after resetting and trying to establish connection again. Target device stops working. So sometimes it works but sometimes it doesn't.
I understand that after reset target device does not responding. But with same procedure it does respond sometimes. What can cause this?
You can find last btool messages during oad until error.
Best Regards,
--------------------------------------------------------------------
[154] : <Rx> - 08:10:21.414
-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 : 0x07D0 (2000)
Dump(Rx):
0000:04 FF 0B 07 06 00 00 00 06 00 00 00 D0 07 ..............
--------------------------------------------------------------------
[155] : <Info> - 08:10:33.426
Establish Connection
--------------------------------------------------------------------
[156] : <Tx> - 08:10:33.426
-Type : 0x01 (Command)
-OpCode : 0xFE62 (GapInit_connect)
-Data Length : 0x0A (10) byte(s)
PeerAddrType : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID)
PeerAddr : F8:8A:5E:2D:85:62
InitiatingPhy : 0x01 (1) (
INIT_PHY_1M)
Timeout : 0x0000 (0)
Dump(Tx):
0000:01 62 FE 0A 00 62 85 2D 5E 8A F8 01 00 00 .b...b.-^.....
--------------------------------------------------------------------
[157] : <Error> - 08:11:13.441
OAD Operation Timed Out
Operation Name = GAP_EstablishLink_OadReset
--------------------------------------------------------------------
[158] : <Info> - 08:11:13.449
OAD - Restore Connection Settings
--------------------------------------------------------------------
[159] : <Error> - 08:11:13.452
OAD Download Not Successful
--------------------------------------------------------------------