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

nrf5util dfu package incorrect size

I have nrfutil version 5.0.0. I run this command:

nrfutil pkg generate --hw-version 52 --sd-req 0xA8,0xAF,0xB7 --application-version 2 --application ./nrf5/Debug/nrf5.ihex --key-file priv.pem app_dfu_package.zip

It outputs: Zip created at app_dfu_package.zip

However, this .zip file has size of 1 kb, two files there: manifest.json and nrf5.ihex. Original hex file (./nrf5/Debug/nrf5.ihex) has almost 500 kb, so the size of app_dfu_package.zip is obviously incorrect.

What is wrong?

Related