I am having an application for nRF51822 with S110 soft device, and setting up DFU. There's now bootloader running. On my Windows PC, I am trying like this:
nrfutil dfu genpkg --application myapp.hex --application-version 0xffffffff --dev-type 0xffff --dev-revision 0xffff --sd-req 0x45,0x5a myapp.zip
and the command responses like:
Zip created at myapp.zip
Fine this far. However, when I use nRFTool to DFU with the generated file, it says the file is invalid and I can't try uploading. If I instead generate .dat file similarly, I can start uploading but then it just jams.
How should I generate the package, actually?