Hi There,
How can I create a combined soft device and bootloader image/zip using the nrfutil.exe?
Is it possible to have an image/zip with both the application, bootloader and soft device?
Hi There,
How can I create a combined soft device and bootloader image/zip using the nrfutil.exe?
Is it possible to have an image/zip with both the application, bootloader and soft device?
Is this the correct command: nrfutil dfu genpkg sd_200_boot_v11.zip --softdevice s132_nrf52_2.0.0_softdevice.hex --bootloader nrf52832_xxaa_s132.hex
You can use the mergehex
tool to merge any hex files. They are a lot of topics about this on the devzone, see for instance this answer.
As you said, you can use the nrfutil
tool to generate a zip file. Do upgrade the software (bootloader, SoftDevice or application) over the air or through serial (HCI), a Zip image is needed.
You need to specify the information that will be added to the init packet in addition to the hex files, i.e.
nrf dfu genpkg softdevice_bootloader.zip --bootloader <name of bootloader>.hex --softdevice <name of softdevice>.hex --application-version 0xFFFFFFFF --dev-revision 0xFFFF --dev-type 0xFFFF --sd-req 0xFFFE
Please see this InfoCenter page for more information on the usage of the nRF utility tool.