This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DFU being successful in exactly second attempt

Hi All.

We are trying to do DFU on a device using s132_nrf52_5.0.0_softdevice.hex.

The DFU interrupts first time when it is around 15-20% complete.

When the DFU is attempted second time, it completes successfully.

Please find attached the DEBUG logs collected during the first DFU-attempt.

We have tried whatever is available on google, but nothing  works definitely.

Kindly help us in resolving the issue.

Thanks and Regards,

Ajay

nRF Connect, 2018-12-19
CSV-705174180957 (F4:6F:59:94:CE:13)
V	14:04:16.330	Connecting to F4:6F:59:94:CE:13...
D	14:04:16.331	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE)
D	14:04:17.839	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I	14:04:17.839	Connected to F4:6F:59:94:CE:13
D	14:04:17.867	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
V	14:04:17.880	Discovering services...
D	14:04:17.880	gatt.discoverServices()
D	14:04:18.694	[Callback] Services discovered with status: 0
I	14:04:18.695	Services discovered
V	14:04:18.708	Generic Access (0x1800)
- Device Name [R W] (0x2A00)
- Appearance [R] (0x2A01)
- Peripheral Preferred Connection Parameters [R] (0x2A04)
- Central Address Resolution [R] (0x2AA6)
Generic Attribute (0x1801)
Unknown Service (45b06612-2416-11e7-93ae-92361f002671)
- Unknown Characteristic [N R W] (45b06b26-2416-11e7-93ae-92361f002671)
 Client Characteristic Configuration (0x2902)
D	14:04:18.708	gatt.setCharacteristicNotification(45b06b26-2416-11e7-93ae-92361f002671, true)
V	14:04:20.417	Enabling notifications for 45b06b26-2416-11e7-93ae-92361f002671
D	14:04:20.417	gatt.setCharacteristicNotification(45b06b26-2416-11e7-93ae-92361f002671, true)
D	14:04:20.420	gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0100)
I	14:04:20.525	Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00
A	14:04:20.525	"Notifications enabled" sent
V	14:04:20.534	Notifications enabled for 45b06b26-2416-11e7-93ae-92361f002671
V	14:04:26.060	Writing request to characteristic 45b06b26-2416-11e7-93ae-92361f002671
D	14:04:26.060	gatt.writeCharacteristic(45b06b26-2416-11e7-93ae-92361f002671, value=0x000010636F6F6C405200)
I	14:04:26.130	Notification received from 45b06b26-2416-11e7-93ae-92361f002671, value: (0x) 00-00-10-00
A	14:04:26.130	"(0x) 00-00-10-00" received
I	14:04:26.132	Data written to 45b06b26-2416-11e7-93ae-92361f002671, value: (0x) 00-00-10-00
A	14:04:26.132	"(0x) 00-00-10-00" sent
V	14:04:33.023	Writing request to characteristic 45b06b26-2416-11e7-93ae-92361f002671
D	14:04:33.023	gatt.writeCharacteristic(45b06b26-2416-11e7-93ae-92361f002671, value=0x000610)
I	14:04:33.102	Notification received from 45b06b26-2416-11e7-93ae-92361f002671, value: (0x) 00-06-10-00
A	14:04:33.102	"(0x) 00-06-10-00" received
I	14:04:33.103	Data written to 45b06b26-2416-11e7-93ae-92361f002671, value: (0x) 00-06-10-00
A	14:04:33.103	"(0x) 00-06-10-00" sent
D	14:04:33.296	[Callback] Connection state changed with status: 19 and new state: DISCONNECTED (0)
W	14:04:33.296	Connection terminated by peer (status 19)
I	14:04:33.296	Disconnected
D	14:04:33.296	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	14:04:33.312	gatt.refresh() (hidden)
D	14:04:34.965	gatt.close()
D	14:04:34.969	wait(200)
V	14:04:35.173	Connecting to F4:6F:59:94:CE:13...
D	14:04:35.174	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE)
D	14:04:35.538	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I	14:04:35.538	Connected to F4:6F:59:94:CE:13
D	14:04:35.743	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
V	14:04:35.745	Discovering services...
D	14:04:35.745	gatt.discoverServices()
D	14:04:36.309	[Callback] Services discovered with status: 0
I	14:04:36.309	Services discovered
V	14:04:36.325	Generic Access (0x1800)
- Device Name [R W] (0x2A00)
- Appearance [R] (0x2A01)
- Peripheral Preferred Connection Parameters [R] (0x2A04)
- Central Address Resolution [R] (0x2AA6)
Generic Attribute (0x1801)
- Service Changed [I] (0x2A05)
 Client Characteristic Configuration (0x2902)
Secure DFU Service (0xFE59)
- DFU Packet [WNR] (8ec90002-f315-4f60-9fb8-838830daea50)
- DFU Control Point [N W] (8ec90001-f315-4f60-9fb8-838830daea50)
 Client Characteristic Configuration (0x2902)
D	14:04:36.325	gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true)
V	14:04:40.346	[DFU] DFU service started
V	14:04:40.347	[DFU] Opening file...
I	14:04:40.359	[DFU] Firmware file opened successfully
V	14:04:40.359	[DFU] Connecting to DFU target...
D	14:04:40.363	[DFU] gatt = device.connectGatt(autoConnect = false)
I	14:04:40.375	[DFU] Connected to F4:6F:59:94:CE:13
V	14:04:40.376	[DFU] Discovering services...
D	14:04:40.376	[DFU] gatt.discoverServices()
I	14:04:40.379	[DFU] Services discovered
D	14:04:40.400	[DFU] wait(1000)
V	14:04:41.398	[DFU] Requesting new MTU...
D	14:04:41.398	[DFU] gatt.requestMtu(517)
I	14:04:41.498	[DFU] MTU changed to: 23
V	14:04:41.498	[DFU] Enabling notifications for 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:41.498	[DFU] gatt.setCharacteristicNotification(8ec90001-f315-4f60-9fb8-838830daea50, true)
D	14:04:41.498	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
I	14:04:41.598	[DFU] Data written to descr.8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-00
V	14:04:41.598	[DFU] Notifications enabled for 8ec90001-f315-4f60-9fb8-838830daea50
A	14:04:41.598	[DFU] Notifications enabled
D	14:04:41.598	[DFU] wait(1000)
V	14:04:42.602	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:42.602	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:42.677	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-06-01-00-01-00-00-00-00-00-00-00-00-00-00
I	14:04:42.677	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-06-01-00-01-00-00-00-00-00-00-00-00-00-00
A	14:04:42.677	[DFU] Command object info received (Max size = 256, Offset = 0, CRC = 00000000)
V	14:04:42.677	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:42.677	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:42.768	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
I	14:04:42.768	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
A	14:04:42.770	[DFU] Packet Receipt Notif disabled (Op Code = 2, Value = 0)
V	14:04:42.770	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:42.770	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:42.868	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:04:42.868	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:04:42.868	[DFU] Command object created
V	14:04:42.868	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
D	14:04:42.868	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
I	14:04:42.868	[DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 12-88-01-0A-42-08-01-12-3E-08-FF-FF-FF-FF-0F-10-34-1A-02-98
V	14:04:42.868	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
D	14:04:42.868	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
I	14:04:42.868	[DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 01-20-00-28-00-30-00-38-A4-81-0F-42-24-08-03-12-20-03-47-00
V	14:04:42.868	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
D	14:04:42.869	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
I	14:04:42.869	[DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 4C-E2-23-93-0B-DA-DB-97-0F-01-ED-15-98-17-F7-AC-62-10-5C-D9
V	14:04:42.882	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
D	14:04:42.882	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
I	14:04:42.882	[DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 55-11-AC-6E-64-8F-2E-87-AB-48-01-10-00-1A-40-1D-A8-15-9D-9E
V	14:04:42.882	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
D	14:04:42.882	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
I	14:04:42.882	[DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 8C-E5-49-17-EE-C3-F1-53-18-5A-DA-DA-C1-F8-DE-49-B3-59-99-60
V	14:04:42.882	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
D	14:04:42.882	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
I	14:04:42.882	[DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 77-32-C9-93-BC-2B-70-A9-E6-3B-7F-85-FD-8C-3C-C5-97-23-76-A4
V	14:04:42.882	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
D	14:04:42.882	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
I	14:04:42.883	[DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): F8-D3-48-89-FE-4D-08-D9-32-1C-61-FA-20-DD-0F-8B-44-31-06
A	14:04:42.883	[DFU] Command object sent (CRC = C4152702)
V	14:04:42.883	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:42.883	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:43.051	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
I	14:04:43.051	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-8B-00-00-00-02-27-15-C4
A	14:04:43.051	[DFU] Checksum received (Offset = 139, CRC = C4152702)
V	14:04:43.052	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:43.052	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:43.151	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
I	14:04:43.252	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:04:43.252	[DFU] Command object executed
V	14:04:43.252	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:43.252	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:43.350	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
I	14:04:43.350	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
A	14:04:43.350	[DFU] Packet Receipt Notif Req (Op Code = 2) sent (Value = 10)
V	14:04:43.350	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:43.350	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:43.501	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-06-01-00-10-00-00-00-00-00-00-00-00-00-00
I	14:04:43.501	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-06-01-00-10-00-00-00-00-00-00-00-00-00-00
A	14:04:43.501	[DFU] Data object info received (Max size = 4096, Offset = 0, CRC = 00000000)
V	14:04:43.540	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:43.540	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:43.598	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:04:43.598	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:04:43.598	[DFU] Data object (1/61) created
A	14:04:43.598	[DFU] Uploading firmware...
V	14:04:43.598	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
V	14:04:48.568	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:48.568	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:48.715	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-10-00-00-23-4F-C5-F5
I	14:04:48.715	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-10-00-00-23-4F-C5-F5
A	14:04:48.715	[DFU] Checksum received (Offset = 4096, CRC = F5C54F23)
V	14:04:48.715	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:48.715	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:48.800	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
I	14:04:48.800	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:04:48.800	[DFU] Data object executed
V	14:04:48.800	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:48.800	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:48.951	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:04:48.951	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:04:48.951	[DFU] Data object (2/61) created
A	14:04:48.951	[DFU] Uploading firmware...
V	14:04:48.951	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
V	14:04:54.037	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:54.037	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:54.170	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-20-00-00-F4-B6-E9-E4
I	14:04:54.170	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-20-00-00-F4-B6-E9-E4
A	14:04:54.170	[DFU] Checksum received (Offset = 8192, CRC = E4E9B6F4)
V	14:04:54.170	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:54.170	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:54.267	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
I	14:04:54.267	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:04:54.267	[DFU] Data object executed
V	14:04:54.267	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:54.267	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:54.417	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:04:54.417	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:04:54.417	[DFU] Data object (3/61) created
A	14:04:54.417	[DFU] Uploading firmware...
V	14:04:54.417	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
V	14:04:59.383	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:59.383	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:59.535	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
I	14:04:59.585	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-30-00-00-F5-AF-A0-50
A	14:04:59.585	[DFU] Checksum received (Offset = 12288, CRC = 50A0AFF5)
V	14:04:59.585	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:59.585	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:59.685	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
I	14:04:59.685	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:04:59.685	[DFU] Data object executed
V	14:04:59.686	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:04:59.686	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:04:59.833	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:04:59.834	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:04:59.836	[DFU] Data object (4/61) created
A	14:04:59.836	[DFU] Uploading firmware...
V	14:04:59.836	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
V	14:05:04.818	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:04.818	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:04.951	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-40-00-00-D0-7B-34-E5
I	14:05:04.951	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-40-00-00-D0-7B-34-E5
A	14:05:04.951	[DFU] Checksum received (Offset = 16384, CRC = E5347BD0)
V	14:05:04.951	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:04.951	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:05.052	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
I	14:05:05.052	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:05:05.052	[DFU] Data object executed
V	14:05:05.052	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:05.052	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:05.185	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:05:05.185	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:05:05.185	[DFU] Data object (5/61) created
A	14:05:05.185	[DFU] Uploading firmware...
V	14:05:05.185	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
V	14:05:10.221	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:10.222	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:10.351	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-50-00-00-A5-63-7C-9A
I	14:05:10.352	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-50-00-00-A5-63-7C-9A
A	14:05:10.352	[DFU] Checksum received (Offset = 20480, CRC = 9A7C63A5)
V	14:05:10.352	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:10.352	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:10.451	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
I	14:05:10.451	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:05:10.451	[DFU] Data object executed
V	14:05:10.452	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:10.452	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:10.602	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:05:10.602	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:05:10.602	[DFU] Data object (6/61) created
A	14:05:10.602	[DFU] Uploading firmware...
V	14:05:10.602	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
V	14:05:15.635	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:15.635	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:15.770	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
I	14:05:15.803	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-60-00-00-65-98-60-4E
A	14:05:15.803	[DFU] Checksum received (Offset = 24576, CRC = 4E609865)
V	14:05:15.803	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:15.803	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:15.918	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
I	14:05:15.954	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:05:15.954	[DFU] Data object executed
V	14:05:15.954	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:15.954	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:16.120	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:05:16.120	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:05:16.120	[DFU] Data object (7/61) created
A	14:05:16.120	[DFU] Uploading firmware...
V	14:05:16.120	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
V	14:05:21.135	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:21.135	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:21.272	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
I	14:05:21.322	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-70-00-00-7D-C9-63-55
A	14:05:21.322	[DFU] Checksum received (Offset = 28672, CRC = 5563C97D)
V	14:05:21.322	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:21.322	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:21.420	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
I	14:05:21.420	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:05:21.420	[DFU] Data object executed
V	14:05:21.421	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:21.421	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:21.571	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:05:21.572	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:05:21.572	[DFU] Data object (8/61) created
A	14:05:21.572	[DFU] Uploading firmware...
V	14:05:21.572	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
V	14:05:26.509	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:26.509	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:26.636	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-80-00-00-8C-9A-AE-3F
I	14:05:26.636	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-80-00-00-8C-9A-AE-3F
A	14:05:26.637	[DFU] Checksum received (Offset = 32768, CRC = 3FAE9A8C)
V	14:05:26.637	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:26.637	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:26.736	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
I	14:05:26.737	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:05:26.737	[DFU] Data object executed
V	14:05:26.737	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:26.737	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:26.887	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:05:26.887	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:05:26.887	[DFU] Data object (9/61) created
A	14:05:26.888	[DFU] Uploading firmware...
V	14:05:26.888	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
V	14:05:31.821	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:31.821	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:31.957	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-90-00-00-26-30-AE-E2
I	14:05:31.957	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-90-00-00-26-30-AE-E2
A	14:05:31.957	[DFU] Checksum received (Offset = 36864, CRC = E2AE3026)
V	14:05:31.957	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:31.957	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:32.054	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
I	14:05:32.054	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
A	14:05:32.054	[DFU] Data object executed
V	14:05:32.054	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
D	14:05:32.054	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
I	14:05:32.202	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
I	14:05:32.202	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
A	14:05:32.202	[DFU] Data object (10/61) created
A	14:05:32.202	[DFU] Uploading firmware...
V	14:05:32.202	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
D	14:05:53.221	[Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0)
E	14:05:53.221	Error 8 (0x8): GATT CONN TIMEOUT
I	14:05:53.221	Disconnected
E	14:05:53.258	[DFU] Device has disconnected
D	14:05:53.259	[DFU] gatt.close()
D	14:05:53.261	gatt.close()
D	14:05:53.263	wait(200)
V	14:05:53.466	Connecting to F4:6F:59:94:CE:13...
D	14:05:53.466	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE)
D	14:05:53.535	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
I	14:05:53.550	Disconnected
D	14:05:53.781	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	14:05:53.782	gatt.close()
D	14:05:54.053	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I	14:05:54.053	Connected to F4:6F:59:94:CE:13
D	14:05:54.054	wait(200)
V	14:05:54.258	Connecting to F4:6F:59:94:CE:13...
D	14:05:54.258	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE)
D	14:05:54.298	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
I	14:05:54.334	Disconnected
D	14:05:54.560	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	14:05:54.560	gatt.close()
D	14:05:54.582	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I	14:05:54.582	Connected to F4:6F:59:94:CE:13
D	14:05:54.582	wait(200)
V	14:05:54.785	Connecting to F4:6F:59:94:CE:13...
D	14:05:54.786	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE)
D	14:05:54.820	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
I	14:05:54.840	Disconnected
D	14:05:55.146	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	14:05:55.146	gatt.close()
D	14:05:55.380	wait(200)
V	14:05:55.584	Connecting to F4:6F:59:94:CE:13...
D	14:05:55.585	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE)
D	14:05:55.616	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
I	14:05:55.641	Disconnected
D	14:05:55.878	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
D	14:05:55.878	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	14:05:55.878	Connected to F4:6F:59:94:CE:13
V	14:05:55.962	Discovering services...
D	14:05:55.962	gatt.discoverServices()
D	14:05:56.032	[Callback] Services discovered with status: 0
I	14:05:56.032	Services discovered
V	14:05:56.050	Generic Access (0x1800)
- Device Name [R W] (0x2A00)
- Appearance [R] (0x2A01)
- Peripheral Preferred Connection Parameters [R] (0x2A04)
- Central Address Resolution [R] (0x2AA6)
Generic Attribute (0x1801)
- Service Changed [I] (0x2A05)
 Client Characteristic Configuration (0x2902)
Secure DFU Service (0xFE59)
- DFU Packet [WNR] (8ec90002-f315-4f60-9fb8-838830daea50)
- DFU Control Point [N W] (8ec90001-f315-4f60-9fb8-838830daea50)
 Client Characteristic Configuration (0x2902)
D	14:05:56.051	gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true)
D	14:07:42.642	[Callback] Connection state changed with status: 34 and new state: DISCONNECTED (0)
E	14:07:42.642	Error 34 (0x22): GATT CONN LMP TIMEOUT
I	14:07:42.642	Disconnected
D	14:07:42.780	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED

Parents
  • Hi Ajay,

    Your description:

    "2. Switch to DFU mode. The device then disconnects itself automatically." What application was running on the nRF before this? Only bootloader or an application with bootloader? How do you switch to bootloader mode? Button press or Buttonless DFU service? Please share screenshots from the points you experience trouble, maybe they can help give me some insight in what exactly is happening here.

    As for the whitescreen issue you have with the desktop version, what operating system are you using? It should not be possible to crash nRFconnect simply by selecting the device.

    Also, what mobile device are you using? Are you able to test the DFU on another mobile device?

    Best regards,

    Simon

Reply
  • Hi Ajay,

    Your description:

    "2. Switch to DFU mode. The device then disconnects itself automatically." What application was running on the nRF before this? Only bootloader or an application with bootloader? How do you switch to bootloader mode? Button press or Buttonless DFU service? Please share screenshots from the points you experience trouble, maybe they can help give me some insight in what exactly is happening here.

    As for the whitescreen issue you have with the desktop version, what operating system are you using? It should not be possible to crash nRFconnect simply by selecting the device.

    Also, what mobile device are you using? Are you able to test the DFU on another mobile device?

    Best regards,

    Simon

Children
  • Hi Simonr.

    "2. Switch to DFU mode. The device then disconnects itself automatically." What application was running on the nRF before this? Only bootloader or an application with bootloader?

    Application with bootloader.

    How do you switch to bootloader mode? Button press or Buttonless DFU service?

    Buttonless DFU service.

    Please share screenshots from the points you experience trouble, maybe they can help give me some insight in what exactly is happening here.

    Nothing much that way. Just that the DFU interrupts midway around the 20% mark, and then completes on the 2nd attempt. The logs have already been attached in the originating post.

    As for the whitescreen issue you have with the desktop version, what operating system are you using? It should not be possible to crash nRFconnect simply by selecting the device.

    I am using Windows 8.1 Pro. And the white-screen does occur immediately after selecting the solitary PCA10040 from the dropdown.

    Also, what mobile device are you using? Are you able to test the DFU on another mobile device?

    Using Android, on Oppo and MI phones.

    Thanks and Regards,

    Ajay

Related