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

What is the difference b/w legacy DFU and Secure DFU?

hi, i am working on NRF52 with SDK v11, softdevice S132. i have implemented my application with DFU as per the HRM example in SDK v11. now i want to know about what is secure dfu and is it possible to edit my legacy DFU to make it as Secure DFU. and i want to know wt is disadvantages of legacy DFU compared to secure DFU.

Thank you,

  • Hi,

    Secure DFU is more secure in the way that only signed and verified firmware images can be updated. You sign the firmwares using a private key, and the bootloader will verify the image using a matching public key. If the bootloader cannot verify the image, it will not update it. With the legacy bootloader, all valid firmware images would be accepted and updated, exposing the device for unauthorized firmware updates. You can read more about the details of the secure bootloader in the infocenter.

    It is possible to update to the secure bootloader, but this will require that you have reserved more space on in flash that the size of the legacy bootloader. See this answer for more details.

    Best regards,

    Jørgen

Related