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

SDK10 DFU Problems Freezing

Hi,

I'm using the SDK10 bootloader and DFU mechanism. I can update the firmware using Master Control Panel 3.10.14 on a PC, but the update fails using the iOS library or iOS Nordic tools. The iOS library and tools start the update successfully, but gives "Error 202" and the device disconnects and freezes. Does anyone have any clues? Why would Master Control Panel work, but not these other tools?

Here is my iOS library log:

  • I: Services discovered
  • V: Legacy DFU Service found
  • V: Discovering characteristics in DFU Service...
  • D: peripheral.discoverCharacteristics(nil, for: 00001530-1212-EFDE-1523-785FEABCD123)
  • I: DFU characteristics discovered
  • V: Reading DFU Version number...
  • D: peripheral.readValue(00001534-1212-EFDE-1523-785FEABCD123)
  • I: Read Response received from 00001534-1212-EFDE-1523-785FEABCD123, value (0x): 0400
  • A: Version number read: 0.4
  • V: Enabling notifications for 00001531-1212-EFDE-1523-785FEABCD123...
  • D: peripheral.setNotifyValue(true, for: 00001531-1212-EFDE-1523-785FEABCD123)
  • Changed state to: Starting
  • V: Notifications enabled for 00001531-1212-EFDE-1523-785FEABCD123
  • A: DFU Control Point notifications enabled
  • V: Writing to characteristic 00001531-1212-EFDE-1523-785FEABCD123...
  • D: peripheral.writeValue(0x0104, for: 00001531-1212-EFDE-1523-785FEABCD123, type: .withResponse)
  • V: Writing image sizes (0b, 0b, 52664b) to characteristic 00001532-1212-EFDE-1523-785FEABCD123...
  • D: peripheral.writeValue(0x0000000000000000b8cd0000, for: 00001532-1212-EFDE-1523-785FEABCD123, type: .withoutResponse)
  • I: Data written to 00001531-1212-EFDE-1523-785FEABCD123
  • A: Start DFU (Op Code = 1, Upload Mode = 4) request sent
  • D: [Callback] Central Manager did disconnect peripheral
  • I: Disconnected by the remote device
  • Error 202: Device disconnected unexpectedly
Related