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

dfu version issue with signed bootloader

Hi, In my project I am using the signed bootloader example. The issue I got if I generate .zip file for dfu without --key-file the with --dfu-ver is option is working fine.

If I run the below command it creates .zip with I mentioned values i.e dfu_version 2.0

nrfutil.exe dfu genpkg --application sample.hex --dfu-ver 2 sample.zip --application-version 0x02 --dev-revision 0x01 --dev-type 0x01 --sd-req 0x80

If run the command with --key-file option.

nrfutil.exe dfu genpkg --application sample.hex --dfu-ver 2 --key-file ./sample_prvt_key.pem sample.zip --application-version 0x02 --dev-revision 0x01 --dev-type 0x01 --sd-req 0x80

it creates the .zip file dfu_version 0.8 that means with --key-file option is used --dfu-ver taking default value. can any one help me to solve these problem. I am using nrfutil.exe to generate .zip files

Related