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

Zip file format for DFU on iOS nRF Toolbox

I am having some trouble sending DFU to my development board through the iOS app.

When I prepare a zip file for the nRFToolbox app, I include the .dat and .bin files in a zip file. I transfer this zip file to my iOS device. When I load the file through the nRF toolbox app it says "DFU application.hex not exist inside selected file demo.zip" [sic].

I downloaded the iOS nRFToolbox source and found a few of the example zip files - "hrs_sdk7_1_bin_sc.zip" - if I manually upload this to my iOS device I can transfer it using DFU to my board. In other words the demo zip works.

But. If I unzip "hrs_sdk7_1_bin_sc.zip" and rezip it (using either Mac or Windows) and repeat the process I can no longer send the DFU and get the same "DFU application.hex not exist inside selected file nordicExample.zip" error as above. Because the contents of the zip file is identical to the demo zip and the only difference was that it was extracted and re-compressed, I am lead to believe there is something in how this is being zipped up that is causing the iOS app to not parse the .bin/.dat file. Also given that it is looking for a .hex file in the error message makes me think this is a generic exception.

I am using nRF Toolbox 1.8, released a few days ago in the App Store.

Please advise.

Related