This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hi,
I'm working on the on chip OAD with multi role example .
Following the step in Enhanced OAD, but there's some problem occurred when OAD by btool.
In the app project setting, I ignore all the "OAD_IME_E" arg and use "OAD_IMG_B" instead.
At the Import files, using flash_interface/internal instead.
All the setting and code changes are following the document.
Both app and stack project could build and flash to board with no issue, but the OAD through btool will stop by unknow problem.
If there's information that I setting to the project need to be provide, please let me know.
Thanks.
Hi,
I will assign an expert to look into your issue.
Please specify the SDK version you are using.
Kind regards,
Hi Curly,
Do you want to use on-chip OAD? Because if you switch from OAD_IMG_E=1, as it says in the lab, to OAD_IMG_B=1, it means that it's using on-chip OAD.
Since multi_role is a large application, I don't think you have enough memory to perform an on-chip OAD on the CC2640R2 device with the multi_role project. Because when using OAD, there must be enough space to store two application images as well as the persistent app and bim. Is there a reason why you don't want to use off-chip OAD?
Thanks,
Elin
Hi Elin,
I just want to try on-chip OAD.
Because I add some new feature in project_zero, the OAD is one of the feature, and I have an application has no external flash, it could only use on-chip OAD,
Is the code size of project_zero small enough to add OAD?
Thanks.
Hi Curly,
If you just want to experiment with on-chip OAD, I would recommend you to use the simple_peripheral_onchip example in the SDK.
Project_zero is also a large application which, in the SKD example, uses external flash to boot. So I don't think it's a good idea to use it.
If you can share more details about your application I can give you some more specific advice.
Thanks,
Elin
Hi Elin,
Thanks for reply.
I already use the simple_peripheral_onchip example for OAD practice, but the function in Project_zero is more close to the application that I want, and I'm trying off-chip OAD on Project_zero example.
But there's still some problem on boot.
I follow the instruction in Enhanced OAD to add OAD in Project_zero, and flash bim_oad_offchip to my CC2640R2F launchpad, and there's no message ouput to console.
The Project_zero example is import from SDK simplelink_cc2640r2_sdk_3_40_00_10.
And I add red/green LED on BIM to verify if it work, but LED seems no response.
If there's any detail need to provide, please let me know.
Thanks.
Hi Curly,
Where and how did you add the LED functionality in the BIM project? Can you put a breakpoint there and see if the application reaches it? If you reach the breakpoint, look at the return value of the function.
Thanks,
Elin
Hi Elin,
The LED is add in BIM project before Bim_checkImages(), it works.
But it still has few problem need your help.
1)
I already add OAD in project_zero and flash BIM into cc2640 lauchpad.
It has no response after board reset, but it works in debug mode.
2)
The proces stop at ImageBlockWrite when perform OAD, here is the btool log.
---------------------------------------------------- - Log Start Marker - ---------------------------------------------------- [03/17/2020 06:40:40.240] <Info > [76] : <Info> - 06:40:40.239 Start OAD Download -------------------------------------------------------------------- [03/17/2020 06:40:40.244] <Info > [77] : <Info> - 06:40:40.242 Image Service Discovery -------------------------------------------------------------------- [03/17/2020 06:40:40.246] <Info > [78] : <Info> - 06:40:40.246 OAD Send UUID Discovery -------------------------------------------------------------------- [03/17/2020 06:40:40.249] <Info > [79] : <Tx> - 06:40:40.232 -Type : 0x01 (Command) -OpCode : 0x2016 (HCI_LEReadRemoteUsedFeatures) -Data Length : 0x02 (2) byte(s) Handle : 0x0000 (0) [03/17/2020 06:40:40.251] <Info > Dump(Tx): 0000:01 16 20 02 00 00 .. ... -------------------------------------------------------------------- [03/17/2020 06:40:40.263] <Info > [80] : <Tx> - 06:40:40.248 -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:F0 [03/17/2020 06:40:40.266] <Info > Dump(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..... -------------------------------------------------------------------- [03/17/2020 06:40:40.280] <Info > [81] : <Rx> - 06:40:40.279 -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) [03/17/2020 06:40:40.282] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 86 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:40.428] <Error > Attribute Dictionary Invalid Handle Cannot Be Used Key = 0000_FFFF UpdateTmpAttrDict() Invalid Handle = 0xFFFF {AttrDataUtils} [03/17/2020 06:40:40.430] <Info > [82] : <Rx> - 06:40:40.428 -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 : 2E:00 Handle : FF:FF [03/17/2020 06:40:40.433] <Info > Dump(Rx): 0000:04 FF 0A 07 05 00 00 00 04 2E 00 FF FF ............. -------------------------------------------------------------------- [03/17/2020 06:40:40.435] <Info > [83] : <Info> - 06:40:40.435 OAD Send UUID Info Discovery -------------------------------------------------------------------- [03/17/2020 06:40:40.526] <Info > [84] : <Rx> - 06:40:40.523 -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 : 0x00000000000000FF (255) ( Encryption Connection_Parameters_Request Reject_Extended_Indication Slave_Features_Exchange Ping Data_Packet_Length_Extension Privacy Extended_Scanner_Filter_Policies) [03/17/2020 06:40:40.529] <Info > Dump(Rx): 0000:04 3E 0C 04 00 00 00 FF 00 00 00 00 00 00 00 .>............. -------------------------------------------------------------------- [03/17/2020 06:40:40.623] <Info > [85] : <Rx> - 06:40:40.620 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x0507 (1287) (ATT_FindByTypeValueRsp) Status : 0x1A (26) (bleProcedureComplete) ConnHandle : 0x0000 (0) PduLen : 0x00 (0) [03/17/2020 06:40:40.625] <Info > Dump(Rx): 0000:04 FF 06 07 05 1A 00 00 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:40.637] <Info > [86] : <Tx> - 06:40:40.620 -Type : 0x01 (Command) -OpCode : 0xFD84 (GATT_DiscAllCharDescs) -Data Length : 0x06 (6) byte(s) ConnHandle : 0x0000 (0) StartHandle : 0x002E (46) EndHandle : 0xFFFF (65535) [03/17/2020 06:40:40.641] <Info > Dump(Tx): 0000:01 84 FD 06 00 00 2E 00 FF FF .......... -------------------------------------------------------------------- [03/17/2020 06:40:40.666] <Info > [87] : <Rx> - 06:40:40.664 -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) [03/17/2020 06:40:40.669] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 84 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:40.824] <Info > [88] : <Rx> - 06:40:40.823 -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) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs) Handle : 002E Uuid : 00:28 Handle : 002F Uuid : 03:28 [03/17/2020 06:40:40.827] <Info > Dump(Rx): 0000:04 FF 0F 05 05 00 00 00 09 01 2E 00 00 28 2F 00 .............(/. 0010:03 28 .( -------------------------------------------------------------------- [03/17/2020 06:40:41.025] <Info > [89] : <Rx> - 06:40:41.023 -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) (HANDLE_UUID_TYPE__handles_and_128_bit_UUIDs) Handle : 0030 Uuid : 00:00:00:00:00:00:00:B0:00:40:51:04:C1:FF:00:F0 [03/17/2020 06:40:41.028] <Info > Dump(Rx): 0000:04 FF 19 05 05 00 00 00 13 02 30 00 00 00 00 00 ..........0..... 0010:00 00 00 B0 00 40 51 04 C1 FF 00 F0 .....@Q..... -------------------------------------------------------------------- [03/17/2020 06:40:41.225] <Info > [90] : <Rx> - 06:40:41.222 -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) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs) Handle : 0031 Uuid : 02:29 Handle : 0032 Uuid : 01:29 Handle : 0033 Uuid : 03:28 [03/17/2020 06:40:41.227] <Info > Dump(Rx): 0000:04 FF 13 05 05 00 00 00 0D 01 31 00 02 29 32 00 ..........1..)2. 0010:01 29 33 00 03 28 .)3..( -------------------------------------------------------------------- [03/17/2020 06:40:41.424] <Info > [91] : <Rx> - 06:40:41.423 -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) (HANDLE_UUID_TYPE__handles_and_128_bit_UUIDs) Handle : 0034 Uuid : 00:00:00:00:00:00:00:B0:00:40:51:04:C2:FF:00:F0 [03/17/2020 06:40:41.428] <Info > Dump(Rx): 0000:04 FF 19 05 05 00 00 00 13 02 34 00 00 00 00 00 ..........4..... 0010:00 00 00 B0 00 40 51 04 C2 FF 00 F0 .....@Q..... -------------------------------------------------------------------- [03/17/2020 06:40:41.624] <Info > [92] : <Rx> - 06:40:41.622 -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) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs) Handle : 0035 Uuid : 02:29 Handle : 0036 Uuid : 01:29 Handle : 0037 Uuid : 03:28 [03/17/2020 06:40:41.625] <Info > Dump(Rx): 0000:04 FF 13 05 05 00 00 00 0D 01 35 00 02 29 36 00 ..........5..)6. 0010:01 29 37 00 03 28 .)7..( -------------------------------------------------------------------- [03/17/2020 06:40:41.823] <Info > [93] : <Rx> - 06:40:41.820 -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) (HANDLE_UUID_TYPE__handles_and_128_bit_UUIDs) Handle : 0038 Uuid : 00:00:00:00:00:00:00:B0:00:40:51:04:C5:FF:00:F0 [03/17/2020 06:40:41.826] <Info > Dump(Rx): 0000:04 FF 19 05 05 00 00 00 13 02 38 00 00 00 00 00 ..........8..... 0010:00 00 00 B0 00 40 51 04 C5 FF 00 F0 .....@Q..... -------------------------------------------------------------------- [03/17/2020 06:40:42.014] <Info > [94] : <Rx> - 06:40:42.012 -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) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs) Handle : 0039 Uuid : 02:29 Handle : 003A Uuid : 01:29 [03/17/2020 06:40:42.017] <Info > Dump(Rx): 0000:04 FF 0F 05 05 00 00 00 09 01 39 00 02 29 3A 00 ..........9..):. 0010:01 29 .) -------------------------------------------------------------------- [03/17/2020 06:40:42.223] <Info > [95] : <Info> - 06:40:42.222 OAD Enable Notification On ImageNotify -------------------------------------------------------------------- [03/17/2020 06:40:42.227] <Info > [96] : <Rx> - 06:40:42.221 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x0505 (1285) (ATT_FindInfoRsp) Status : 0x1A (26) (bleProcedureComplete) ConnHandle : 0x0000 (0) PduLen : 0x00 (0) [03/17/2020 06:40:42.229] <Info > Dump(Rx): 0000:04 FF 06 05 05 1A 00 00 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:42.251] <Info > [97] : <Tx> - 06:40:42.221 -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) [03/17/2020 06:40:42.256] <Info > Dump(Tx): 0000:01 11 FE 0A 00 00 06 00 06 00 00 00 32 00 ............2. -------------------------------------------------------------------- [03/17/2020 06:40:42.267] <Info > [98] : <Tx> - 06:40:42.232 -Type : 0x01 (Command) -OpCode : 0xFD92 (GATT_WriteCharValue) -Data Length : 0x06 (6) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0031 (49) Value : 01:00 [03/17/2020 06:40:42.269] <Info > Dump(Tx): 0000:01 92 FD 06 00 00 31 00 01 00 ......1... -------------------------------------------------------------------- [03/17/2020 06:40:42.282] <Info > [99] : <Rx> - 06:40:42.276 -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) [03/17/2020 06:40:42.283] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 11 FE 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:42.303] <Info > [100] : <Rx> - 06:40:42.287 -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) [03/17/2020 06:40:42.307] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 92 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:42.431] <Info > [101] : <Info> - 06:40:42.423 OAD Enable Notification On ImageControl -------------------------------------------------------------------- [03/17/2020 06:40:42.437] <Info > [102] : <Rx> - 06:40:42.423 -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) [03/17/2020 06:40:42.442] <Info > Dump(Rx): 0000:04 FF 06 13 05 00 00 00 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:42.459] <Info > [103] : <Tx> - 06:40:42.435 -Type : 0x01 (Command) -OpCode : 0xFD92 (GATT_WriteCharValue) -Data Length : 0x06 (6) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0039 (57) Value : 01:00 [03/17/2020 06:40:42.461] <Info > Dump(Tx): 0000:01 92 FD 06 00 00 39 00 01 00 ......9... -------------------------------------------------------------------- [03/17/2020 06:40:42.487] <Info > [104] : <Rx> - 06:40:42.485 -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) [03/17/2020 06:40:42.490] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 92 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:42.622] <Info > [105] : <Info> - 06:40:42.621 OAD ATT Exchange MTU -------------------------------------------------------------------- [03/17/2020 06:40:42.625] <Info > [106] : <Rx> - 06:40:42.620 -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) [03/17/2020 06:40:42.629] <Info > Dump(Rx): 0000:04 FF 06 13 05 00 00 00 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:42.649] <Info > [107] : <Tx> - 06:40:42.625 -Type : 0x01 (Command) -OpCode : 0xFD02 (ATT_ExchangeMTUReq) -Data Length : 0x04 (4) byte(s) ConnHandle : 0x0000 (0) ClientRxMTU : 0x00F7 (247) [03/17/2020 06:40:42.651] <Info > Dump(Tx): 0000:01 02 FD 04 00 00 F7 00 ........ -------------------------------------------------------------------- [03/17/2020 06:40:42.673] <Info > [108] : <Rx> - 06:40:42.672 -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) [03/17/2020 06:40:42.677] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 02 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:42.822] <Info > [109] : <Info> - 06:40:42.822 OAD Get OAD Block Size -------------------------------------------------------------------- [03/17/2020 06:40:42.827] <Info > [110] : <Rx> - 06:40:42.820 -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) [03/17/2020 06:40:42.829] <Info > Dump(Rx): 0000:04 FF 08 03 05 00 00 00 02 F7 00 ........... -------------------------------------------------------------------- [03/17/2020 06:40:42.846] <Info > [111] : <Tx> - 06:40:42.826 -Type : 0x01 (Command) -OpCode : 0xFDB6 (GATT_WriteNoRsp) -Data Length : 0x05 (5) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0038 (56) Value : 01 [03/17/2020 06:40:42.850] <Info > Dump(Tx): 0000:01 B6 FD 05 00 00 38 00 01 ......8.. -------------------------------------------------------------------- [03/17/2020 06:40:42.865] <Info > [112] : <Rx> - 06:40:42.831 -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) [03/17/2020 06:40:42.867] <Info > Dump(Rx): 0000:04 FF 08 7F 05 00 00 00 02 F7 00 ........... -------------------------------------------------------------------- [03/17/2020 06:40:42.883] <Info > [113] : <Rx> - 06:40:42.862 -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) [03/17/2020 06:40:42.885] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 B6 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:43.021] <Info > [114] : <Info> - 06:40:43.020 OAD ImageControl Response Command ID = 0x01 (GetOadBlockSizeRsp) Block Size = 0x00F4 (244) -------------------------------------------------------------------- [03/17/2020 06:40:43.024] <Info > [115] : <Rx> - 06:40:43.020 -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 : 0x0038 (56) Value : 01:F4:00 [03/17/2020 06:40:43.028] <Info > Dump(Rx): 0000:04 FF 0B 1B 05 00 00 00 05 38 00 01 F4 00 .........8.... -------------------------------------------------------------------- [03/17/2020 06:40:43.030] <Info > [116] : <Info> - 06:40:43.029 OAD Send Metadata To ImageIdentify -------------------------------------------------------------------- [03/17/2020 06:40:43.048] <Info > [117] : <Tx> - 06:40:43.032 -Type : 0x01 (Command) -OpCode : 0xFD96 (GATT_WriteLongCharValue) -Data Length : 0x1C (28) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0030 (48) Offset : 0x0000 (0) Value : 4F:41:44:20:49:4D:47:20:01:01:FF:FF:01:00:C8:D6: 00:00:30:30:30:31 [03/17/2020 06:40:43.050] <Info > Dump(Tx): 0000:01 96 FD 1C 00 00 30 00 00 00 4F 41 44 20 49 4D ......0...OAD IM 0010:47 20 01 01 FF FF 01 00 C8 D6 00 00 30 30 30 31 G ..........0001 -------------------------------------------------------------------- [03/17/2020 06:40:43.074] <Info > [118] : <Rx> - 06:40:43.072 -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) [03/17/2020 06:40:43.076] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 96 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:43.218] <Info > [119] : <Rx> - 06:40:43.218 -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) [03/17/2020 06:40:43.222] <Info > Dump(Rx): 0000:04 FF 0B 07 06 00 00 00 06 00 00 00 32 00 ............2. -------------------------------------------------------------------- [03/17/2020 06:40:43.326] <Info > [120] : <Rx> - 06:40:43.324 -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) [03/17/2020 06:40:43.327] <Info > Dump(Rx): 0000:04 FF 06 19 05 00 00 00 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:43.344] <Info > [121] : <Info> - 06:40:43.343 OAD ImageIdentify Response Status = 0x00 (OAD_SUCCESS) -------------------------------------------------------------------- [03/17/2020 06:40:43.347] <Info > [122] : <Rx> - 06:40:43.335 -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 : 0x0030 (48) Value : 00 [03/17/2020 06:40:43.349] <Info > Dump(Rx): 0000:04 FF 09 1B 05 00 00 00 03 30 00 00 .........0.. -------------------------------------------------------------------- [03/17/2020 06:40:43.351] <Info > [123] : <Info> - 06:40:43.351 OAD Send Set Image Count To OAD Control -------------------------------------------------------------------- [03/17/2020 06:40:43.368] <Info > [124] : <Tx> - 06:40:43.353 -Type : 0x01 (Command) -OpCode : 0xFDB6 (GATT_WriteNoRsp) -Data Length : 0x06 (6) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0038 (56) Value : 02:01 [03/17/2020 06:40:43.372] <Info > Dump(Tx): 0000:01 B6 FD 06 00 00 38 00 02 01 ......8... -------------------------------------------------------------------- [03/17/2020 06:40:43.390] <Info > [125] : <Rx> - 06:40:43.388 -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) [03/17/2020 06:40:43.393] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 B6 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:43.422] <Info > [126] : <Info> - 06:40:43.421 OAD ImageControl Response Command ID = 0x02 (SetImageCountRsp) Status = 0x00 (OAD_SUCCESS) -------------------------------------------------------------------- [03/17/2020 06:40:43.423] <Info > [127] : <Rx> - 06:40:43.421 -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 : 0x0038 (56) Value : 02:00 [03/17/2020 06:40:43.425] <Info > Dump(Rx): 0000:04 FF 0A 1B 05 00 00 00 04 38 00 02 00 .........8... -------------------------------------------------------------------- [03/17/2020 06:40:43.427] <Info > [128] : <Info> - 06:40:43.426 OAD Send Start OAD To ImageControl -------------------------------------------------------------------- [03/17/2020 06:40:43.444] <Info > [129] : <Tx> - 06:40:43.428 -Type : 0x01 (Command) -OpCode : 0xFDB6 (GATT_WriteNoRsp) -Data Length : 0x05 (5) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0038 (56) Value : 03 [03/17/2020 06:40:43.446] <Info > Dump(Tx): 0000:01 B6 FD 05 00 00 38 00 03 ......8.. -------------------------------------------------------------------- [03/17/2020 06:40:43.475] <Info > [130] : <Rx> - 06:40:43.473 -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) [03/17/2020 06:40:43.477] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 B6 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:40:43.495] <Info > [131] : <Rx> - 06:40:43.483 -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 : 0x0038 (56) Value : 12:00:00:00:00:00 [03/17/2020 06:40:43.497] <Info > Dump(Rx): 0000:04 FF 0E 1B 05 00 00 00 08 38 00 12 00 00 00 00 .........8...... 0010:00 . -------------------------------------------------------------------- [03/17/2020 06:40:43.514] <Info > [132] : <Tx> - 06:40:43.484 -Type : 0x01 (Command) -OpCode : 0xFDB6 (GATT_WriteNoRsp) -Data Length : 0xF8 (248) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0034 (52) Value : 00:00:00:00:4F:41:44:20:49:4D:47:20:DD:3D:C2:55: 01:01:FE:FF:FF:FF:01:00:FF:FF:FF:FF:C8:D6:00:00: A8:00:00:00:30:30:30:31:C7:D6:00:00:2C:00:FF:FF: 00:FE:FF:FF:18:00:00:00:00:20:01:00:01:00:00:00: 20:05:00:20:00:00:00:00:01:FE:FF:FF:84:D6:00:00: 00:00:00:00:A0:3B:00:20:C5:A9: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:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:2D:E9:F0:4F: AD:F1:4C:0D [03/17/2020 06:40:43.517] <Info > Dump(Tx): 0000:01 B6 FD F8 00 00 34 00 00 00 00 00 4F 41 44 20 ......4.....OAD 0010:49 4D 47 20 DD 3D C2 55 01 01 FE FF FF FF 01 00 IMG .=.U........ 0020:FF FF FF FF C8 D6 00 00 A8 00 00 00 30 30 30 31 ............0001 0030:C7 D6 00 00 2C 00 FF FF 00 FE FF FF 18 00 00 00 ....,........... 0040:00 20 01 00 01 00 00 00 20 05 00 20 00 00 00 00 . ...... .. .... 0050:01 FE FF FF 84 D6 00 00 00 00 00 00 A0 3B 00 20 .............;. 0060:C5 A9 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 FF FF FF FF ....?........... 00A0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00B0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00C0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00D0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00E0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00F0:FF FF FF FF 2D E9 F0 4F AD F1 4C 0D ....-..O..L. -------------------------------------------------------------------- [03/17/2020 06:40:43.550] <Info > [133] : <Rx> - 06:40:43.548 -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) [03/17/2020 06:40:43.552] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 B6 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:41:23.491] <Error > [134] : <Error> - 06:41:23.491 OAD Operation Timed Out Operation Name = GATT_WriteNoRsp_ImageBlockWrite -------------------------------------------------------------------- [03/17/2020 06:41:23.501] <Info > [135] : <Info> - 06:41:23.499 OAD Operation Retry Operation Name = GATT_WriteNoRsp_ImageBlockWrite Retries = 1 (Max Retries = 2) -------------------------------------------------------------------- [03/17/2020 06:41:23.507] <Info > [136] : <Tx> - 06:41:23.491 -Type : 0x01 (Command) -OpCode : 0xFDB6 (GATT_WriteNoRsp) -Data Length : 0xF8 (248) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0034 (52) Value : 00:00:00:00:4F:41:44:20:49:4D:47:20:DD:3D:C2:55: 01:01:FE:FF:FF:FF:01:00:FF:FF:FF:FF:C8:D6:00:00: A8:00:00:00:30:30:30:31:C7:D6:00:00:2C:00:FF:FF: 00:FE:FF:FF:18:00:00:00:00:20:01:00:01:00:00:00: 20:05:00:20:00:00:00:00:01:FE:FF:FF:84:D6:00:00: 00:00:00:00:A0:3B:00:20:C5:A9: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:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:2D:E9:F0:4F: AD:F1:4C:0D [03/17/2020 06:41:23.510] <Info > Dump(Tx): 0000:01 B6 FD F8 00 00 34 00 00 00 00 00 4F 41 44 20 ......4.....OAD 0010:49 4D 47 20 DD 3D C2 55 01 01 FE FF FF FF 01 00 IMG .=.U........ 0020:FF FF FF FF C8 D6 00 00 A8 00 00 00 30 30 30 31 ............0001 0030:C7 D6 00 00 2C 00 FF FF 00 FE FF FF 18 00 00 00 ....,........... 0040:00 20 01 00 01 00 00 00 20 05 00 20 00 00 00 00 . ...... .. .... 0050:01 FE FF FF 84 D6 00 00 00 00 00 00 A0 3B 00 20 .............;. 0060:C5 A9 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 FF FF FF FF ....?........... 00A0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00B0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00C0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00D0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00E0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00F0:FF FF FF FF 2D E9 F0 4F AD F1 4C 0D ....-..O..L. -------------------------------------------------------------------- [03/17/2020 06:41:23.553] <Info > [137] : <Rx> - 06:41:23.550 -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) [03/17/2020 06:41:23.557] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 B6 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:42:03.496] <Error > [138] : <Error> - 06:42:03.495 OAD Operation Timed Out Operation Name = GATT_WriteNoRsp_ImageBlockWrite -------------------------------------------------------------------- [03/17/2020 06:42:03.498] <Info > [139] : <Info> - 06:42:03.497 OAD Operation Retry Operation Name = GATT_WriteNoRsp_ImageBlockWrite Retries = 2 (Max Retries = 2) -------------------------------------------------------------------- [03/17/2020 06:42:03.501] <Info > [140] : <Tx> - 06:42:03.492 -Type : 0x01 (Command) -OpCode : 0xFDB6 (GATT_WriteNoRsp) -Data Length : 0xF8 (248) byte(s) ConnHandle : 0x0000 (0) Handle : 0x0034 (52) Value : 00:00:00:00:4F:41:44:20:49:4D:47:20:DD:3D:C2:55: 01:01:FE:FF:FF:FF:01:00:FF:FF:FF:FF:C8:D6:00:00: A8:00:00:00:30:30:30:31:C7:D6:00:00:2C:00:FF:FF: 00:FE:FF:FF:18:00:00:00:00:20:01:00:01:00:00:00: 20:05:00:20:00:00:00:00:01:FE:FF:FF:84:D6:00:00: 00:00:00:00:A0:3B:00:20:C5:A9: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:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:2D:E9:F0:4F: AD:F1:4C:0D [03/17/2020 06:42:03.504] <Info > Dump(Tx): 0000:01 B6 FD F8 00 00 34 00 00 00 00 00 4F 41 44 20 ......4.....OAD 0010:49 4D 47 20 DD 3D C2 55 01 01 FE FF FF FF 01 00 IMG .=.U........ 0020:FF FF FF FF C8 D6 00 00 A8 00 00 00 30 30 30 31 ............0001 0030:C7 D6 00 00 2C 00 FF FF 00 FE FF FF 18 00 00 00 ....,........... 0040:00 20 01 00 01 00 00 00 20 05 00 20 00 00 00 00 . ...... .. .... 0050:01 FE FF FF 84 D6 00 00 00 00 00 00 A0 3B 00 20 .............;. 0060:C5 A9 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 FF FF FF FF ....?........... 00A0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00B0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00C0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00D0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00E0:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 00F0:FF FF FF FF 2D E9 F0 4F AD F1 4C 0D ....-..O..L. -------------------------------------------------------------------- [03/17/2020 06:42:03.549] <Info > [141] : <Rx> - 06:42:03.546 -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) [03/17/2020 06:42:03.554] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 B6 FD 00 ......... -------------------------------------------------------------------- [03/17/2020 06:42:43.493] <Error > [142] : <Error> - 06:42:43.493 OAD Operation Timed Out Operation Name = GATT_WriteNoRsp_ImageBlockWrite -------------------------------------------------------------------- [03/17/2020 06:42:43.500] <Info > [143] : <Info> - 06:42:43.500 OAD - Restore Connection Settings -------------------------------------------------------------------- [03/17/2020 06:42:43.503] <Error > [144] : <Error> - 06:42:43.503 OAD Download Not Successful -------------------------------------------------------------------- [03/17/2020 06:42:43.510] <Info > [145] : <Tx> - 06:42:43.503 -Type : 0x01 (Command) -OpCode : 0x2016 (HCI_LEReadRemoteUsedFeatures) -Data Length : 0x02 (2) byte(s) Handle : 0x0000 (0) [03/17/2020 06:42:43.513] <Info > Dump(Tx): 0000:01 16 20 02 00 00 .. ... -------------------------------------------------------------------- [03/17/2020 06:42:43.531] <Info > [146] : <Rx> - 06:42:43.531 -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 : 0x00000000000000FF (255) ( Encryption Connection_Parameters_Request Reject_Extended_Indication Slave_Features_Exchange Ping Data_Packet_Length_Extension Privacy Extended_Scanner_Filter_Policies) [03/17/2020 06:42:43.534] <Info > Dump(Rx): 0000:04 3E 0C 04 00 00 00 FF 00 00 00 00 00 00 00 .>............. -------------------------------------------------------------------- [03/17/2020 06:42:43.548] <Info > [147] : <Tx> - 06:42:43.531 -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) [03/17/2020 06:42:43.550] <Info > Dump(Tx): 0000:01 11 FE 0A 00 00 50 00 50 00 00 00 D0 07 ......P.P..... -------------------------------------------------------------------- [03/17/2020 06:42:43.573] <Info > [148] : <Rx> - 06:42:43.572 -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) [03/17/2020 06:42:43.576] <Info > Dump(Rx): 0000:04 FF 06 7F 06 00 11 FE 00 ......... -------------------------------------------------------------------- [03/17/2020 06:42:43.647] <Info > [149] : <Rx> - 06:42:43.645 -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) [03/17/2020 06:42:43.651] <Info > Dump(Rx): 0000:04 FF 0B 07 06 00 00 00 50 00 00 00 D0 07 ........P..... --------------------------------------------------------------------
If there any information need to provide, please let me know.
Thanks.
Curly
Hi Curly,
Adding OAD to multi-role either on-chip or off-chip is not a good combination. I have done the same and I encounter heap issues that will result in failed OAD. Sometimes it works, but most of the tries it does not.
It is out of spec. But if you use other BLE chips with bigger memory maybe it is doable. BLE chips such as CC2642R and CC2652R.
-kel
Hi Markel,
You mean that is impossible to add another task in simple_peripheral_oad_offchip and stably perform OAD?
I also encounter maybe heap or flash size problem, that is a difficult trouble.
Thanks/
Curly
Hi Curly,
Curly Lin said:It has no response after board reset, but it works in debug mode.
Unfortunately just because it works in a debug session doesn't mean that it works automatically on the device when BIM is responsible for booting the image. If the image doesn't contain a valid OAD Image Header, the BIM doesn't boot the image. Did you use the OAD Image tool to generate the files and did you load them on the right order and the correct way?
Curly Lin said:The proces stop at ImageBlockWrite when perform OAD, here is the btool log.btool.log
Thanks for the log, I'll look at it tomorrow and get back to you.
Thanks,
Elin
Curly Lin said:You mean that is impossible to add another task in simple_peripheral_oad_offchip and stably perform OAD?
The simple peripheral off-chip oad will work. It is a big example program. It also requires a lot of memory for oad to work. If you add multi-role code to it which also requires a lot of memory to work, the problem occurs.
As is the simple peripheral off-chip oad will work, you can add a lot of code to it and it will still work. After modifying the simple peripheral off-chip oad you need to test oad many times like 20/20 to make sure oad is reliable.
-kel
Markel Robregado said:The simple peripheral off-chip oad will work. It is a big example program. It also requires a lot of memory for oad to work. If you add multi-role code to it which also requires a lot of memory to work, the problem occurs.
I add a new task to simple peripheral off chip example, but the code size in flash seems still not enough to fit it.
And still work on code reduction.
Curly
Hi Curly,
Yes, that is the correct order. And the OAD Image Tool is defined as a post-build step, but it's always good to check that it has worked as expected and that you use the *_oad.bin file.
Just checked through the log and it looks like the first error message you get is "Attribute Dictionary Invalid Handle Cannot Be Used" so I would try and get to the root cause of that first.
Thanks,
Elin