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

Related