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

Replacing just bootloader & SD gives Insufficient resources

Hello,
trying to understand how to replace just the bootloader and s112 SD (app not installed), presently getting Insufficient resources.

First,
mergehex -m softdevice.hex bootloader.hex -o merged_SD_bootloader.hex
nrfjprog --program merged_SD_bootloader.hex --chiperase

Second, using the very same files,
nrfutil pkg generate --bootloader bootloader.hex --bootloader-version 1 --hw-version 52 --sd-req 0xB0 --softdevice softdevice.hex --key-file private.pem SD_bootloader.zip

During DfuTarg, I get Insufficient resources.
Is this scenario possible for s112?
(I also tried bootloader version 2, and I can replace without issue using s132 on the DK, only happens when trying to replace s112)

[sdk 15.2, s112, SES, DK, secure_bootloader, pca10040e_ble]

thank-you,

Parents Reply Children
  • Logs attached, tested on both ios and android, tried BL only, SD only, and BL & SD together.
    (secure_bootloader is optimized and no log)

    android_LOG_15.2_s112_DK_BL-v1_ok.txt
    android_LOG_15.2_s112_DK_SD-v1_error.txt
    android_LOG_15.2_s112_DK_SD_BL-v1_error.txt

    ios_LOG_15.2_s112_DK_BL-v1_ok.txt
    ios_LOG_15.2_s112_DK_SD-v1_error.txt
    ios_LOG_15.2_s112_DK_SD_BL-v1_error.txt

    thank-you,

    V	11:02:43.242	[DFU] DFU service started
    V	11:02:43.242	[DFU] Opening file...
    I	11:02:43.842	[DFU] Firmware file opened successfully
    V	11:02:43.842	[DFU] Connecting to DFU target...
    D	11:02:43.842	[DFU] gatt = device.connectGatt(autoConnect = false)
    I	11:02:43.899	[DFU] Connected to C0:2F:0D:80:71:4F
    V	11:02:43.899	[DFU] Discovering services...
    D	11:02:43.899	[DFU] gatt.discoverServices()
    I	11:02:43.943	[DFU] Services discovered
    D	11:02:43.967	[DFU] wait(1000)
    V	11:02:44.977	[DFU] Requesting new MTU...
    D	11:02:44.977	[DFU] gatt.requestMtu(517)
    I	11:02:45.019	[DFU] MTU changed to: 247
    V	11:02:45.020	[DFU] Enabling notifications for 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:45.020	[DFU] gatt.setCharacteristicNotification(8ec90001-f315-4f60-9fb8-838830daea50, true)
    D	11:02:45.020	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
    I	11:02:45.049	[DFU] Data written to descr.8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-00
    V	11:02:45.049	[DFU] Notifications enabled for 8ec90001-f315-4f60-9fb8-838830daea50
    A	11:02:45.049	[DFU] Notifications enabled
    D	11:02:45.049	[DFU] wait(1000)
    V	11:02:46.063	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:46.063	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:46.077	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
    A	11:02:46.077	"Response for: Read Object Info
    Status: Success
    Max object size: 256 bytes
    Current offset: 0 bytes
    CRC-32: 00000000" received
    I	11:02:46.083	[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	11:02:46.083	[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	11:02:46.083	[DFU] Command object info received (Max size = 256, Offset = 0, CRC = 00000000)
    V	11:02:46.083	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:46.083	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:46.102	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-02-01
    A	11:02:46.102	"Response for: Set PRN value
    Status: Success" received
    I	11:02:46.115	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
    I	11:02:46.115	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
    A	11:02:46.115	[DFU] Packet Receipt Notif disabled (Op Code = 2, Value = 0)
    V	11:02:46.115	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:46.115	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:46.130	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-01-01
    A	11:02:46.130	"Response for: Create Object
    Status: Success" received
    I	11:02:46.144	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    I	11:02:46.144	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A	11:02:46.144	[DFU] Command object created
    V	11:02:46.144	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
    D	11:02:46.144	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
    I	11:02:46.144	[DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 12-84-01-0A-3E-08-01-12-3A-08-02-10-34-1A-02-B0-01-20-02-28-00-30-AC-AF-01-38-00-42-24-08-03-12-20-7E-3E-81-F1-11-71-D2-69-99-19-53-4B-EF-CC-63-4E-2A-24-57-37-09-67-DC-E1-FD-8B-F0-AA-CE-4B-95-96-48-00-10-00-1A-40-02-23-6F-78-B9-45-5E-00-FF-DF-BC-11-48-93-B7-B7-24-AE-9F-18-26-B2-65-E5-BE-07-04-5A-78-F2-A8-A6-3C-BB-19-C2-B3-94-AF-AA-A2-0C-B6-9C-5B-2E-5B-29-05-98-74-90-AF-A7-16-2B-D2-AA-5F-70-86-FC-51-5F
    A	11:02:46.144	[DFU] Command object sent (CRC = F2BC7D96)
    V	11:02:46.144	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:46.144	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:46.220	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-03-01-87-00-00-00-96-7D-BC-F2
    A	11:02:46.220	"Response for: Calculate Checksum
    Status: Success
    Current offset: 135 bytes
    CRC-32: F2BC7D96" received
    I	11:02:46.230	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-87-00-00-00-96-7D-BC-F2
    I	11:02:46.230	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-87-00-00-00-96-7D-BC-F2
    A	11:02:46.230	[DFU] Checksum received (Offset = 135, CRC = F2BC7D96)
    V	11:02:46.230	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:46.230	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:46.288	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I	11:02:46.429	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-04-01
    A	11:02:46.429	"Response for: Execute
    Status: Success" received
    I	11:02:46.433	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A	11:02:46.433	[DFU] Command object executed
    V	11:02:46.433	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:46.433	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:46.581	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:02:46.581	"Response for: Read Object Info
    Status: Success
    Max object size: 4096 bytes
    Current offset: 0 bytes
    CRC-32: 00000000" received
    I	11:02:46.590	[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	11:02:46.590	[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	11:02:46.590	[DFU] Data object info received (Max size = 4096, Offset = 0, CRC = 00000000)
    V	11:02:46.651	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:46.651	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:46.760	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-01-01
    A	11:02:46.760	"Response for: Create Object
    Status: Success" received
    I	11:02:46.764	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    I	11:02:46.764	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A	11:02:46.764	[DFU] Data object (1/6) created
    A	11:02:46.764	[DFU] Uploading firmware...
    V	11:02:46.764	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V	11:02:46.820	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:46.820	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:48.176	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-03-01-00-10-00-00-0F-FA-47-0C
    A	11:02:48.176	"Response for: Calculate Checksum
    Status: Success
    Current offset: 4096 bytes
    CRC-32: 0C47FA0F" received
    I	11:02:48.188	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-10-00-00-0F-FA-47-0C
    I	11:02:48.188	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-10-00-00-0F-FA-47-0C
    A	11:02:48.188	[DFU] Checksum received (Offset = 4096, CRC = 0C47FA0F)
    V	11:02:48.188	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:48.188	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:48.260	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-04-01
    A	11:02:48.260	"Response for: Execute
    Status: Success" received
    I	11:02:48.262	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    I	11:02:48.262	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A	11:02:48.262	[DFU] Data object executed
    V	11:02:48.262	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:48.262	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:48.350	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-01-01
    A	11:02:48.350	"Response for: Create Object
    Status: Success" received
    I	11:02:48.361	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    I	11:02:48.361	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A	11:02:48.361	[DFU] Data object (2/6) created
    A	11:02:48.361	[DFU] Uploading firmware...
    V	11:02:48.361	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V	11:02:48.443	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:48.443	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:49.820	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-03-01-00-20-00-00-55-C8-00-98
    A	11:02:49.820	"Response for: Calculate Checksum
    Status: Success
    Current offset: 8192 bytes
    CRC-32: 9800C855" received
    I	11:02:49.829	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-20-00-00-55-C8-00-98
    I	11:02:49.829	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-20-00-00-55-C8-00-98
    A	11:02:49.829	[DFU] Checksum received (Offset = 8192, CRC = 9800C855)
    V	11:02:49.829	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:49.829	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:49.879	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-04-01
    A	11:02:49.879	"Response for: Execute
    Status: Success" received
    I	11:02:49.886	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    I	11:02:49.886	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A	11:02:49.886	[DFU] Data object executed
    V	11:02:49.886	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:49.886	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:49.939	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-01-01
    A	11:02:49.939	"Response for: Create Object
    Status: Success" received
    I	11:02:49.947	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    I	11:02:49.947	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A	11:02:49.947	[DFU] Data object (3/6) created
    A	11:02:49.947	[DFU] Uploading firmware...
    V	11:02:49.947	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V	11:02:50.024	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:50.024	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:51.203	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-03-01-00-30-00-00-E5-52-4F-C1
    A	11:02:51.203	"Response for: Calculate Checksum
    Status: Success
    Current offset: 12288 bytes
    CRC-32: C14F52E5" received
    I	11:02:51.212	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I	11:02:51.212	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-30-00-00-E5-52-4F-C1
    A	11:02:51.212	[DFU] Checksum received (Offset = 12288, CRC = C14F52E5)
    V	11:02:51.212	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:51.212	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:51.290	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-04-01
    A	11:02:51.290	"Response for: Execute
    Status: Success" received
    I	11:02:51.298	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    I	11:02:51.298	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A	11:02:51.298	[DFU] Data object executed
    V	11:02:51.298	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:51.298	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:51.356	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-01-01
    A	11:02:51.356	"Response for: Create Object
    Status: Success" received
    I	11:02:51.358	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I	11:02:51.358	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A	11:02:51.358	[DFU] Data object (4/6) created
    A	11:02:51.358	[DFU] Uploading firmware...
    V	11:02:51.358	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V	11:02:51.457	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:51.457	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:52.715	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-03-01-00-40-00-00-66-E8-0D-F5
    A	11:02:52.715	"Response for: Calculate Checksum
    Status: Success
    Current offset: 16384 bytes
    CRC-32: F50DE866" received
    I	11:02:52.723	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-40-00-00-66-E8-0D-F5
    I	11:02:52.723	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-40-00-00-66-E8-0D-F5
    A	11:02:52.723	[DFU] Checksum received (Offset = 16384, CRC = F50DE866)
    V	11:02:52.723	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:52.723	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:52.804	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-04-01
    A	11:02:52.804	"Response for: Execute
    Status: Success" received
    I	11:02:52.810	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    I	11:02:52.810	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A	11:02:52.810	[DFU] Data object executed
    V	11:02:52.810	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:52.810	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:52.895	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-01-01
    A	11:02:52.895	"Response for: Create Object
    Status: Success" received
    I	11:02:52.896	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-02-00-10-00-00
    I	11:02:52.896	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A	11:02:52.896	[DFU] Data object (5/6) created
    A	11:02:52.911	[DFU] Uploading firmware...
    V	11:02:52.911	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V	11:02:53.055	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:53.055	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:54.244	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-03-01-00-50-00-00-62-14-1A-18
    A	11:02:54.244	"Response for: Calculate Checksum
    Status: Success
    Current offset: 20480 bytes
    CRC-32: 181A1462" received
    I	11:02:54.250	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 03
    I	11:02:54.250	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-00-50-00-00-62-14-1A-18
    A	11:02:54.250	[DFU] Checksum received (Offset = 20480, CRC = 181A1462)
    V	11:02:54.250	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:54.250	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:54.305	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-04-01
    A	11:02:54.305	"Response for: Execute
    Status: Success" received
    I	11:02:54.321	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    I	11:02:54.321	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A	11:02:54.321	[DFU] Data object executed
    V	11:02:54.321	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:54.321	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:54.396	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-01-01
    A	11:02:54.396	"Response for: Create Object
    Status: Success" received
    I	11:02:54.409	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    I	11:02:54.409	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A	11:02:54.409	[DFU] Data object (6/6) created
    A	11:02:54.409	[DFU] Uploading firmware...
    V	11:02:54.409	[DFU] Sending firmware to characteristic 8ec90002-f315-4f60-9fb8-838830daea50...
    V	11:02:54.468	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:54.468	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:55.296	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-03-01-AC-57-00-00-4B-77-4E-B7
    A	11:02:55.296	"Response for: Calculate Checksum
    Status: Success
    Current offset: 22444 bytes
    CRC-32: B74E774B" received
    I	11:02:55.303	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-AC-57-00-00-4B-77-4E-B7
    I	11:02:55.303	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-AC-57-00-00-4B-77-4E-B7
    A	11:02:55.303	[DFU] Checksum received (Offset = 22444, CRC = B74E774B)
    V	11:02:55.303	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	11:02:55.303	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	11:02:55.358	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I	11:02:55.384	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-04-01
    A	11:02:55.384	"Response for: Execute
    Status: Success" received
    I	11:02:55.403	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-01
    A	11:02:55.403	[DFU] Data object executed
    A	11:02:55.403	[DFU] Upload completed in 8758 ms
    D	11:03:01.588	[Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0)
    E	11:03:01.589	Error 8 (0x8): GATT CONN TIMEOUT
    I	11:03:01.589	Disconnected
    I	11:03:01.593	[DFU] Disconnected by the remote device
    D	11:03:01.593	[DFU] gatt.refresh() (hidden)
    D	11:03:01.615	[DFU] gatt.close()
    D	11:03:01.615	[DFU] wait(1400)
    D	11:03:01.707	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
    D	11:03:01.736	[DFU] [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
    D	11:03:03.133	gatt.close()
    D	11:03:03.134	wait(200)
    V	11:03:03.337	Connecting to C0:2F:0D:80:71:4F...
    D	11:03:03.337	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE)
    D	11:03:03.644	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
    I	11:03:03.644	Connected to C0:2F:0D:80:71:4F
    D	11:03:03.831	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
    V	11:03:03.832	Discovering services...
    D	11:03:03.832	gatt.discoverServices()
    D	11:03:04.512	[Callback] Services discovered with status: 0
    I	11:03:04.512	Services discovered
    V	11:03:04.537	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	11:03:04.537	gatt.setCharacteristicNotification(8ec90001-f315-4f60-9fb8-838830daea50, true)
    

    V	10:44:31.999	[DFU] DFU service started
    V	10:44:32.001	[DFU] Opening file...
    I	10:44:32.762	[DFU] Firmware file opened successfully
    V	10:44:32.762	[DFU] Connecting to DFU target...
    D	10:44:32.762	[DFU] gatt = device.connectGatt(autoConnect = false)
    I	10:44:32.819	[DFU] Connected to C0:2F:0D:80:71:4F
    V	10:44:32.820	[DFU] Discovering services...
    D	10:44:32.834	[DFU] gatt.discoverServices()
    I	10:44:32.965	[DFU] Services discovered
    D	10:44:32.994	[DFU] wait(1000)
    V	10:44:33.986	[DFU] Requesting new MTU...
    D	10:44:33.986	[DFU] gatt.requestMtu(517)
    I	10:44:34.029	[DFU] MTU changed to: 247
    V	10:44:34.029	[DFU] Enabling notifications for 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:44:34.029	[DFU] gatt.setCharacteristicNotification(8ec90001-f315-4f60-9fb8-838830daea50, true)
    D	10:44:34.029	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
    I	10:44:34.058	[DFU] Data written to descr.8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-00
    V	10:44:34.058	[DFU] Notifications enabled for 8ec90001-f315-4f60-9fb8-838830daea50
    A	10:44:34.058	[DFU] Notifications enabled
    D	10:44:34.058	[DFU] wait(1000)
    V	10:44:35.066	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:44:35.066	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:44:35.096	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
    A	10:44:35.096	"Response for: Read Object Info
    Status: Success
    Max object size: 256 bytes
    Current offset: 0 bytes
    CRC-32: 00000000" received
    I	10:44:35.112	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 06-01
    I	10:44:35.113	[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
    A	10:44:35.113	[DFU] Command object info received (Max size = 256, Offset = 0, CRC = 00000000)
    V	10:44:35.113	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:44:35.113	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:44:35.135	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-02-01
    A	10:44:35.135	"Response for: Set PRN value
    Status: Success" received
    I	10:44:35.152	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
    I	10:44:35.152	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
    A	10:44:35.152	[DFU] Packet Receipt Notif disabled (Op Code = 2, Value = 0)
    V	10:44:35.152	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:44:35.152	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:44:35.162	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-01-01
    A	10:44:35.162	"Response for: Create Object
    Status: Success" received
    I	10:44:35.167	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-01-8B-00-00-00
    I	10:44:35.167	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A	10:44:35.167	[DFU] Command object created
    V	10:44:35.167	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
    D	10:44:35.167	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
    I	10:44:35.181	[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-B0-01-20-01-28-94-F7-05-30-00-38-00-42-24-08-03-12-20-BB-07-FF-7B-BF-69-F0-E9-C6-A3-C5-E3-8D-1F-D1-87-C9-62-27-81-D4-BE-CF-84-A0-34-8C-12-BB-3B-3F-1E-48-00-10-00-1A-40-11-FB-C2-5A-6F-00-FD-29-9F-39-40-2B-83-14-79-37-B9-85-58-2E-38-02-62-52-C6-48-31-29-79-08-54-65-BA-AD-5B-50-DD-4E-67-9B-56-AA-9B-2B-6A-1D-83-36-5C-48-A9-72-81-ED-AF-65-E3-33-F1-7F-87-25-15-FD
    A	10:44:35.181	[DFU] Command object sent (CRC = A5C47635)
    V	10:44:35.181	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:44:35.181	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:44:35.211	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-03-01-8B-00-00-00-35-76-C4-A5
    A	10:44:35.211	"Response for: Calculate Checksum
    Status: Success
    Current offset: 139 bytes
    CRC-32: A5C47635" received
    I	10:44:35.225	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-8B-00-00-00-35-76-C4-A5
    I	10:44:35.225	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-8B-00-00-00-35-76-C4-A5
    A	10:44:35.225	[DFU] Checksum received (Offset = 139, CRC = A5C47635)
    V	10:44:35.225	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:44:35.225	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:44:35.252	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I	10:44:35.372	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-04-04
    A	10:44:35.372	"Response for: Execute
    Status: Insufficient resources" received
    I	10:44:35.383	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-04
    E	10:44:35.397	[DFU] Remote DFU error: INSUFFICIENT RESOURCES
    V	10:44:35.426	[DFU] Disconnecting...
    D	10:44:35.449	[DFU] gatt.disconnect()
    I	10:44:35.460	[DFU] Disconnected
    D	10:44:35.460	[DFU] gatt.refresh() (hidden)
    D	10:44:35.469	[DFU] gatt.close()
    D	10:44:35.469	[DFU] wait(600)
    
      
    V	10:46:22.482	[DFU] DFU service started
    V	10:46:22.482	[DFU] Opening file...
    I	10:46:23.255	[DFU] Firmware file opened successfully
    V	10:46:23.255	[DFU] Connecting to DFU target...
    D	10:46:23.255	[DFU] gatt = device.connectGatt(autoConnect = false)
    I	10:46:23.313	[DFU] Connected to C0:2F:0D:80:71:4F
    V	10:46:23.313	[DFU] Discovering services...
    D	10:46:23.313	[DFU] gatt.discoverServices()
    I	10:46:23.386	[DFU] Services discovered
    D	10:46:23.418	[DFU] wait(1000)
    V	10:46:24.408	[DFU] Requesting new MTU...
    D	10:46:24.408	[DFU] gatt.requestMtu(517)
    I	10:46:24.451	[DFU] MTU changed to: 247
    V	10:46:24.451	[DFU] Enabling notifications for 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:46:24.451	[DFU] gatt.setCharacteristicNotification(8ec90001-f315-4f60-9fb8-838830daea50, true)
    D	10:46:24.451	[DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
    I	10:46:24.480	[DFU] Data written to descr.8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 01-00
    V	10:46:24.480	[DFU] Notifications enabled for 8ec90001-f315-4f60-9fb8-838830daea50
    A	10:46:24.480	[DFU] Notifications enabled
    D	10:46:24.480	[DFU] wait(1000)
    V	10:46:25.473	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:46:25.473	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:46:25.515	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 06-01
    I	10:46:25.519	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
    A	10:46:25.519	"Response for: Read Object Info
    Status: Success
    Max object size: 256 bytes
    Current offset: 0 bytes
    CRC-32: 00000000" received
    I	10:46:25.534	[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
    A	10:46:25.534	[DFU] Command object info received (Max size = 256, Offset = 0, CRC = 00000000)
    V	10:46:25.534	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:46:25.534	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:46:25.550	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-02-01
    A	10:46:25.550	"Response for: Set PRN value
    Status: Success" received
    I	10:46:25.604	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 02-00-00
    I	10:46:25.604	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-02-01
    A	10:46:25.604	[DFU] Packet Receipt Notif disabled (Op Code = 2, Value = 0)
    V	10:46:25.604	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:46:25.604	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:46:25.608	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-01-01
    A	10:46:25.608	"Response for: Create Object
    Status: Success" received
    I	10:46:25.621	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    I	10:46:25.621	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-01-01
    A	10:46:25.621	[DFU] Command object created
    V	10:46:25.621	[DFU] Writing to characteristic 8ec90002-f315-4f60-9fb8-838830daea50
    D	10:46:25.621	[DFU] gatt.writeCharacteristic(8ec90002-f315-4f60-9fb8-838830daea50)
    I	10:46:25.621	[DFU] Data written to 8ec90002-f315-4f60-9fb8-838830daea50, value (0x): 12-86-01-0A-40-08-01-12-3C-08-02-10-34-1A-02-B0-01-20-03-28-94-F7-05-30-AC-AF-01-38-00-42-24-08-03-12-20-29-DA-27-69-22-D4-98-95-27-2E-CC-13-61-47-55-B5-9E-20-30-8F-25-61-8A-37-25-F5-81-06-39-A2-3A-9F-48-00-10-00-1A-40-B5-FF-54-27-0C-52-56-35-C8-93-01-41-75-A0-51-D2-7C-19-10-38-F8-13-F6-78-41-33-5D-D7-58-16-CA-1D-4D-66-96-8A-7B-B9-7A-4A-7C-FB-D7-7B-F4-95-BC-67-36-2C-B8-81-1F-F0-FB-B1-DE-B7-2C-9C-20-FC-51-88
    A	10:46:25.621	[DFU] Command object sent (CRC = BBEA96D0)
    V	10:46:25.631	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:46:25.631	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:46:25.652	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-03-01-89-00-00-00-D0-96-EA-BB
    A	10:46:25.652	"Response for: Calculate Checksum
    Status: Success
    Current offset: 137 bytes
    CRC-32: BBEA96D0" received
    I	10:46:25.660	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-89-00-00-00-D0-96-EA-BB
    I	10:46:25.660	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-03-01-89-00-00-00-D0-96-EA-BB
    A	10:46:25.660	[DFU] Checksum received (Offset = 137, CRC = BBEA96D0)
    V	10:46:25.660	[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
    D	10:46:25.660	[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
    I	10:46:25.688	[DFU] Data written to 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 04
    I	10:46:25.831	Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value: (0x) 60-04-04
    A	10:46:25.831	"Response for: Execute
    Status: Insufficient resources" received
    I	10:46:25.834	[DFU] Notification received from 8ec90001-f315-4f60-9fb8-838830daea50, value (0x): 60-04-04
    E	10:46:25.834	[DFU] Remote DFU error: INSUFFICIENT RESOURCES
    V	10:46:25.834	[DFU] Disconnecting...
    D	10:46:25.856	[DFU] gatt.disconnect()
    I	10:46:25.878	[DFU] Disconnected
    D	10:46:25.878	[DFU] gatt.refresh() (hidden)
    D	10:46:25.878	[DFU] gatt.close()
    D	10:46:25.878	[DFU] wait(600)
    

    Created by:          nRF Connect
    OS version:          11.4.1
    Hardware:            iPhone 7
    Client version:      1.8.8 (Build 12)
    Generated at:      2018-10-01 10:51:53-07:00
    --------------------------------------------------------------------
    10:51:41.716 Connecting DfuTarg
    10:51:42.086 Status changed: Connected to DfuTarg
    10:51:48.116 Connected to DfuTarg
    10:51:48.116 Services discovered
    10:51:48.117 Starting Secure DFU...
    10:51:48.117 Connected to DfuTarg
    10:51:48.117 Services discovered
    10:51:48.118 Secure DFU Service found
    10:51:48.118 Discovering characteristics in DFU Service...
    10:51:48.119 peripheral.discoverCharacteristics(nil, for: FE59)
    10:51:48.129 DFU characteristics discovered
    10:51:48.130 MTU set to 183
    10:51:48.131 Enabling notifications for 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:48.131 peripheral.setNotifyValue(true, for: 8EC90001-F315-4F60-9FB8-838830DAEA50)
    10:51:48.133 [Callback]State changed to Connecting
    10:51:48.210 [Callback]State changed to Starting
    10:51:48.224 Notifications enabled for 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:48.225 Secure DFU Control Point notifications enabled
    10:51:48.225 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:48.225 peripheral.writeValue(0x0601, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:48.246 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:48.246 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601000100000000000000000000
    10:51:48.246 Command object info (Max size = 256, Offset = 0, CRC = 00000000) received
    10:51:48.246 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:48.247 peripheral.writeValue(0x010187000000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:48.273 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:48.277 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
    10:51:48.277 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:48.277 peripheral.writeValue(0x020000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:48.303 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:48.307 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201
    10:51:48.307 Packet Receipt Notif disabled (Op Code = 2, Value = 0)
    10:51:48.307 Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
    10:51:48.308 peripheral.writeValue(0x1284010a3e0801123a080210341a02b0012002280030acaf0138004224080312207e3e81f11171d2699919534befcc634e2a2457370967dce1fd8bf0aace4b9596480010001a4002236f78b9455e00ffdfbc114893b7b724ae9f1826b265e5be07045a78f2a8a63cbb19c2b394afaaa20cb69c5b2e5b2905987490afa7162bd2aa5f7086fc515f, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
    10:51:48.308 Command object sent (CRC = F2BC7D96)
    10:51:48.308 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:48.308 peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:48.334 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:48.334 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030187000000967dbcf2
    10:51:48.334 Checksum (Offset = 135, CRC = F2BC7D96) received
    10:51:48.335 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:48.335 peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:48.363 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:48.513 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401
    10:51:48.513 Command object executed
    10:51:48.513 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:48.514 peripheral.writeValue(0x0602, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:48.543 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:48.549 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601001000000000000000000000
    10:51:48.549 Data object info (Max size = 4096, Offset = 0, CRC = 00000000) received
    10:51:48.550 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:48.550 peripheral.writeValue(0x020c00, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:48.555 [Callback]State changed to Uploading
    10:51:48.663 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:48.674 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201
    10:51:48.674 Packet Receipt Notif enabled (Op Code = 2, Value = 12)
    10:51:48.674 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:48.674 peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:48.783 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:48.794 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
    10:51:48.794 Data object 1/6 created
    10:51:48.794 Uploading firmware...
    10:51:48.794 Sending firmware to DFU Packet characteristic...
    10:51:49.054 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:49.055 peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:49.218 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:49.220 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600301001000000ffa470c
    10:51:49.221 Checksum (Offset = 4096, CRC = 0C47FA0F) received
    10:51:49.221 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:49.222 peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:49.280 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:49.280 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401
    10:51:49.280 Data object executed
    10:51:49.280 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:49.280 peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:49.307 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:49.312 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
    10:51:49.312 Data object 2/6 created
    10:51:49.312 Uploading firmware...
    10:51:49.312 Sending firmware to DFU Packet characteristic...
    10:51:49.582 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:49.582 peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:49.743 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:49.765 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6003010020000055c80098
    10:51:49.765 Checksum (Offset = 8192, CRC = 9800C855) received
    10:51:49.765 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:49.766 peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:49.799 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:49.817 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401
    10:51:49.817 Data object executed
    10:51:49.817 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:49.818 peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:49.847 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:49.853 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
    10:51:49.853 Data object 3/6 created
    10:51:49.853 Uploading firmware...
    10:51:49.853 Sending firmware to DFU Packet characteristic...
    10:51:50.105 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:50.106 peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:50.282 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:50.310 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030100300000e5524fc1
    10:51:50.310 Checksum (Offset = 12288, CRC = C14F52E5) received
    10:51:50.310 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:50.311 peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:50.357 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:50.363 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401
    10:51:50.364 Data object executed
    10:51:50.364 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:50.364 peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:50.387 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:50.391 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
    10:51:50.392 Data object 4/6 created
    10:51:50.392 Uploading firmware...
    10:51:50.392 Sending firmware to DFU Packet characteristic...
    10:51:50.658 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:50.659 peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:50.837 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:50.839 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6003010040000066e80df5
    10:51:50.839 Checksum (Offset = 16384, CRC = F50DE866) received
    10:51:50.840 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:50.841 peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:50.891 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:50.891 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401
    10:51:50.891 Data object executed
    10:51:50.891 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:50.891 peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:50.922 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:50.927 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
    10:51:50.927 Data object 5/6 created
    10:51:50.927 Uploading firmware...
    10:51:50.927 Sending firmware to DFU Packet characteristic...
    10:51:51.183 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:51.183 peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:51.362 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:51.363 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6003010050000062141a18
    10:51:51.364 Checksum (Offset = 20480, CRC = 181A1462) received
    10:51:51.365 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:51.366 peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:51.417 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:51.425 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401
    10:51:51.425 Data object executed
    10:51:51.425 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:51.425 peripheral.writeValue(0x0102ac070000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:51.451 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:51.455 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
    10:51:51.456 Data object 6/6 created
    10:51:51.456 Uploading firmware...
    10:51:51.456 Sending firmware to DFU Packet characteristic...
    10:51:51.456 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:51.456 peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:51.722 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:51.745 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600301ac5700004b774eb7
    10:51:51.745 Checksum (Offset = 22444, CRC = B74E774B) received
    10:51:51.745 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:51:51.746 peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:51:51.781 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:51:51.811 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401
    10:51:51.811 Data object executed
    10:51:51.811 Upload completed in 3.68 seconds
    10:51:51.824 [Callback]State changed to Disconnecting
    10:51:52.162 [Callback] Central Manager did disconnect peripheral
    10:51:52.163 Disconnected by the remote device
    10:51:52.200 [Callback]State changed to Completed
    

    Created by:          nRF Connect
    OS version:          11.4.1
    Hardware:            iPhone 7
    Client version:      1.8.8 (Build 12)
    Generated at:      2018-10-01 10:32:06-07:00
    --------------------------------------------------------------------
    10:31:29.912 Connecting DfuTarg
    10:31:29.912 [MethodCall]connectPeripheral
    10:31:30.471 [Callback]Successful connect to peripheral DfuTarg
    10:31:30.471 Status changed: Connected to DfuTarg
    10:31:30.531 [Callback]Successfully exchanged MTU 180 bytes if send without response
    10:31:30.531 [Callback]Successfully exchanged MTU 512 bytes if send with response
    10:31:30.531 [Callback]Successfully discovered services FE59
    10:31:30.558 [Callback]Successfully discovered characteristics for service 8EC90002-F315-4F60-9FB8-838830DAEA50
    10:31:30.558 [MethodCall]readCharacteristicValue 8EC90002-F315-4F60-9FB8-838830DAEA50
    10:31:30.559 [MethodCall]discoverDescriptorsForCharacteristic 8EC90002-F315-4F60-9FB8-838830DAEA50
    10:31:30.559 [Callback]Successfully discovered characteristics for service 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:30.559 [MethodCall]readCharacteristicValue 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:30.559 [MethodCall]discoverDescriptorsForCharacteristic 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:30.592 [System]Error while updating value for characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50 Reading is not permitted.
    10:31:30.620 [System]Error while updating value for characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50 Reading is not permitted.
    10:31:30.620 [Callback]Successfully discovered descriptors for characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:30.650 [Callback]Successfully updated value for descriptor 2902
    10:31:31.267 [MethodCall]cancelPeripheralConnection
    10:31:31.352 [Callback]Successful disconnect from peripheral DfuTarg
    10:31:31.352 Status changed: Disconnected from DfuTarg
    10:31:45.683 Connecting to DfuTarg...
    10:31:45.684 centralManager.connect(peripheral, options: nil)
    10:31:45.695 [Callback]State changed to Connecting
    10:31:46.037 [Callback] Central Manager did connect peripheral
    10:31:46.038 Connected to DfuTarg
    10:31:46.038 Discovering services...
    10:31:46.038 peripheral.discoverServices(nil)
    10:31:46.139 Services discovered
    10:31:46.139 Starting Secure DFU...
    10:31:46.139 Connected to DfuTarg
    10:31:46.139 Services discovered
    10:31:46.139 Secure DFU Service found
    10:31:46.139 Discovering characteristics in DFU Service...
    10:31:46.140 peripheral.discoverCharacteristics(nil, for: FE59)
    10:31:46.213 DFU characteristics discovered
    10:31:46.213 MTU set to 183
    10:31:46.213 Enabling notifications for 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:31:46.213 peripheral.setNotifyValue(true, for: 8EC90001-F315-4F60-9FB8-838830DAEA50)
    10:31:46.236 [Callback]State changed to Starting
    10:31:46.260 Notifications enabled for 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:46.260 Secure DFU Control Point notifications enabled
    10:31:46.260 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:31:46.260 peripheral.writeValue(0x0601, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:31:46.290 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:46.295 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6006010001000089000000d096eabb
    10:31:46.295 Command object info (Max size = 256, Offset = 137, CRC = BBEA96D0) received
    10:31:46.295 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:31:46.296 peripheral.writeValue(0x01018b000000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:31:46.320 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:46.325 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
    10:31:46.325 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:31:46.325 peripheral.writeValue(0x020000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:31:46.350 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:46.354 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201
    10:31:46.355 Packet Receipt Notif disabled (Op Code = 2, Value = 0)
    10:31:46.355 Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
    10:31:46.355 peripheral.writeValue(0x1288010a420801123e08ffffffff0f10341a02b00120012894f70530003800422408031220bb07ff7bbf69f0e9c6a3c5e38d1fd187c9622781d4becf84a0348c12bb3b3f1e480010001a4011fbc25a6f00fd299f39402b83147937b985582e38026252c648312979085465baad5b50dd4e679b56aa9b2b6a1d83365c48a97281edaf65e333f17f872515fd, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
    10:31:46.355 Command object sent (CRC = A5C47635)
    10:31:46.355 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:31:46.355 peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:31:46.381 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:46.381 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6003018b0000003576c4a5
    10:31:46.381 Checksum (Offset = 139, CRC = A5C47635) received
    10:31:46.381 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:31:46.382 peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:31:46.410 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:31:46.545 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600404
    10:31:46.545 Error 4: Insufficient resources
    10:31:46.545 Disconnecting...
    10:31:46.545 centralManager.cancelPeripheralConnection(peripheral)
    10:31:46.568 [Callback] Central Manager did disconnect peripheral
    10:31:46.568 Disconnected
    10:31:46.573 [System]Error occurs when updating 14 Insufficient resources
    

    Created by:          nRF Connect
    OS version:          11.4.1
    Hardware:            iPhone 7
    Client version:      1.8.8 (Build 12)
    Generated at:      2018-10-01 10:47:09-07:00
    --------------------------------------------------------------------
    10:46:58.603 Connecting DfuTarg
    10:46:58.978 Status changed: Connected to DfuTarg
    10:47:07.269 Connected to DfuTarg
    10:47:07.270 Services discovered
    10:47:07.270 Starting Secure DFU...
    10:47:07.271 Connected to DfuTarg
    10:47:07.271 Services discovered
    10:47:07.271 Secure DFU Service found
    10:47:07.272 Discovering characteristics in DFU Service...
    10:47:07.272 peripheral.discoverCharacteristics(nil, for: FE59)
    10:47:07.275 DFU characteristics discovered
    10:47:07.276 MTU set to 183
    10:47:07.276 Enabling notifications for 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:47:07.277 peripheral.setNotifyValue(true, for: 8EC90001-F315-4F60-9FB8-838830DAEA50)
    10:47:07.278 [Callback]State changed to Connecting
    10:47:07.419 [Callback]State changed to Starting
    10:47:07.445 Notifications enabled for 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:47:07.445 Secure DFU Control Point notifications enabled
    10:47:07.445 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:47:07.445 peripheral.writeValue(0x0601, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:47:07.472 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:47:07.472 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601000100000000000000000000
    10:47:07.472 Command object info (Max size = 256, Offset = 0, CRC = 00000000) received
    10:47:07.473 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:47:07.473 peripheral.writeValue(0x010189000000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:47:07.496 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:47:07.500 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101
    10:47:07.500 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:47:07.500 peripheral.writeValue(0x020000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:47:07.526 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:47:07.530 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201
    10:47:07.530 Packet Receipt Notif disabled (Op Code = 2, Value = 0)
    10:47:07.531 Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...
    10:47:07.531 peripheral.writeValue(0x1286010a400801123c080210341a02b00120032894f70530acaf01380042240803122029da276922d49895272ecc13614755b59e20308f25618a3725f5810639a23a9f480010001a40b5ff54270c525635c893014175a051d27c191038f813f67841335dd75816ca1d4d66968a7bb97a4a7cfbd77bf495bc67362cb8811ff0fbb1deb72c9c20fc5188, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)
    10:47:07.531 Command object sent (CRC = BBEA96D0)
    10:47:07.531 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:47:07.531 peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:47:07.571 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:47:07.576 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030189000000d096eabb
    10:47:07.576 Checksum (Offset = 137, CRC = BBEA96D0) received
    10:47:07.576 Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...
    10:47:07.576 peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)
    10:47:07.601 Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50
    10:47:07.752 Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600404
    10:47:07.752 Error 4: Insufficient resources
    10:47:07.752 Disconnecting...
    10:47:07.752 centralManager.cancelPeripheralConnection(peripheral)
    10:47:07.780 [Callback] Central Manager did disconnect peripheral
    10:47:07.780 Disconnected
    10:47:07.786 [System]Error occurs when updating 14 Insufficient resources
    

  • Hi Simon, 

    I'm sorry that I forgot about the limited flash size of the nRF52810. It has only 192kB of flash when the S112 softdevice already occupies 100kB. This leaves 92kB left, and it's not enough space for the bootloader and the space to receive new softdevice image. Currently there is no way to DFU update S112 on a nRF52810. 

    If you use the nRF52832 and run S112 (or S132) then it's possible to replace the softdevice.  

  • I'll keep an eye out in case s112 loses some weight.

    thank-you,

Related