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

DFU zip packet error

Dear Nordic Team,

Thanks for support.

I try to make zip file generation using command promt as per the nordic document(How to generate the INIT file for the DFU.pdf). Command : nrf dfu genpkg --application [application].hex --application-version [version] --softdevice [softdevice].hex --bootloader [bootloader].hex --dev-type [type] --dev-revision [revision] --sd-req [list of supported Soft Device ids] [name of the distribution packet].zip

Zip file was successfully generated but it contain the two bin files and two .dat file. But in example file contain one bin file and one dat file.

I want to know it was correct procedure?????

Parents
  • Hi Murugan,

    Yes, if you have provided nrfutil with an application.hex, a softdevice.hex and/or a bootloader.hex, i.e.

    nrf dfu genpkg --application application.hex --application-version 0xFFFFFFFF  --softdevice softdevice.hex --bootloader bootloader.hex --dev-type 0xFFFF --dev-revision 0xFFFF --sd-req 0xFFFE distribution_packet.zip
    

    then the softdevice.hex and bootloader.hex will be merged and converted into one .bin file, and the application.hex is converted to the second .bin file.

    If you generate a distribution zip with an application image only, as the example zip, then there will only be one .bin file in the zip.

    -Bjørn

  • Now working fine. Copy all all file in D folder. Remove the DFU Folder.

    Now i want to know the if possible all three hex file in one bin file and one dat file.

Reply Children
No Data
Related