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

SDK15.3 buttonless dfu example cant get into dfu mode on pca10040 using armgcc build.

nRF Connect log shows DFU mode cannot be achieved. Same test on SDK15.2 worked.

Comparing the ld files of 15.2 and 15.3 shows uicr_bootloader_start_address and uicr_mbr_params_page

are quite different. 

SDK15.2

uicr_bootloader_start_address (r) : ORIGIN = 0x100010014, LENGTH =0x4

uicr_mbr_params_page (r) : ORIGIN = 0x10001018, LENGTH = 0x4

SDK 15.3

uicr_bootloader_start_address (r) : ORIGIN = 0x00000FF8, LENGTH =0x4

uicr_mbr_params_page (r) : ORIGIN = 0x00000FFC, LENGTH = 0x4

Is this why SDK15.3 DFU is not working?

nRF Connect, 2019-09-13
Nordic_Buttonless (D3:CD:8A:FD:E1:51)
V	12:20:27.822	Connecting to D3:CD:8A:FD:E1:51...
D	12:20:27.822	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D	12:20:29.342	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	12:20:29.358	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I	12:20:29.358	Connected to D3:CD:8A:FD:E1:51
V	12:20:29.399	Discovering services...
D	12:20:29.399	gatt.discoverServices()
I	12:20:29.726	Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)
D	12:20:29.921	[Callback] Services discovered with status: 0
I	12:20:29.921	Services discovered
V	12:20:29.946	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)
- Buttonless DFU [I W] (8ec90003-f315-4f60-9fb8-838830daea50)
Client Characteristic Configuration (0x2902)
D	12:20:29.946	gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true)
I	12:20:29.993	Connection parameters updated (interval: 45.0ms, latency: 0, timeout: 5000ms)
I	12:20:34.452	Connection parameters updated (interval: 195.0ms, latency: 0, timeout: 4000ms)
V	12:20:39.692	[DFU] DFU service started
V	12:20:39.692	[DFU] Opening file...
I	12:20:39.699	[DFU] Firmware file opened successfully
V	12:20:39.699	[DFU] Connecting to DFU target...
D	12:20:39.703	[DFU] gatt = device.connectGatt(autoConnect = false)
I	12:20:39.719	[DFU] Connected to D3:CD:8A:FD:E1:51
V	12:20:39.720	[DFU] Discovering services...
D	12:20:39.720	[DFU] gatt.discoverServices()
I	12:20:39.731	[DFU] Services discovered
D	12:20:39.747	[DFU] wait(1000)
W	12:20:40.805	[DFU] Application with buttonless update found
V	12:20:40.805	[DFU] Jumping to the DFU Bootloader...
V	12:20:40.805	[DFU] Enabling indications for 8ec90003-f315-4f60-9fb8-838830daea50
D	12:20:40.805	[DFU] gatt.setCharacteristicNotification(8ec90003-f315-4f60-9fb8-838830daea50, true)
D	12:20:40.805	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x02-00)
I	12:20:41.094	[DFU] Data written to descr.8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 02-00
V	12:20:41.094	[DFU] Notifications enabled for 8ec90003-f315-4f60-9fb8-838830daea50
A	12:20:41.094	[DFU] Indications enabled
D	12:20:41.094	[DFU] wait(1000)
V	12:20:42.118	[DFU] Writing to characteristic 8ec90003-f315-4f60-9fb8-838830daea50
D	12:20:42.118	[DFU] gatt.writeCharacteristic(8ec90003-f315-4f60-9fb8-838830daea50)
I	12:20:42.463	[DFU] Notification received from 8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 20-01-01
A	12:20:42.464	[DFU] Enter bootloader sent (Op Code = 1)
A	12:20:42.465	[DFU] Response received (Op Code = 1, Status = 1)
D	12:20:46.677	[Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0)
E	12:20:46.678	Error 8 (0x8): GATT CONN TIMEOUT
I	12:20:46.678	Disconnected
I	12:20:46.756	[DFU] Disconnected by the remote device
D	12:20:46.756	[DFU] gatt.refresh() (hidden)
D	12:20:46.756	[DFU] gatt.close()
V	12:20:46.756	[DFU] Scanning for the DFU Bootloader...
D	12:20:46.756	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	12:20:46.768	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
I	12:20:51.763	[DFU] DFU Bootloader not found. Trying the same address...
V	12:20:51.798	[DFU] DFU service started
I	12:20:51.798	[DFU] Firmware file opened successfully
D	12:20:51.799	[DFU] wait(1000)
D	12:20:52.801	[DFU] wait(1000)
V	12:20:53.801	[DFU] Connecting to DFU target...
D	12:20:53.837	[DFU] gatt = device.connectGatt(autoConnect = false)
D	12:20:54.577	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	12:20:54.597	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	12:20:54.597	[DFU] Connected to D3:CD:8A:FD:E1:51
V	12:20:54.597	[DFU] Discovering services...
D	12:20:54.597	[DFU] gatt.discoverServices()
I	12:20:55.170	[DFU] Services discovered
D	12:20:55.192	[DFU] wait(1000)
W	12:20:56.190	[DFU] Application with buttonless update found
V	12:20:56.190	[DFU] Jumping to the DFU Bootloader...
V	12:20:56.190	[DFU] Enabling indications for 8ec90003-f315-4f60-9fb8-838830daea50
D	12:20:56.191	[DFU] gatt.setCharacteristicNotification(8ec90003-f315-4f60-9fb8-838830daea50, true)
D	12:20:56.195	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x02-00)
I	12:20:56.281	[DFU] Data written to descr.8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 02-00
V	12:20:56.282	[DFU] Notifications enabled for 8ec90003-f315-4f60-9fb8-838830daea50
A	12:20:56.283	[DFU] Indications enabled
D	12:20:56.283	[DFU] wait(1000)
V	12:20:57.320	[DFU] Writing to characteristic 8ec90003-f315-4f60-9fb8-838830daea50
D	12:20:57.320	[DFU] gatt.writeCharacteristic(8ec90003-f315-4f60-9fb8-838830daea50)
A	12:20:57.398	[DFU] Enter bootloader sent (Op Code = 1)
I	12:20:57.399	[DFU] Notification received from 8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 20-01-01
A	12:20:57.402	[DFU] Response received (Op Code = 1, Status = 1)
I	12:21:02.472	[DFU] Disconnected by the remote device
D	12:21:02.475	[DFU] gatt.refresh() (hidden)
D	12:21:02.485	[DFU] gatt.close()
D	12:21:02.486	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	12:21:02.491	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
V	12:21:02.519	[DFU] Scanning for the DFU Bootloader...
I	12:21:02.747	[DFU] DFU Bootloader found with address D3:CD:8A:FD:E1:51
V	12:21:02.766	[DFU] DFU service started
I	12:21:02.766	[DFU] Firmware file opened successfully
D	12:21:02.766	[DFU] wait(1000)
D	12:21:03.768	[DFU] wait(1000)
V	12:21:04.816	[DFU] Connecting to DFU target...
D	12:21:04.817	[DFU] gatt = device.connectGatt(autoConnect = false)
D	12:21:05.768	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	12:21:05.794	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	12:21:05.794	[DFU] Connected to D3:CD:8A:FD:E1:51
V	12:21:05.794	[DFU] Discovering services...
D	12:21:05.794	[DFU] gatt.discoverServices()
I	12:21:06.335	[DFU] Services discovered
D	12:21:06.377	[DFU] wait(1000)
W	12:21:07.361	[DFU] Application with buttonless update found
V	12:21:07.361	[DFU] Jumping to the DFU Bootloader...
V	12:21:07.361	[DFU] Enabling indications for 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:07.361	[DFU] gatt.setCharacteristicNotification(8ec90003-f315-4f60-9fb8-838830daea50, true)
D	12:21:07.368	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x02-00)
I	12:21:07.434	[DFU] Data written to descr.8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 02-00
V	12:21:07.434	[DFU] Notifications enabled for 8ec90003-f315-4f60-9fb8-838830daea50
A	12:21:07.434	[DFU] Indications enabled
D	12:21:07.439	[DFU] wait(1000)
V	12:21:08.474	[DFU] Writing to characteristic 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:08.474	[DFU] gatt.writeCharacteristic(8ec90003-f315-4f60-9fb8-838830daea50)
A	12:21:08.515	[DFU] Enter bootloader sent (Op Code = 1)
I	12:21:08.517	[DFU] Notification received from 8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 20-01-01
A	12:21:08.517	[DFU] Response received (Op Code = 1, Status = 1)
I	12:21:13.580	[DFU] Disconnected by the remote device
D	12:21:13.582	[DFU] gatt.refresh() (hidden)
D	12:21:13.589	[DFU] gatt.close()
D	12:21:13.595	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	12:21:13.621	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
V	12:21:13.621	[DFU] Scanning for the DFU Bootloader...
I	12:21:13.864	[DFU] DFU Bootloader found with address D3:CD:8A:FD:E1:51
V	12:21:13.893	[DFU] DFU service started
I	12:21:13.893	[DFU] Firmware file opened successfully
D	12:21:13.893	[DFU] wait(1000)
D	12:21:14.894	[DFU] wait(1000)
V	12:21:15.931	[DFU] Connecting to DFU target...
D	12:21:15.935	[DFU] gatt = device.connectGatt(autoConnect = false)
D	12:21:18.574	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	12:21:18.611	[DFU] Connected to D3:CD:8A:FD:E1:51
V	12:21:18.611	[DFU] Discovering services...
D	12:21:18.611	[DFU] gatt.discoverServices()
D	12:21:18.611	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	12:21:19.165	[DFU] Services discovered
D	12:21:19.199	[DFU] wait(1000)
W	12:21:20.186	[DFU] Application with buttonless update found
V	12:21:20.186	[DFU] Jumping to the DFU Bootloader...
V	12:21:20.186	[DFU] Enabling indications for 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:20.186	[DFU] gatt.setCharacteristicNotification(8ec90003-f315-4f60-9fb8-838830daea50, true)
D	12:21:20.191	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x02-00)
I	12:21:20.262	[DFU] Data written to descr.8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 02-00
V	12:21:20.262	[DFU] Notifications enabled for 8ec90003-f315-4f60-9fb8-838830daea50
A	12:21:20.263	[DFU] Indications enabled
D	12:21:20.263	[DFU] wait(1000)
V	12:21:21.294	[DFU] Writing to characteristic 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:21.296	[DFU] gatt.writeCharacteristic(8ec90003-f315-4f60-9fb8-838830daea50)
A	12:21:21.385	[DFU] Enter bootloader sent (Op Code = 1)
I	12:21:21.385	[DFU] Notification received from 8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 20-01-01
A	12:21:21.385	[DFU] Response received (Op Code = 1, Status = 1)
I	12:21:26.453	[DFU] Disconnected by the remote device
D	12:21:26.456	[DFU] gatt.refresh() (hidden)
D	12:21:26.459	[DFU] gatt.close()
D	12:21:26.465	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	12:21:26.498	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
V	12:21:26.498	[DFU] Scanning for the DFU Bootloader...
I	12:21:26.723	[DFU] DFU Bootloader found with address D3:CD:8A:FD:E1:51
V	12:21:26.736	[DFU] DFU service started
I	12:21:26.736	[DFU] Firmware file opened successfully
D	12:21:26.736	[DFU] wait(1000)
D	12:21:27.737	[DFU] wait(1000)
V	12:21:28.772	[DFU] Connecting to DFU target...
D	12:21:28.773	[DFU] gatt = device.connectGatt(autoConnect = false)
D	12:21:29.152	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	12:21:29.172	[DFU] Connected to D3:CD:8A:FD:E1:51
V	12:21:29.172	[DFU] Discovering services...
D	12:21:29.172	[DFU] gatt.discoverServices()
D	12:21:29.173	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	12:21:29.726	[DFU] Services discovered
D	12:21:29.807	[DFU] wait(1000)
W	12:21:30.739	[DFU] Application with buttonless update found
V	12:21:30.739	[DFU] Jumping to the DFU Bootloader...
V	12:21:30.739	[DFU] Enabling indications for 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:30.739	[DFU] gatt.setCharacteristicNotification(8ec90003-f315-4f60-9fb8-838830daea50, true)
D	12:21:30.741	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x02-00)
I	12:21:30.832	[DFU] Data written to descr.8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 02-00
V	12:21:30.832	[DFU] Notifications enabled for 8ec90003-f315-4f60-9fb8-838830daea50
A	12:21:30.832	[DFU] Indications enabled
D	12:21:30.832	[DFU] wait(1000)
V	12:21:31.855	[DFU] Writing to characteristic 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:31.855	[DFU] gatt.writeCharacteristic(8ec90003-f315-4f60-9fb8-838830daea50)
A	12:21:31.913	[DFU] Enter bootloader sent (Op Code = 1)
I	12:21:31.913	[DFU] Notification received from 8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 20-01-01
A	12:21:31.914	[DFU] Response received (Op Code = 1, Status = 1)
I	12:21:36.986	[DFU] Disconnected by the remote device
D	12:21:36.990	[DFU] gatt.refresh() (hidden)
D	12:21:36.999	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	12:21:37.031	[DFU] gatt.close()
V	12:21:37.031	[DFU] Scanning for the DFU Bootloader...
D	12:21:37.032	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
I	12:21:41.875	[DFU] DFU Bootloader found with address D3:CD:8A:FD:E1:51
V	12:21:41.912	[DFU] DFU service started
I	12:21:41.912	[DFU] Firmware file opened successfully
D	12:21:41.912	[DFU] wait(1000)
D	12:21:42.912	[DFU] wait(1000)
V	12:21:43.923	[DFU] Connecting to DFU target...
D	12:21:43.924	[DFU] gatt = device.connectGatt(autoConnect = false)
D	12:21:45.976	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	12:21:46.002	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	12:21:46.003	[DFU] Connected to D3:CD:8A:FD:E1:51
V	12:21:46.003	[DFU] Discovering services...
D	12:21:46.003	[DFU] gatt.discoverServices()
I	12:21:46.562	[DFU] Services discovered
D	12:21:46.583	[DFU] wait(1000)
W	12:21:47.577	[DFU] Application with buttonless update found
V	12:21:47.578	[DFU] Jumping to the DFU Bootloader...
V	12:21:47.578	[DFU] Enabling indications for 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:47.578	[DFU] gatt.setCharacteristicNotification(8ec90003-f315-4f60-9fb8-838830daea50, true)
D	12:21:47.580	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x02-00)
I	12:21:47.662	[DFU] Data written to descr.8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 02-00
V	12:21:47.662	[DFU] Notifications enabled for 8ec90003-f315-4f60-9fb8-838830daea50
A	12:21:47.663	[DFU] Indications enabled
D	12:21:47.663	[DFU] wait(1000)
V	12:21:48.679	[DFU] Writing to characteristic 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:48.679	[DFU] gatt.writeCharacteristic(8ec90003-f315-4f60-9fb8-838830daea50)
I	12:21:48.787	[DFU] Notification received from 8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 20-01-01
A	12:21:48.787	[DFU] Enter bootloader sent (Op Code = 1)
A	12:21:48.787	[DFU] Response received (Op Code = 1, Status = 1)
I	12:21:53.868	[DFU] Disconnected by the remote device
D	12:21:53.879	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	12:21:53.910	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	12:21:53.910	[DFU] gatt.refresh() (hidden)
D	12:21:53.910	[DFU] gatt.close()
V	12:21:53.910	[DFU] Scanning for the DFU Bootloader...
I	12:21:54.137	[DFU] DFU Bootloader found with address D3:CD:8A:FD:E1:51
V	12:21:54.154	[DFU] DFU service started
I	12:21:54.154	[DFU] Firmware file opened successfully
D	12:21:54.154	[DFU] wait(1000)
D	12:21:55.153	[DFU] wait(1000)
V	12:21:56.256	[DFU] Connecting to DFU target...
D	12:21:56.257	[DFU] gatt = device.connectGatt(autoConnect = false)
D	12:21:56.717	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	12:21:56.737	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	12:21:56.737	[DFU] Connected to D3:CD:8A:FD:E1:51
V	12:21:56.737	[DFU] Discovering services...
D	12:21:56.737	[DFU] gatt.discoverServices()
I	12:21:57.325	[DFU] Services discovered
D	12:21:57.350	[DFU] wait(1000)
W	12:21:58.344	[DFU] Application with buttonless update found
V	12:21:58.344	[DFU] Jumping to the DFU Bootloader...
V	12:21:58.344	[DFU] Enabling indications for 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:58.344	[DFU] gatt.setCharacteristicNotification(8ec90003-f315-4f60-9fb8-838830daea50, true)
D	12:21:58.346	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x02-00)
I	12:21:58.416	[DFU] Data written to descr.8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 02-00
V	12:21:58.416	[DFU] Notifications enabled for 8ec90003-f315-4f60-9fb8-838830daea50
A	12:21:58.417	[DFU] Indications enabled
D	12:21:58.417	[DFU] wait(1000)
V	12:21:59.454	[DFU] Writing to characteristic 8ec90003-f315-4f60-9fb8-838830daea50
D	12:21:59.455	[DFU] gatt.writeCharacteristic(8ec90003-f315-4f60-9fb8-838830daea50)
A	12:21:59.545	[DFU] Enter bootloader sent (Op Code = 1)
I	12:21:59.545	[DFU] Notification received from 8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 20-01-01
A	12:21:59.545	[DFU] Response received (Op Code = 1, Status = 1)
I	12:22:04.605	[DFU] Disconnected by the remote device
D	12:22:04.607	[DFU] gatt.refresh() (hidden)
D	12:22:04.612	[DFU] gatt.close()
D	12:22:04.616	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	12:22:04.653	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
V	12:22:04.653	[DFU] Scanning for the DFU Bootloader...
I	12:22:06.623	[DFU] DFU Bootloader found with address D3:CD:8A:FD:E1:51
V	12:22:06.639	[DFU] DFU service started
I	12:22:06.639	[DFU] Firmware file opened successfully
D	12:22:06.640	[DFU] wait(1000)
D	12:22:07.658	[DFU] wait(1000)
V	12:22:08.642	[DFU] Connecting to DFU target...
D	12:22:08.684	[DFU] gatt = device.connectGatt(autoConnect = false)
D	12:22:09.808	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	12:22:09.810	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	12:22:09.810	[DFU] Connected to D3:CD:8A:FD:E1:51
V	12:22:09.813	[DFU] Discovering services...
D	12:22:09.814	[DFU] gatt.discoverServices()
I	12:22:10.413	[DFU] Services discovered
D	12:22:10.448	[DFU] wait(1000)
W	12:22:11.437	[DFU] Application with buttonless update found
V	12:22:11.437	[DFU] Jumping to the DFU Bootloader...
V	12:22:11.437	[DFU] Enabling indications for 8ec90003-f315-4f60-9fb8-838830daea50
D	12:22:11.438	[DFU] gatt.setCharacteristicNotification(8ec90003-f315-4f60-9fb8-838830daea50, true)
D	12:22:11.439	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x02-00)
I	12:22:11.515	[DFU] Data written to descr.8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 02-00
V	12:22:11.515	[DFU] Notifications enabled for 8ec90003-f315-4f60-9fb8-838830daea50
A	12:22:11.515	[DFU] Indications enabled
D	12:22:11.516	[DFU] wait(1000)
V	12:22:12.565	[DFU] Writing to characteristic 8ec90003-f315-4f60-9fb8-838830daea50
D	12:22:12.565	[DFU] gatt.writeCharacteristic(8ec90003-f315-4f60-9fb8-838830daea50)
A	12:22:12.592	[DFU] Enter bootloader sent (Op Code = 1)
I	12:22:12.592	[DFU] Notification received from 8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 20-01-01
A	12:22:12.592	[DFU] Response received (Op Code = 1, Status = 1)
I	12:22:17.667	[DFU] Disconnected by the remote device
D	12:22:17.670	[DFU] gatt.refresh() (hidden)
D	12:22:17.672	[DFU] gatt.close()
D	12:22:17.683	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D	12:22:17.718	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
V	12:22:17.718	[DFU] Scanning for the DFU Bootloader...
I	12:22:22.733	[DFU] DFU Bootloader not found. Trying the same address...
V	12:22:22.765	[DFU] DFU service started
I	12:22:22.765	[DFU] Firmware file opened successfully
D	12:22:22.765	[DFU] wait(1000)
D	12:22:23.770	[DFU] wait(1000)
V	12:22:24.797	[DFU] Connecting to DFU target...
D	12:22:24.799	[DFU] gatt = device.connectGatt(autoConnect = false)
E	12:22:25.984	[DFU] Error 133: Connection timeout
D	12:22:25.987	[DFU] gatt.refresh() (hidden)
D	12:22:25.991	[DFU] gatt.close()
D	12:22:26.001	[DFU] wait(600)
D	12:22:26.604	gatt.close()
D	12:22:26.612	wait(200)
V	12:22:26.822	Connecting to D3:CD:8A:FD:E1:51...
D	12:22:26.822	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D	12:22:27.506	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D	12:22:27.534	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I	12:22:27.534	Connected to D3:CD:8A:FD:E1:51
V	12:22:27.566	Discovering services...
D	12:22:27.566	gatt.discoverServices()
I	12:22:27.896	Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)
D	12:22:28.102	[Callback] Services discovered with status: 0
I	12:22:28.102	Services discovered
V	12:22:28.122	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] (0x2::q!iguration (0x2902)
Secure DFU Service (0xFE59)
- Buttonless DFU [I W] (8ec90003-f315-4f60-9fb8-838830daea50)
Client Characteristic Configuration (0x2902)
D	12:22:28.122	gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true)
I	12:22:28.162	Connection parameters updated (interval: 45.0ms, latency: 0, timeout: 5000ms)
I	12:22:32.624	Connection parameters updated (interval: 195.0ms, latency: 0, timeout: 4000ms)

Parents
  • Hi,

    In 15.3.0 we started using the MBR section to hold the bootloader start address instead of UICR.

    Are you using make flash and make flash_softdevice commands for flashing the application/bootloader ?

    If yes, see this post :

    flash_sdbl: default
    	@echo Flashing Softdevice and bootloader
    	mergehex -m $(OUTPUT_DIRECTORY)/nrf52832_xxaa_s132.hex $(SDK_ROOT)/components/softdevice/s132/hex/s132_nrf52_6.1.1_softdevice.hex -o sdbl.hex
    	nrfjprog --program sdbl.hex --chiperase -r
    

    Similar post for Keil can be found here.

  • We use a separate script to merge all 4 components before flashing the pca10040 so this does not seem to be the issue we are experiencing. 

    Additional info on this issue. nRF Connect on Android can see the Buttonless device, DFU is requested, the device goes into DFU mode since DfuTarg can be seen but stops. Manually connecting to the Dfutarg advertising device and retrying the DFU will go to completion. So the issue seems to be nRFConnect cannot complete the DFU without manual intervention or SDK15.3 is not allowing it.

    nRF Connect, 2019-09-17
    Nordic_Buttonless (D3:CD:8A:FD:E1:51)
    V 11:03:59.831 Connecting to D3:CD:8A:FD:E1:51...
    D 11:03:59.832 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
    D 11:04:00.959 [Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0)
    E 11:04:00.959 Error 133 (0x85): GATT ERROR
    I 11:04:00.959 Disconnected
    D 11:04:03.340 gatt.close()
    D 11:04:03.346 wait(200)
    V 11:04:03.552 Connecting to D3:CD:8A:FD:E1:51...
    D 11:04:03.552 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
    D 11:04:04.004 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
    D 11:04:04.018 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
    I 11:04:04.018 Connected to D3:CD:8A:FD:E1:51
    V 11:04:04.079 Discovering services...
    D 11:04:04.079 gatt.discoverServices()
    I 11:04:04.377 Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)
    D 11:04:04.575 [Callback] Services discovered with status: 0
    I 11:04:04.575 Services discovered
    V 11:04:04.605 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)
    - Buttonless DFU [I W] (8ec90003-f315-4f60-9fb8-838830daea50)
    Client Characteristic Configuration (0x2902)
    D 11:04:04.605 gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true)
    I 11:04:04.658 Connection parameters updated (interval: 45.0ms, latency: 0, timeout: 5000ms)
    I 11:04:09.100 Connection parameters updated (interval: 195.0ms, latency: 0, timeout: 4000ms)
    V 11:04:20.442 [DFU] DFU service started
    V 11:04:20.442 [DFU] Opening file...
    I 11:04:20.480 [DFU] Firmware file opened successfully
    V 11:04:20.480 [DFU] Connecting to DFU target...
    D 11:04:20.481 [DFU] gatt = device.connectGatt(autoConnect = false)
    I 11:04:20.511 [DFU] Connected to D3:CD:8A:FD:E1:51
    V 11:04:20.514 [DFU] Discovering services...
    D 11:04:20.514 [DFU] gatt.discoverServices()
    I 11:04:20.530 [DFU] Services discovered
    D 11:04:20.572 [DFU] wait(1000)
    W 11:04:21.603 [DFU] Application with buttonless update found
    V 11:04:21.603 [DFU] Jumping to the DFU Bootloader...
    V 11:04:21.603 [DFU] Enabling indications for 8ec90003-f315-4f60-9fb8-838830daea50
    D 11:04:21.603 [DFU] gatt.setCharacteristicNotification(8ec90003-f315-4f60-9fb8-838830daea50, true)
    D 11:04:21.603 [DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x02-00)
    I 11:04:21.850 [DFU] Data written to descr.8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 02-00
    V 11:04:21.850 [DFU] Notifications enabled for 8ec90003-f315-4f60-9fb8-838830daea50
    A 11:04:21.850 [DFU] Indications enabled
    D 11:04:21.850 [DFU] wait(1000)
    V 11:04:22.881 [DFU] Writing to characteristic 8ec90003-f315-4f60-9fb8-838830daea50
    D 11:04:22.881 [DFU] gatt.writeCharacteristic(8ec90003-f315-4f60-9fb8-838830daea50)
    I 11:04:23.215 [DFU] Notification received from 8ec90003-f315-4f60-9fb8-838830daea50, value (0x): 20-01-01
    A 11:04:23.215 [DFU] Enter bootloader sent (Op Code = 1)
    A 11:04:23.215 [DFU] Response received (Op Code = 1, Status = 1)
    I 11:04:27.447 [DFU] Disconnected by the remote device
    D 11:04:27.447 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
    D 11:04:27.494 [DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
    D 11:04:27.494 [DFU] gatt.refresh() (hidden)
    D 11:04:27.494 [DFU] gatt.close()
    D 11:04:27.494 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0)
    E 11:04:27.494 Error 8 (0x8): GATT CONN TIMEOUT
    I 11:04:27.494 Disconnected
    V 11:04:27.532 [DFU] Scanning for the DFU Bootloader...
    I 11:04:27.798 [DFU] DFU Bootloader found with address D3:CD:8A:FD:E1:52
    V 11:04:27.834 [DFU] DFU service started
    I 11:04:27.834 [DFU] Firmware file opened successfully
    D 11:04:27.834 [DFU] wait(1000)
    D 11:04:28.837 [DFU] wait(1000)
    V 11:04:29.835 [DFU] Connecting to DFU target...
    D 11:04:29.866 [DFU] gatt = device.connectGatt(autoConnect = false)
    I 11:04:30.077 [DFU] Connected to D3:CD:8A:FD:E1:52
    V 11:04:30.077 [DFU] Discovering services...
    D 11:04:30.077 [DFU] gatt.discoverServices()
    D 11:04:30.251 [DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
    I 11:04:30.862 [DFU] Services discovered
    D 11:04:30.863 [DFU] wait(1000)
    V 11:04:31.839 [DFU] Requesting new MTU...
    D 11:04:31.839 [DFU] gatt.requestMtu(517)
    I 11:04:31.871 [DFU] MTU changed to: 247
    V 11:04:31.871 [DFU] Enabling notifications for 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:31.871 [DFU] gatt.setCharacteristicNotification(8ec90001-f315-4f60-9fb8-838830daea50, true)
    D 11:04:31.873 [DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
    I 11:04:31.929 [DFU] Data written to descr.8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-00
    V 11:04:31.929 [DFU] Notifications enabled for 8ec90001-f315-4f60-9fb8-838830daea50
    A 11:04:31.929 [DFU] Notifications enabled
    D 11:04:31.929 [DFU] wait(1000)
    V 11:04:32.930 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:32.930 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:32.963 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 06-01
    I 11:04:32.964 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-06-01-00-02-00-00-00-00-00-00-00-00-00-00
    A 11:04:32.965 [DFU] Command object info received (Max size = 512, Offset = 0, CRC = 00000000)
    V 11:04:32.965 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:32.965 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:32.993 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 02-00-00
    I 11:04:33.001 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
    A 11:04:33.001 [DFU] Packet Receipt Notif disabled (Op Code = 2, Value = 0)
    V 11:04:33.001 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:33.001 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:33.025 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-01-8E-00-00-00
    I 11:04:33.025 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:33.025 [DFU] Command object created
    V 11:04:33.025 [DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
    D 11:04:33.025 [DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
    I 11:04:33.036 [DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 12-8B-01-0A-45-08-01-12-41-08-C8-01-10-34-1A-02-B7-01-20-00-28-00-30-00-38-CC-95-03-42-24-08-03-12-20-7E-5D-02-78-6D-78-B3-24-3A-A7-5B-FA-EB-78-FB-CE-CA-D5-50-6E-91-20-05-0C-74-5B-37-4A-DF-76-10-B9-48-00-52-04-08-01-12-00-10-00-1A-40-E2-B8-8C-68-ED-AE-15-ED-23-82-1A-B4-7D-E4-7C-77-B1-E6-35-14-7C-FD-41-62-8A-CD-B0-F5-FF-65-14-39-88-AB-4E-A1-7C-89-DC-E8-C3-FA-B1-08-2A-1C-59-BC-23-16-F8-BA-83-66-B6-29-A8-A2-54-D8-EB-A9-12-EB
    A 11:04:33.036 [DFU] Command object sent (CRC = A0BBA61A)
    V 11:04:33.036 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:33.036 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:33.070 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:33.071 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-8E-00-00-00-1A-A6-BB-A0
    A 11:04:33.072 [DFU] Checksum received (Offset = 142, CRC = A0BBA61A)
    V 11:04:33.072 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:33.072 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:33.106 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:33.237 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:33.242 [DFU] Command object executed
    V 11:04:33.243 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:33.243 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:33.263 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 06-02
    I 11:04:33.264 [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
    A 11:04:33.264 [DFU] Data object info received (Max size = 4096, Offset = 0, CRC = 00000000)
    V 11:04:33.284 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:33.284 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:33.399 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:33.399 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:33.399 [DFU] Data object (1/13) created
    A 11:04:33.399 [DFU] Uploading firmware...
    V 11:04:33.400 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:33.483 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:33.483 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:33.774 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:33.774 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-10-00-00-54-64-F4-DB
    A 11:04:33.775 [DFU] Checksum received (Offset = 4096, CRC = DBF46454)
    V 11:04:33.775 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:33.775 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:33.803 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:34.003 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:34.004 [DFU] Data object executed
    V 11:04:34.004 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:34.004 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:34.060 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:34.060 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:34.060 [DFU] Data object (2/13) created
    A 11:04:34.060 [DFU] Uploading firmware...
    V 11:04:34.060 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:34.211 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:34.211 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:34.348 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:34.348 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-20-00-00-5A-66-D1-9A
    A 11:04:34.348 [DFU] Checksum received (Offset = 8192, CRC = 9AD1665A)
    V 11:04:34.349 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:34.349 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:34.376 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:34.539 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:34.540 [DFU] Data object executed
    V 11:04:34.540 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:34.540 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:34.568 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:34.568 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:34.568 [DFU] Data object (3/13) created
    A 11:04:34.569 [DFU] Uploading firmware...
    V 11:04:34.569 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:34.658 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:34.658 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:34.870 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:34.871 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-30-00-00-EE-68-73-9F
    A 11:04:34.872 [DFU] Checksum received (Offset = 12288, CRC = 9F7368EE)
    V 11:04:34.872 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:34.872 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:34.899 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:35.079 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:35.079 [DFU] Data object executed
    V 11:04:35.079 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:35.079 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:35.079 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:35.079 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:35.079 [DFU] Data object (4/13) created
    A 11:04:35.079 [DFU] Uploading firmware...
    V 11:04:35.079 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:35.163 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:35.163 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:35.364 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:35.365 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-40-00-00-3C-94-74-05
    A 11:04:35.365 [DFU] Checksum received (Offset = 16384, CRC = 0574943C)
    V 11:04:35.366 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:35.367 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:35.393 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:35.559 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:35.559 [DFU] Data object executed
    V 11:04:35.560 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:35.560 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:35.589 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:35.590 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:35.590 [DFU] Data object (5/13) created
    A 11:04:35.590 [DFU] Uploading firmware...
    V 11:04:35.590 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:35.681 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:35.681 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:35.891 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:35.898 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-50-00-00-32-D0-0B-CA
    A 11:04:35.899 [DFU] Checksum received (Offset = 20480, CRC = CA0BD032)
    V 11:04:35.899 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:35.899 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:35.918 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:36.107 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:36.107 [DFU] Data object executed
    V 11:04:36.107 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:36.107 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:36.115 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:36.115 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:36.116 [DFU] Data object (6/13) created
    A 11:04:36.116 [DFU] Uploading firmware...
    V 11:04:36.116 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:36.206 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:36.206 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:36.413 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:36.413 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-60-00-00-F8-58-E0-FF
    A 11:04:36.414 [DFU] Checksum received (Offset = 24576, CRC = FFE058F8)
    V 11:04:36.414 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:36.414 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:36.444 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:36.632 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:36.632 [DFU] Data object executed
    V 11:04:36.632 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:36.632 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:36.632 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:36.632 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:36.632 [DFU] Data object (7/13) created
    A 11:04:36.632 [DFU] Uploading firmware...
    V 11:04:36.632 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:36.752 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:36.752 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:36.953 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:36.955 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-70-00-00-24-A6-E7-67
    A 11:04:36.955 [DFU] Checksum received (Offset = 28672, CRC = 67E7A624)
    V 11:04:36.955 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:36.955 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:36.983 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:37.121 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:37.122 [DFU] Data object executed
    V 11:04:37.122 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:37.122 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:37.191 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:37.191 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:37.191 [DFU] Data object (8/13) created
    A 11:04:37.191 [DFU] Uploading firmware...
    V 11:04:37.191 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:37.232 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:37.232 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:37.483 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-80-00-00-9D-03-1C-5E
    I 11:04:37.489 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-80-00-00-9D-03-1C-5E
    A 11:04:37.490 [DFU] Checksum received (Offset = 32768, CRC = 5E1C039D)
    V 11:04:37.490 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:37.490 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:37.526 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:37.635 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:37.636 [DFU] Data object executed
    V 11:04:37.637 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:37.637 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:37.660 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:37.660 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:37.661 [DFU] Data object (9/13) created
    A 11:04:37.661 [DFU] Uploading firmware...
    V 11:04:37.661 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:37.798 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:37.798 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:38.021 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:38.021 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-90-00-00-91-94-39-19
    A 11:04:38.021 [DFU] Checksum received (Offset = 36864, CRC = 19399491)
    V 11:04:38.021 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:38.021 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:38.021 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:38.175 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:38.175 [DFU] Data object executed
    V 11:04:38.175 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:38.175 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:38.175 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:38.175 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:38.176 [DFU] Data object (10/13) created
    A 11:04:38.176 [DFU] Uploading firmware...
    V 11:04:38.176 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:38.361 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:38.361 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:38.470 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:38.483 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-A0-00-00-2C-33-AD-80
    A 11:04:38.484 [DFU] Checksum received (Offset = 40960, CRC = 80AD332C)
    V 11:04:38.484 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:38.484 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:38.516 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:38.649 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:38.652 [DFU] Data object executed
    V 11:04:38.652 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:38.659 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:38.681 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:38.687 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:38.690 [DFU] Data object (11/13) created
    A 11:04:38.690 [DFU] Uploading firmware...
    V 11:04:38.694 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:38.866 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:38.866 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:39.014 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:39.014 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-B0-00-00-07-6A-65-5C
    A 11:04:39.014 [DFU] Checksum received (Offset = 45056, CRC = 5C656A07)
    V 11:04:39.014 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:39.014 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:39.023 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:39.209 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:39.209 [DFU] Data object executed
    V 11:04:39.209 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:39.209 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:39.218 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I 11:04:39.218 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:39.227 [DFU] Data object (12/13) created
    A 11:04:39.227 [DFU] Uploading firmware...
    V 11:04:39.227 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:39.352 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:39.352 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:39.519 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:39.521 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-C0-00-00-00-44-BB-C1
    A 11:04:39.521 [DFU] Checksum received (Offset = 49152, CRC = C1BB4400)
    V 11:04:39.521 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:39.521 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:39.548 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:39.714 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:39.714 [DFU] Data object executed
    V 11:04:39.714 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:39.714 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:39.744 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-CC-0A-00-00
    I 11:04:39.744 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A 11:04:39.746 [DFU] Data object (13/13) created
    A 11:04:39.746 [DFU] Uploading firmware...
    V 11:04:39.746 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V 11:04:39.831 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:39.831 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:40.014 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I 11:04:40.015 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-CC-CA-00-00-38-9C-A2-92
    A 11:04:40.015 [DFU] Checksum received (Offset = 51916, CRC = 92A29C38)
    V 11:04:40.015 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D 11:04:40.015 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I 11:04:40.047 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I 11:04:40.374 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A 11:04:40.375 [DFU] Data object executed
    A 11:04:40.375 [DFU] Upload completed in 7100 ms
    I 11:04:40.739 [DFU] Disconnected by the remote device
    D 11:04:40.739 [DFU] gatt.refresh() (hidden)
    D 11:04:40.739 [DFU] gatt.close()
    D 11:04:40.739 [DFU] wait(1400)
    D 11:04:40.747 [DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
    D 11:04:42.183 gatt.close()
    D 11:04:42.188 wait(200)
    V 11:04:42.389 Connecting to D3:CD:8A:FD:E1:51...
    D 11:04:42.389 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
    D 11:04:43.579 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
    D 11:04:43.595 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
    I 11:04:43.595 Connected to D3:CD:8A:FD:E1:51
    V 11:04:43.619 Discovering services...
    D 11:04:43.619 gatt.discoverServices()
    I 11:04:43.978 Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)
    D 11:04:44.172 [Callback] Services discovered with status: 0
    I 11:04:44.172 Services discovered
    V 11:04:44.212 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)
    - Buttonless DFU [I W] (8ec90003-f315-4f60-9fb8-838830daea50)
    Client Characteristic Configuration (0x2902)
    D 11:04:44.212 gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true)
    I 11:04:44.248 Connection parameters updated (interval: 45.0ms, latency: 0, timeout: 5000ms)
    I 11:04:48.745 Connection parameters updated (interval: 195.0ms, latency: 0, timeout: 4000ms)
    
    loadallthree.sh

  • Hi,

    I don't see anything wrong in the log. The DFU bootloader is found, and the DFU service is started.

    11:04:27.532 [DFU] Scanning for the DFU Bootloader...
    11:04:27.798 [DFU] DFU Bootloader found with address D3:CD:8A:FD:E1:52
    11:04:27.834 [DFU] DFU service started
    11:04:27.834 [DFU] Firmware file opened successfully 

    Did you connect manually here? If yes, could you upload a log where you don’t manually connect?

Reply
  • Hi,

    I don't see anything wrong in the log. The DFU bootloader is found, and the DFU service is started.

    11:04:27.532 [DFU] Scanning for the DFU Bootloader...
    11:04:27.798 [DFU] DFU Bootloader found with address D3:CD:8A:FD:E1:52
    11:04:27.834 [DFU] DFU service started
    11:04:27.834 [DFU] Firmware file opened successfully 

    Did you connect manually here? If yes, could you upload a log where you don’t manually connect?

Children
No Data
Related