Creating DFU package with latest nrfutil tool v7

Hello

I'm now downloaded and try to use the new nrfutil tool to create DFU package. The problem is that the manifest file miss the "init_packet_data" section. This is how my command looks like on the old nrfutil:

nrfutil dfu genpkg app.zip --application app.hex --application-version 0xFFFFFFFF --dev-revision 0xFFFF --dev-type 0xFFFF --sd-req 0xFFFE

Form the maifest file:

{
    "manifest": {
        "application": {
            "bin_file": "MMP063_CMSP_038_MER_F1M_F1M.bin",
            "dat_file": "MMP063_CMSP_038_MER_F1M_F1M.dat",
            "init_packet_data": {
                "application_version": 4294967295,
                "device_revision": 65535,
                "device_type": 65535,
                "firmware_crc16": 36869,
                "softdevice_req": [
                    65534
                ]
            }
        },
        "dfu_version": 0.5
    }
}
This how I try to make the command with the new nrfutil v7:
nrfutil pkg generate --hw-version 51 --sd-req 0x00 --application-version 0 --application MMP063_CMSP_038_OXE_EAM_F2M.hex CKSP_038_OXE_EAM_F2M.zip
The manifest file looks like this:
{
    "manifest": {
        "application": {
            "bin_file": "MMP063_CMSP_038_OXE_EAM_F2M.bin",
            "dat_file": "MMP063_CMSP_038_OXE_EAM_F2M.dat"
        }
    }
}
I understands that I have to fill in some more in the command string, but what? The new nrfutil dont accept the --dev-revision and --dev-type. What shall it be replaced with? 
nRF Toolbox App want accept the new .zip file, or it is my old booloader that want accept it.. Please, any solution for this? 
BR Pål
Parents Reply Children
No Data
Related