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

OTA DFU W/ Button&Bonding

When using the OTA DFU using the button press implementation is it possible for the bootloader to require bonding? I figure I can use the preserve app data functionality built into the bootloader to preserve the device_manager data in ROM.

Or does the bond information need to explicitly be passed in RAM to the bootloader?

Parents
  • Hi Lucas,

    Correct, you can do that to put the bondinformation into preserved app data area. You would need to implement some code in the bootloader to read and extract encryption key from the data. Note that you may not be able to use system attribute information, because the att table may be changed when you switch to bootloader.

    If you don't plan to start the application before you enter DFU mode, I don't think there is any other way to pass encryption data to bootloader otherthan using flash.

Reply
  • Hi Lucas,

    Correct, you can do that to put the bondinformation into preserved app data area. You would need to implement some code in the bootloader to read and extract encryption key from the data. Note that you may not be able to use system attribute information, because the att table may be changed when you switch to bootloader.

    If you don't plan to start the application before you enter DFU mode, I don't think there is any other way to pass encryption data to bootloader otherthan using flash.

Children
No Data
Related