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

clear steps to create DFU zip for S132 SoftDevice v2.0.0 SDK11.0.0

Hi,
I have no found clear steps to create DFU zip packet for old one softdevice S132 SoftDevice v2.0.0.

I try to build with nrfutil pkg generate but seems its working only for secure DFU from SDK12 minimum
https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader

Could anyone have success practice of SD + APP + BOOT  zip creation for S132 SoftDevice v2.0.0 ?

for now I use the known way that working for APP part update

hex2bin.exe app.hex

crc.exe app.bin

take CRC16 int value example 12345 and CRC-CCITT (0xffff) hex value example 0x6724

put CRC-CCITT (0xffff) to the end of line of app.dat file content FF FF FF FF FF FF FF FF 01 00 FE FF 24 67

put CRC16 value for "value firmware_crc16": 12345, in the manifest.json

then create zip which contain app.bin + app.dat + manifest.json

{
    "manifest": {
        "application": {
            "bin_file": "app.bin",
            "dat_file": "app.dat",
            "init_packet_data": {
                "application_version": 4294967295,
                "device_revision": 65535,
                "device_type": 65535,
                "firmware_crc16": 12345, 
                "softdevice_req": [
                    65534
                ]
            }
        },
        "dfu_version": 0.5
    }
}

Parents Reply Children
No Data
Related