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

bootloader-settings for legacy dfu

Hi support team,

In order to make the application hex valid after programming in a bootloader enabled project, we can use bootloader-settings.

As for secure DFU, it's easy to generate bootloader settings hex with nrfutil tool.

But the bootloader settings hex from the same method doesn't work in legacy DFU.

Usually, we write memory at 0x3FC00 with value 1 to make it, but here I want to confirm that does legacy DFU support bootloader settings hex file or not? If support, how to generate it?

Thanks,

Youqun

Parents
  • Hi,

    Sorry for the late reply, we got way too many cases two weeks ago while on reduced staff and this accidentally got lost in the backlog Disappointed

    There is no tool for generating the settings page for the legacy DFU. The two options are:

    • Create the page by hand by setting the values in accordance to the bootloader settings page as it is defined by bootloader_settings_t in bootloader_types.h.
    • Flash a device with the bootloader and no application and add the application using DFU. Read out the values of this valid settings page and use those values.

    Best regards,
    Rune Holmgren

Reply
  • Hi,

    Sorry for the late reply, we got way too many cases two weeks ago while on reduced staff and this accidentally got lost in the backlog Disappointed

    There is no tool for generating the settings page for the legacy DFU. The two options are:

    • Create the page by hand by setting the values in accordance to the bootloader settings page as it is defined by bootloader_settings_t in bootloader_types.h.
    • Flash a device with the bootloader and no application and add the application using DFU. Read out the values of this valid settings page and use those values.

    Best regards,
    Rune Holmgren

Children
Related