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

App iOSDFULibrary update firmware Error

i download App(iOSDFULibrary) from https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library

And delete all firmware itself have. Put my firmware into folder (Firmwares/Custom) ,

Build and run app on my phone, select and connect my device , The app will be automatically upgrade 。

but It quickly upgrade and Error .

please help .  

 

Error Log :

Central Manager is now powered on

Start discovery

State changed to: Connecting

V: Connecting to P128...

D: centralManager.connect(peripheral, options: nil)

D: [Callback] Central Manager did connect peripheral

I: Connected to P128

V: Discovering services...

D: peripheral.discoverServices(nil)

I: Services discovered

V: Starting Secure DFU...

I: Connected to P128

I: Services discovered

V: Secure DFU Service found

V: Discovering characteristics in DFU Service...

D: peripheral.discoverCharacteristics(nil, for: FE59)

I: DFU characteristics discovered

State changed to: Starting

V: Enabling indications for 8EC90003-F315-4F60-9FB8-838830DAEA50...

D: peripheral.setNotifyValue(true, for: 8EC90003-F315-4F60-9FB8-838830DAEA50)

V: Indications enabled for 8EC90003-F315-4F60-9FB8-838830DAEA50

A: Buttonless DFU indications enabled

W: Application with buttonless update found

State changed to: Enabling DFU Mode

V: Trying setting bootloader name to Dfu56485

V: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x02084466753536343835, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90003-F315-4F60-9FB8-838830DAEA50

I: Indication received from 8EC90003-F315-4F60-9FB8-838830DAEA50, value (0x):200201

A: Response (Op Code = 2, Status = 1) received

A: Bootloader name changed successfully

V: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x01, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90003-F315-4F60-9FB8-838830DAEA50

I: Indication received from 8EC90003-F315-4F60-9FB8-838830DAEA50, value (0x):200101

A: Response (Op Code = 1, Status = 1) received

D: [Callback] Central Manager did disconnect peripheral

I: Disconnected by the remote device

V: Scanning for the DFU Bootloader...

I: DFU Bootloader found with name Dfu56485

V: Connecting to Dfu28413...

D: centralManager.connect(peripheral, options: nil)

D: [Callback] Central Manager did connect peripheral

I: Connected to Dfu28413

V: Discovering services...

D: peripheral.discoverServices([FE59])

I: Services discovered

V: Secure DFU Service found

V: Discovering characteristics in DFU Service...

D: peripheral.discoverCharacteristics(nil, for: FE59)

I: DFU characteristics discovered

State changed to: Starting

V: Enabling notifications for 8EC90001-F315-4F60-9FB8-838830DAEA50...

D: peripheral.setNotifyValue(true, for: 8EC90001-F315-4F60-9FB8-838830DAEA50)

V: Notifications enabled for 8EC90001-F315-4F60-9FB8-838830DAEA50

A: Secure DFU Control Point notifications enabled

V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x0601, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601000100000000000000000000

A: Command object info (Max size = 256, Offset = 0, CRC = 00000000) received

V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x010188000000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101

V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x020000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201

A: Packet Receipt Notif disabled (Op Code = 2, Value = 0)

V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x1285010a3f0801123b08d30110341a029d012000, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x2800300038ec950a4224080312205a3c0ef6e356, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0xe2939cb2af23a0fec5d78a331214f043e55de13e, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0xdc26b8099d57480010001a40caaeece4e3962e33, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0xccca9e2059a1a562a00fa13842ce7e8026090812, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0xf5c0da38490f123b45aa21acf6197d6b43b0edbd, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x09c151d719ec8a3e264517317d7f3b0f, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

A: Command object sent (CRC = D912F08E)

V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600301880000008ef012d9

A: Checksum (Offset = 136, CRC = D912F08E) received

V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401

A: Command object executed

V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x020c00, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201

A: Packet Receipt Notif enabled (Op Code = 2, Value = 12)

V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x0602, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601001000000000000000000000

A: Data object info (Max size = 4096, Offset = 0, CRC = 00000000) received

State changed to: Uploading

V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

D: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101

I: Data object 1/41 created

A: Uploading firmware...

V: Sending firmware to DFU Packet characteristic...

D: [Callback] Central Manager did disconnect peripheral

I: Disconnected by the remote device

Error 202: Device disconnected unexpectedly

  • Hi,

    I have you tried to upload the same DFU package with our nRF connect / nRF toolbox to be sure it's not a problem with your custom app? Although it looks like the link is being terminated by the bootloader. 

  • i use you ' nRF connect ' update my custom firmware  is successful. But  use https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library Source code is error .
    error log :

    Central Manager is now powered on

    Start discovery

    State changed to: Connecting

    V: Connecting to KB96(ID-C708)...

    D: centralManager.connect(peripheral, options: nil)

    D: [Callback] Central Manager did connect peripheral

    I: Connected to KB96(ID-C708)

    V: Discovering services...

    D: peripheral.discoverServices(nil)

    I: Services discovered

    V: Starting Secure DFU...

    I: Connected to KB96(ID-C708)

    I: Services discovered

    V: Secure DFU Service found

    V: Discovering characteristics in DFU Service...

    D: peripheral.discoverCharacteristics(nil, for: FE59)

    I: DFU characteristics discovered

    State changed to: Starting

    V: Enabling indications for 8EC90003-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.setNotifyValue(true, for: 8EC90003-F315-4F60-9FB8-838830DAEA50)

    V: Indications enabled for 8EC90003-F315-4F60-9FB8-838830DAEA50

    A: Buttonless DFU indications enabled

    W: Application with buttonless update found

    State changed to: Enabling DFU Mode

    V: Trying setting bootloader name to Dfu91108

    V: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x02084466753931313038, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90003-F315-4F60-9FB8-838830DAEA50

    I: Indication received from 8EC90003-F315-4F60-9FB8-838830DAEA50, value (0x):200201

    A: Response (Op Code = 2, Status = 1) received

    A: Bootloader name changed successfully

    V: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x01, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90003-F315-4F60-9FB8-838830DAEA50

    I: Indication received from 8EC90003-F315-4F60-9FB8-838830DAEA50, value (0x):200101

    A: Response (Op Code = 1, Status = 1) received

    D: [Callback] Central Manager did disconnect peripheral

    I: Disconnected by the remote device

    V: Scanning for the DFU Bootloader...

    I: DFU Bootloader found with name Dfu91108

    V: Connecting to Dfu77093...

    D: centralManager.connect(peripheral, options: nil)

    D: [Callback] Central Manager did connect peripheral

    I: Connected to Dfu77093

    V: Discovering services...

    D: peripheral.discoverServices([FE59])

    I: Services discovered

    V: Secure DFU Service found

    V: Discovering characteristics in DFU Service...

    D: peripheral.discoverCharacteristics(nil, for: FE59)

    I: DFU characteristics discovered

    State changed to: Starting

    V: Enabling notifications for 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.setNotifyValue(true, for: 8EC90001-F315-4F60-9FB8-838830DAEA50)

    V: Notifications enabled for 8EC90001-F315-4F60-9FB8-838830DAEA50

    A: Secure DFU Control Point notifications enabled

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x0601, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601000100000000000000000000

    A: Command object info (Max size = 256, Offset = 0, CRC = 00000000) received

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x010188000000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x020000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201

    A: Packet Receipt Notif disabled (Op Code = 2, Value = 0)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x1285010a3f0801123b08d60110341a029d012000, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x2800300038c48e074224080312206b897bf6a6de, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x23b05cd592226bfec931149ed8e664411d2d000c, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x20b9c3117ef5480010001a40f1702835966cd734, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x45f1df3bc2801b0e25d2ca561e3084421169bf1a, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x6dc151f338c2f047e8123598bd1b33508d291d1f, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x8bfaa0fa251f27d6a56e2f82d438ee1a, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    A: Command object sent (CRC = 926BE5A9)

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030188000000a9e56b92

    A: Checksum (Offset = 136, CRC = 926BE5A9) received

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401

    A: Command object executed

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x0602, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601001000000000000000000000

    A: Data object info (Max size = 4096, Offset = 0, CRC = 00000000) received

    State changed to: Uploading

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101

    I: Data object 1/29 created

    A: Uploading firmware...

    V: Sending firmware to DFU Packet characteristic...

    D: [Callback] Central Manager did disconnect peripheral

    I: Disconnected by the remote device

    Error 202: Device disconnected unexpectedly

    Start discovery

  • i try another device and firmware to update use  https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library  source code, and successful, Is there any difference between my two devices? I'm confused  .
    success some log:

    Central Manager is now powered on

    Start discovery

    State changed to: Connecting

    V: Connecting to KH96(ID-C708)...

    D: centralManager.connect(peripheral, options: nil)

    D: [Callback] Central Manager did connect peripheral

    I: Connected to KH96(ID-C708)

    V: Discovering services...

    D: peripheral.discoverServices(nil)

    I: Services discovered

    V: Starting Secure DFU...

    I: Connected to KH96(ID-C708)

    I: Services discovered

    V: Secure DFU Service found

    V: Discovering characteristics in DFU Service...

    D: peripheral.discoverCharacteristics(nil, for: FE59)

    I: DFU characteristics discovered

    State changed to: Starting

    V: Enabling indications for 8EC90003-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.setNotifyValue(true, for: 8EC90003-F315-4F60-9FB8-838830DAEA50)

    V: Indications enabled for 8EC90003-F315-4F60-9FB8-838830DAEA50

    A: Buttonless DFU indications enabled

    W: Application with buttonless update found

    State changed to: Enabling DFU Mode

    V: Trying setting bootloader name to Dfu36508

    V: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x02084466753336353038, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90003-F315-4F60-9FB8-838830DAEA50

    I: Indication received from 8EC90003-F315-4F60-9FB8-838830DAEA50, value (0x):200201

    A: Response (Op Code = 2, Status = 1) received

    A: Bootloader name changed successfully

    V: Writing to characteristic 8EC90003-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x01, for: 8EC90003-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90003-F315-4F60-9FB8-838830DAEA50

    I: Indication received from 8EC90003-F315-4F60-9FB8-838830DAEA50, value (0x):200101

    A: Response (Op Code = 1, Status = 1) received

    D: [Callback] Central Manager did disconnect peripheral

    I: Disconnected by the remote device

    V: Scanning for the DFU Bootloader...

    I: DFU Bootloader found with name Dfu36508

    V: Connecting to DfuTarg...

    D: centralManager.connect(peripheral, options: nil)

    D: [Callback] Central Manager did connect peripheral

    I: Connected to DfuTarg

    V: Discovering services...

    D: peripheral.discoverServices([FE59])

    I: Services discovered

    V: Secure DFU Service found

    V: Discovering characteristics in DFU Service...

    D: peripheral.discoverCharacteristics(nil, for: FE59)

    I: DFU characteristics discovered

    State changed to: Starting

    V: Enabling notifications for 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.setNotifyValue(true, for: 8EC90001-F315-4F60-9FB8-838830DAEA50)

    V: Notifications enabled for 8EC90001-F315-4F60-9FB8-838830DAEA50

    A: Secure DFU Control Point notifications enabled

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x0601, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601000100000000000000000000

    A: Command object info (Max size = 256, Offset = 0, CRC = 00000000) received

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x010188000000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x020000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600201

    A: Packet Receipt Notif disabled (Op Code = 2, Value = 0)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x1285010a3f0801123b08b00110341a029d012000, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x280030003894f1064224080312209592e9a08a4e, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x067104dc8a11402fe4533d5bd0d36349e5e44fbb, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x346f93f68888480010001a40d0e1b149d6bc3dcf, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x17dc1b268adff5cc5fee5f0b36b80509031bc0fe, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x7ea433387a315f7be78101250e5f7dd29ae4a9a5, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    V: Writing to characteristic 8EC90002-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x050b623bfb7dac7ebae1d0fc6fe71f26, for: 8EC90002-F315-4F60-9FB8-838830DAEA50, type: .withoutResponse)

    A: Command object sent (CRC = 63D6BEDC)

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 60030188000000dcbed663

    A: Checksum (Offset = 136, CRC = 63D6BEDC) received

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401

    A: Command object executed

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x0602, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600601001000000000000000000000

    A: Data object info (Max size = 4096, Offset = 0, CRC = 00000000) received

    State changed to: Uploading

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101

    I: Data object 1/28 created

    A: Uploading firmware...

    V: Sending firmware to DFU Packet characteristic...

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6003010010000032986792

    A: Checksum (Offset = 4096, CRC = 92679832) received

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401

    A: Data object executed

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101

    I: Data object 2/28 created

    A: Uploading firmware...

    V: Sending firmware to DFU Packet characteristic...

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x03, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 6003010020000014cc1bc4

    A: Checksum (Offset = 8192, CRC = C41BCC14) received

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x04, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600401

    A: Data object executed

    V: Writing to characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50...

    D: peripheral.writeValue(0x010200100000, for: 8EC90001-F315-4F60-9FB8-838830DAEA50, type: .withResponse)

    I: Data written to 8EC90001-F315-4F60-9FB8-838830DAEA50

    I: Notification received from 8EC90001-F315-4F60-9FB8-838830DAEA50, value (0x): 600101

    I: Data object 3/28 created

    A: Uploading firmware...

  • Kivv said:
    i try another device and firmware to update use  https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library  source code, and successful, Is there any difference between my two devices? I'm confused  .

     Is everything supposed to be identical, or are you using a different mobile app, DFU firmware image, mobile, nRF device?  

  •  mobile app(use your source code),  mobile, nRF device  is same .  DFU firmware image is different , bootloader and softdevice is same. 

Related