This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What happens to the Application Data Pages when you update the bootloader itself?

Hi -

I can't seem to find the answer to this question in the docs, or in the forums.  What I'd like to know is - what happens if I update the bootloader and its size increases, say from 30k to 40k.  When I do the update, will the system move the application data pages (defined by NRF_DFU_APP_DATA_AREA_SIZE) to after the new bootloader, or will the application data pages just get overwritten?  

The docs are clear about the BL protecting those pages for use as Bank 1 generic storage, but mention nothing about when you update the BL itself. 

Thanks,

M

Parents
  • Hi,

    It's not possible to change the start address of the bootloader through DFU. Not only because it would overwrite the app data, but also because you would risk bricking the device if you got an unexpected reset in the process. In addition, you have the bootloader you start address stored at address 0xff8 that can't easily be updated.

    It's the bootloader address at 0xff8 that tells the MBR where the bootloader is located on startup: Master boot record and SoftDevice reset procedure.

    Best regards,

    Vidar

Reply
  • Hi,

    It's not possible to change the start address of the bootloader through DFU. Not only because it would overwrite the app data, but also because you would risk bricking the device if you got an unexpected reset in the process. In addition, you have the bootloader you start address stored at address 0xff8 that can't easily be updated.

    It's the bootloader address at 0xff8 that tells the MBR where the bootloader is located on startup: Master boot record and SoftDevice reset procedure.

    Best regards,

    Vidar

Children
No Data
Related