I try to create ZIP file for DFU:
nrfutil pkg generate --hw-version 52 --application-version 1 --application nrf52832_xxaa.hex --sd-req 0xA8 --key-file private.key app_dfu_package.zip
I get the message:
Zip created at app_dfu_package.zip
So there is no error reported. But I can't use the created file. After selecting the file nRF Connect shows chart screen with "Intializing" status for half a second. The it disappears without any message. I'm again at characteristics view. For me it's a bug in nRF Connect because it doesn't say why it rejects the ZIP. I suppose it's because of incorrect manifest file:
{
"manifest": {
"application": {
"bin_file": "nrf52832_xxaa.bin",
"dat_file": "nrf52832_xxaa.dat"
}
}
}
It looks incomplete. There is no init_packet_data section. Why? I provided all necessary information in command line.