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

How to create zip file for DFU?

Hello, I am using nrf52 with sdk 12.2.0. I am working with example buttonless dfu template aplication by referring to the link infocenter.nordicsemi.com/index.jsp . I have uploaded the example code in my pca10040. Now stuck at creating a dfu zip file. I created the zip file for secure dfu but it had public key included in zip file as well. So should I follow the same steps to create the file for this example as well? I tried this command nrfutil pkg generate --hw-version 52 --sd-req 0x8C --application-version 0xff --application app.hex app_dfu_package.zip But it gave me error of keyfile. So if I dont have keyfile then what command should I use? I am attaching the image of error.nrfkeyfileerror.PNG

Error 1 - 1.PNG Thanks, Shailav

Parents Reply
  • I am not modifying bootloader_secure project. I am referring this project and modifying the code that you sent me. Earlier I was in discussion with Hung for the link that you mentioned. I had successfully generated the key files as well as the zip file for the project bootloader_secure. But my concern is how should I add the dfu_public_key.c file in the code that you sent me? Do I need to add any other files in the code that you sent me?

Children
No Data
Related