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

Parents Reply Children
No Data
Related