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

Dfu device type/revision checks

I use dfu_dual_bank_ble_s110 bootloader from SDK10. I want the bootloader to check whether if incoming firmware is compatible with the device it is uploaded to (i.e. device's device type corresponds to new firmware device type defined in init packet and device's revision is compatible with new firmware device revision defined in init packet). Is this check already implemented in dfu_dual_bank_ble_s110 bootloader or do I have to implement it myself. In the later case - where?

  • The device type and revision checks are already implemented in dfu_init_prevalidate() in dfu_init_template.c.

    You store the device type and revision that the device should accept in the CUSTOMER[0] register (at0x10001080).These values are checked against the values in the init packet, that are specified using the --dev-revision and --dev-type options when creating the firmware image using nrfutil.

    Please refer this page on our Infocenter for mor information on the Safety Checking mechanism.

    -Bjørn

Related