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

DFU of softdevice or softdevice+bootloader makes iOS app crash

sdonly.zipsoftdevice.zipCustom board with a nRF51422, SD 310 rev 2.0.0, nRF Toolbox rev 2.4, iOS 8.4

When trying to use the DFU app to update my softdevice and/or the combined package with softdevice+bootloader the application crashes/quits without errormessage, warnings or anything.

I can update the application or the bootloader successfully, but as soon as the SD is involved I get nowhere in a hurry.

Any good ideas as to what goes wrong?

The zip file is generated from s310_nrf51422_2.0.0_softdevice.hex and my own bootloader.hex, by peeling of lines as described in the howto, running hex2bin, combining them with copy /b and thus obtaining the crc using crc.exe. Finally my shot at a .dat is zipped together with the original .hex files.

Parents
  • I have tried building the zip files with the nrf utility. I can see that the only difference in the datfiles are, that the number of F's in the start of the files have been reduced from 16 (as in the documentation you pointed me to) to 8.

    Results: softdevice only gives the errormessage: Error on init Packet. Message: Operation Failed. (previously the app just quit) Softdevice+BL: Error on StartDFU. Message: Data Size Exceeds. (previously the app just quit)

    So no crash anymore, no DFU success either. I have attached the zip for the SD above for reference

Reply
  • I have tried building the zip files with the nrf utility. I can see that the only difference in the datfiles are, that the number of F's in the start of the files have been reduced from 16 (as in the documentation you pointed me to) to 8.

    Results: softdevice only gives the errormessage: Error on init Packet. Message: Operation Failed. (previously the app just quit) Softdevice+BL: Error on StartDFU. Message: Data Size Exceeds. (previously the app just quit)

    So no crash anymore, no DFU success either. I have attached the zip for the SD above for reference

Children
No Data
Related