- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ,
I am testing the BLE DFU firmware update feature with CySmart 1.3 and CySmart mobile. Both of them fail to transfer my .cyacd2 file. ( You can find it enclosed)
CySmart log is as follows :
[13:56:56:811] : 'Establish Connection' request sent
[13:56:56:811] : BD Address Type: PUBLIC_ADDRESS
[13:56:56:811] : BD Address: 78:77:E8:50:A0:00:00:00
[13:56:56:813] : 'Command Status' event received
[13:56:56:813] : Status: BLE_STATUS_OK
[13:57:04:483] : 'Establish Connection Response' event received
[13:57:04:483] : 'Enhanced connection complete' event received
[13:57:04:483] : Status: 0x00
[13:57:04:483] : Role: 0x00
[13:57:04:483] : BD Address Type: PUBLIC_ADDRESS
[13:57:04:483] : BD Address: 78:77:E8:50:A0:00:00:00
[13:57:04:483] : Local resolvable address: 00:00:00:00:00:00:00:00
[13:57:04:483] : Peer resolvable address: 00:00:00:00:00:00:00:00
[13:57:04:483] : Connection Interval: 15.00 ms
[13:57:04:483] : Slave Latency: 0
[13:57:04:483] : Supervision Timeout: 200 ms
[13:57:04:483] : 'Command Complete' event received
[13:57:04:483] : Status: BLE_STATUS_OK
[13:57:04:484] : 'Exchange GATT MTU Size' request sent
[13:57:04:484] : MTU: 0x0200
[13:57:04:486] : 'Command Status' event received
[13:57:04:486] : Status: BLE_STATUS_OK
[13:57:04:514] : 'Exchange GATT MTU Size Response' event received
[13:57:04:514] : MTU: 0x0200
[13:57:04:514] : 'Command Complete' event received
[13:57:04:514] : Status: BLE_STATUS_OK
[13:57:04:515] : 'Initiate Pairing' request sent
[13:57:04:515] : 'Command Status' event received
[13:57:04:515] : Status: BLE_STATUS_OK
[13:57:04:530] : 'Data length changed notification' event received
[13:57:04:530] : Connection maximum Tx octet: 251
[13:57:04:530] : Connection maximum Tx time: 2120 µs
[13:57:04:530] : Connection maximum Rx octet: 251
[13:57:04:530] : Connection maximum Rx time: 2120 µs
[13:57:04:544] : 'Negotiated pairing parameters' event received
[13:57:04:544] : State: Pairing negotiated
[13:57:04:544] : Security Level: 0x01
[13:57:04:544] : Encryption Key Size: 16
[13:57:04:544] : Bonding: 0x00
[13:57:04:544] : Pairing properties: NONE
[13:57:04:681] : 'Negotiated pairing parameters' event received
[13:57:04:681] : State: Pairing completed
[13:57:04:681] : Security Level: 0x01
[13:57:04:681] : Encryption Key Size: 16
[13:57:04:681] : Bonding: 0x00
[13:57:04:681] : Pairing properties: NONE
[13:57:04:681] : 'Command Complete' event received
[13:57:04:681] : Status: BLE_STATUS_OK
[13:57:04:681] : 'Misc Event Notification' received
[13:57:04:681] : Event Code: 0x0029 (GAP_ENCRYPT_CHANGE)
[13:57:04:681] : Event Data: Encryption ON
[13:57:04:681] : Event Data: [01]
[13:57:04:696] : 'Discover Primary Services by UUID' request sent
[13:57:04:696] : UUID: 00060000F8CE11E4ABF40002A5D5C51B
[13:57:04:696] : 'Command Status' event received
[13:57:04:696] : Status: BLE_STATUS_OK
[13:57:04:712] : 'Discover Primary Services by UUID Result Progress' event received
[13:57:04:712] : Primary Service 1:
[13:57:04:712] : -------------------------
[13:57:04:712] : Start Handle: 0x0010
[13:57:04:712] : End Handle: 0x0013
[13:57:04:743] : 'GATT Error Notification' event received
[13:57:04:743] : Error Code: BLE_GATT_ERR_ATTRIBUTE_NOT_FOUND
[13:57:04:743] : 'Discover All Characteristics' request sent
[13:57:04:743] : Start Handle: 0x0010
[13:57:04:743] : End Handle: 0x0013
[13:57:04:743] : 'Command Status' event received
[13:57:04:743] : Status: BLE_STATUS_OK
[13:57:04:781] : 'Discover All Characteristics Result Progress' event received
[13:57:04:781] : Characteristic 1:
[13:57:04:781] : --------------------------
[13:57:04:781] : Attribute Handle: 0x0011
[13:57:04:781] : Characteristic Value Handle: 0x0012
[13:57:04:781] : UUID: 00060001F8CE11E4ABF40002A5D5C51B
[13:57:04:781] : Properties: 0x1C
[13:57:04:813] : 'GATT Error Notification' event received
[13:57:04:813] : Error Code: BLE_GATT_ERR_ATTRIBUTE_NOT_FOUND
[13:57:04:813] : 'Discover All Characteristic Descriptors' request sent
[13:57:04:813] : Start Handle: 0x0013
[13:57:04:813] : End Handle: 0x0013
[13:57:04:813] : 'Command Status' event received
[13:57:04:813] : Status: BLE_STATUS_OK
[13:57:04:844] : 'Discover All Characteristic Descriptors Result Progress' event received
[13:57:04:844] : Characteristic Descriptor 1:
[13:57:04:844] : -------------------------------------
[13:57:04:844] : Attribute Handle: 0x0013
[13:57:04:844] : UUID: 0x2902
[13:57:04:844] : 'Command Complete' event received
[13:57:04:844] : Status: BLE_STATUS_OK
[13:57:04:844] : 'Write Characteristic Descriptor' request sent
[13:57:04:844] : Attribute Handle: 0x0013
[13:57:04:844] : Value: [01:00]
[13:57:04:844] : 'Command Status' event received
[13:57:04:844] : Status: BLE_STATUS_OK
[13:57:04:859] : 'Command Complete' event received
[13:57:04:859] : Status: BLE_STATUS_OK
[13:57:04:875] : 'Read Characteristic Descriptor' request sent
[13:57:04:875] : Attribute Handle: 0x0013
[13:57:04:875] : 'Command Status' event received
[13:57:04:875] : Status: BLE_STATUS_OK
[13:57:04:898] : 'Read Characteristic Descriptor Response' event received
[13:57:04:898] : Value: [01:00]
[13:57:04:898] : 'Command Complete' event received
[13:57:04:898] : Status: BLE_STATUS_OK
[13:57:04:898] : 'Write Characteristic Value Without Response' request sent
[13:57:04:898] : Attribute Handle: 0x0012
[13:57:04:898] : Value: [01:38:06:00:04:03:02:01:00:00:B7:FF:17]
[13:57:04:898] : 'Command Status' event received
[13:57:04:898] : Status: BLE_STATUS_OK
[13:57:04:898] : 'Command Complete' event received
[13:57:04:898] : Status: BLE_STATUS_OK
[13:57:09:898] : 'Terminate Connection' request sent
[13:57:09:900] : 'Command Status' event received
[13:57:09:900] : Status: BLE_STATUS_OK
[13:57:09:915] : 'Connection Terminated Notification' event received
[13:57:09:915] : Reason: CONNECTION_TERMINATED_BY_LOCAL_HOST
[13:57:09:915] : 'Connection Terminated Notification' event received
[13:57:09:915] : Reason: CONNECTION_TERMINATED_BY_LOCAL_HOST
I do not know why but suddenly CySmart sends out a "Terminate Connection" request.
The host and target has same security and connection parameters.
Any idea about what the reason could be?
Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Further investigation, reveal that there was a BLE issue.
Thanks for the help.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have you made any default configuration changes for PSoC6DfuBleApp1 or PSoC6DfuBleApp1 project?
If possible, can you please attach both of your Bootloader as well as application (esw) projects? We will analyze them and get back to you with our comments.
Thanks and regards
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Further investigation, reveal that there was a BLE issue.
Thanks for the help.
Regards,