Hi
I am having a hard time implementing DFU using SDK12.3 / nRF52832 now.
I have tried so many times, but have failed a lot and have left a log similar to the next one in place of the success log.
There have been a lot of attempts, but there is just one thing I can not do.
I do not know how to change the address value of Read / Write Memory Areas.
This picture is now the "Option for target 'nrf52832_xxaa" window of the current application.
Could you tell me the start value and size value of this address?
How can I find out this value?
PS.
Correct your question.
DFU is executed using nRF52832 of SDK12.3. Finally, GATT CONN TIMEOUT Error occurs and BLE Disconnect is done.
Error 8 (0x8): GATT CONN TIMEOUT
If you do BLE Scan, the device will no longer advertise.
nRF Connect, 2019-07-26 DfuTarg (F1:B4:3C:D2:D1:34) V 10:24:09.072 Connecting to F1:B4:3C:D2:D1:34... D 10:24:09.072 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE) D 10:24:09.990 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 10:24:09.990 Connected to F1:B4:3C:D2:D1:34 D 10:24:09.994 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED V 10:24:10.010 Discovering services... D 10:24:10.010 gatt.discoverServices() D 10:24:10.689 [Callback] Services discovered with status: 0 I 10:24:10.689 Services discovered V 10:24:10.711 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) 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) V 10:24:17.741 [DFU] DFU service started V 10:24:17.741 [DFU] Opening file... I 10:24:17.771 [DFU] Firmware file opened successfully V 10:24:17.771 [DFU] Connecting to DFU target... D 10:24:17.772 [DFU] gatt = device.connectGatt(autoConnect = false) I 10:24:17.776 [DFU] Connected to F1:B4:3C:D2:D1:34 V 10:24:17.777 [DFU] Discovering services... D 10:24:17.777 [DFU] gatt.discoverServices() I 10:24:17.779 [DFU] Services discovered D 10:24:17.794 [DFU] wait(1000) V 10:24:18.811 [DFU] Requesting new MTU... D 10:24:18.811 [DFU] gatt.requestMtu(517) I 10:24:18.854 [DFU] MTU changed to: 23 V 10:24:18.854 [DFU] Enabling notifications for 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:18.854 [DFU] gatt.setCharacteristicNotification(8ec90001-f315-4f60-9fb8-838830daea50, true) D 10:24:18.871 [DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00) I 10:24:18.940 [DFU] Data written to descr.8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-00 V 10:24:18.940 [DFU] Notifications enabled for 8ec90001-f315-4f60-9fb8-838830daea50 A 10:24:18.940 [DFU] Notifications enabled D 10:24:18.940 [DFU] wait(1000) V 10:24:19.953 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:19.953 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:20.018 [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 10:24:20.018 [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 10:24:20.018 [DFU] Command object info received (Max size = 256, Offset = 0, CRC = 00000000) V 10:24:20.018 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:20.019 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:20.117 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01 I 10:24:20.117 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01 A 10:24:20.117 [DFU] Packet Receipt Notif disabled (Op Code = 2, Value = 0) V 10:24:20.117 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:20.117 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:20.200 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:20.200 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:20.200 [DFU] Command object created V 10:24:20.200 [DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50 D 10:24:20.200 [DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50) I 10:24:20.212 [DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 12-8A-01-0A-44-08-01-12-40-08-01-10-34-1A-02-8C-01-20-00-28 V 10:24:20.212 [DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50 D 10:24:20.212 [DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50) I 10:24:20.212 [DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 00-30-00-38-B4-95-02-42-24-08-03-12-20-59-C5-46-84-6C-C1-F3 V 10:24:20.212 [DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50 D 10:24:20.212 [DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50) I 10:24:20.212 [DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 79-F0-71-41-6B-7A-C4-CF-10-28-A6-85-3B-6F-CD-47-BE-B8-1D-20 V 10:24:20.212 [DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50 D 10:24:20.212 [DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50) I 10:24:20.212 [DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 40-90-49-D6-8D-48-00-52-04-08-01-12-00-10-00-1A-40-05-F2-C2 V 10:24:20.212 [DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50 D 10:24:20.212 [DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50) I 10:24:20.230 [DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): C6-48-BE-D5-44-3B-2D-0F-F4-11-04-E5-3E-4C-FA-0B-EE-AF-F5-74 V 10:24:20.230 [DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50 D 10:24:20.230 [DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50) I 10:24:20.230 [DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 82-29-8A-8F-23-20-D0-C2-55-FA-D5-1F-33-BF-7A-88-F1-10-FA-9B V 10:24:20.230 [DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50 D 10:24:20.230 [DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50) I 10:24:20.230 [DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): A0-90-4D-3A-62-F4-03-1C-E2-31-E1-15-FF-0A-23-8C-0E-FB-1F-A0 V 10:24:20.230 [DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50 D 10:24:20.230 [DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50) I 10:24:20.230 [DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 7F A 10:24:20.230 [DFU] Command object sent (CRC = 3A3D6B42) V 10:24:20.230 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:20.230 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:20.349 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-8D-00-00-00-42-6B-3D-3A I 10:24:20.349 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-8D-00-00-00-42-6B-3D-3A A 10:24:20.349 [DFU] Checksum received (Offset = 141, CRC = 3A3D6B42) V 10:24:20.349 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:20.349 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:20.413 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04 I 10:24:20.529 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:20.529 [DFU] Command object executed V 10:24:20.529 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:20.529 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:20.594 [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 10:24:20.594 [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 10:24:20.594 [DFU] Data object info received (Max size = 4096, Offset = 0, CRC = 00000000) V 10:24:20.626 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:20.626 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:20.745 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:20.745 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:20.745 [DFU] Data object (1/9) created A 10:24:20.762 [DFU] Uploading firmware... V 10:24:20.762 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50... V 10:24:21.158 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:21.158 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:22.474 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-10-00-00-A6-91-4F-DF I 10:24:22.474 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-10-00-00-A6-91-4F-DF A 10:24:22.474 [DFU] Checksum received (Offset = 4096, CRC = DF4F91A6) V 10:24:22.474 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:22.474 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:22.576 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 I 10:24:22.576 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:22.576 [DFU] Data object executed V 10:24:22.576 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:22.576 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:22.732 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:22.732 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:22.732 [DFU] Data object (2/9) created A 10:24:22.732 [DFU] Uploading firmware... V 10:24:22.732 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50... V 10:24:23.114 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:23.114 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:24.424 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-20-00-00-94-86-A9-66 I 10:24:24.424 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-20-00-00-94-86-A9-66 A 10:24:24.424 [DFU] Checksum received (Offset = 8192, CRC = 66A98694) V 10:24:24.424 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:24.424 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:24.475 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 I 10:24:24.475 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:24.475 [DFU] Data object executed V 10:24:24.475 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:24.475 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:24.624 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:24.624 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:24.624 [DFU] Data object (3/9) created A 10:24:24.624 [DFU] Uploading firmware... V 10:24:24.624 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50... V 10:24:25.035 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:25.035 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:26.317 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-30-00-00-41-36-5A-40 I 10:24:26.321 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-30-00-00-41-36-5A-40 A 10:24:26.321 [DFU] Checksum received (Offset = 12288, CRC = 405A3641) V 10:24:26.321 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:26.321 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:26.425 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 I 10:24:26.425 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:26.425 [DFU] Data object executed V 10:24:26.425 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:26.425 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:26.582 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:26.582 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:26.582 [DFU] Data object (4/9) created A 10:24:26.582 [DFU] Uploading firmware... V 10:24:26.582 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50... V 10:24:27.045 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:27.045 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:28.294 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-40-00-00-22-DE-53-27 I 10:24:28.294 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-40-00-00-22-DE-53-27 A 10:24:28.294 [DFU] Checksum received (Offset = 16384, CRC = 2753DE22) V 10:24:28.294 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:28.294 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:28.353 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 I 10:24:28.353 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:28.353 [DFU] Data object executed V 10:24:28.353 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:28.353 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:28.539 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:28.539 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:28.539 [DFU] Data object (5/9) created A 10:24:28.539 [DFU] Uploading firmware... V 10:24:28.539 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50... V 10:24:28.949 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:28.949 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:30.247 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-50-00-00-A5-2C-B8-AE I 10:24:30.247 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-50-00-00-A5-2C-B8-AE A 10:24:30.247 [DFU] Checksum received (Offset = 20480, CRC = AEB82CA5) V 10:24:30.247 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:30.247 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:30.330 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 I 10:24:30.330 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:30.330 [DFU] Data object executed V 10:24:30.330 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:30.330 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:30.526 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:30.526 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:30.526 [DFU] Data object (6/9) created A 10:24:30.526 [DFU] Uploading firmware... V 10:24:30.526 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50... V 10:24:30.991 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:30.991 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:32.233 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-60-00-00-ED-8D-04-A7 I 10:24:32.233 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-60-00-00-ED-8D-04-A7 A 10:24:32.233 [DFU] Checksum received (Offset = 24576, CRC = A7048DED) V 10:24:32.233 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:32.233 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:32.320 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 I 10:24:32.320 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:32.320 [DFU] Data object executed V 10:24:32.320 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:32.320 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:32.503 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:32.503 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:32.503 [DFU] Data object (7/9) created A 10:24:32.503 [DFU] Uploading firmware... V 10:24:32.503 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50... V 10:24:33.122 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:33.122 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:34.256 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-70-00-00-B2-59-6B-18 I 10:24:34.265 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-70-00-00-B2-59-6B-18 A 10:24:34.266 [DFU] Checksum received (Offset = 28672, CRC = 186B59B2) V 10:24:34.266 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:34.266 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:34.321 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 I 10:24:34.321 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:34.321 [DFU] Data object executed V 10:24:34.321 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:34.321 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:34.465 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:34.465 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:34.465 [DFU] Data object (8/9) created A 10:24:34.465 [DFU] Uploading firmware... V 10:24:34.465 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50... V 10:24:34.845 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:34.845 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:36.100 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-80-00-00-E9-71-0F-2E I 10:24:36.100 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-80-00-00-E9-71-0F-2E A 10:24:36.101 [DFU] Checksum received (Offset = 32768, CRC = 2E0F71E9) V 10:24:36.101 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:36.101 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:36.159 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 I 10:24:36.159 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:36.159 [DFU] Data object executed V 10:24:36.159 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:36.159 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:36.341 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 I 10:24:36.341 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01 A 10:24:36.341 [DFU] Data object (9/9) created A 10:24:36.341 [DFU] Uploading firmware... V 10:24:36.341 [DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50... V 10:24:36.649 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:36.649 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:37.519 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-B4-8A-00-00-50-F6-1C-B0 I 10:24:37.520 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-B4-8A-00-00-50-F6-1C-B0 A 10:24:37.520 [DFU] Checksum received (Offset = 35508, CRC = B01CF650) V 10:24:37.520 [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50 D 10:24:37.520 [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50) I 10:24:37.584 [DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04 I 10:24:37.818 [DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01 A 10:24:37.818 [DFU] Data object executed A 10:24:37.818 [DFU] Upload completed in 17201 ms D 10:24:42.004 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0) E 10:24:42.005 Error 8 (0x8): GATT CONN TIMEOUT I 10:24:42.005 Disconnected I 10:24:42.027 [DFU] Disconnected by the remote device D 10:24:42.027 [DFU] gatt.refresh() (hidden) D 10:24:42.027 [DFU] gatt.close() D 10:24:42.027 [DFU] wait(1400) D 10:24:42.052 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED D 10:24:42.062 [DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED D 10:24:43.449 gatt.close() D 10:24:43.456 wait(200) V 10:24:43.672 Connecting to F1:B4:3C:D2:D1:34... D 10:24:43.673 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE) D 10:24:44.992 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED D 10:24:45.007 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 10:24:45.007 Connected to F1:B4:3C:D2:D1:34 V 10:24:45.029 Discovering services... D 10:24:45.029 gatt.discoverServices() D 10:24:45.787 [Callback] Services discovered with status: 0 I 10:24:45.787 Services discovered V 10:24:45.794 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) 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 10:24:57.136 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0) E 10:24:57.137 Error 8 (0x8): GATT CONN TIMEOUT I 10:24:57.137 Disconnected D 10:24:57.190 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
Tutorial went through the link below.
getting started with nordics secure dfu bootloader
The time from when the button is pressed until the TIMEOUT error occurs is about 18 seconds.
If you go to another phone, the same symptoms appear.
I tested it with Android and tested it with the iPhone and it sent the hex file, but the application does not run and the device still works in bootloader mode.
Then, after DFU is stopped, reconnecting NRF Connect Programer will draw memory area like the following picture.
My application address is set up like this.
Is this a problem?