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

DFU update of Bootloader

I'm using the boot loader that comes with the beacon development kit and I want to change it so that when the application software is running it can restart the device in DFU mode.

I can happily write the firmware for this but IS IT POSSIBLE to update the boot loader over the air.. or do I need to flash it via the SWD connector.. (bit of a pain..)

I know the SD 7.0 has a lot of improved DFU capabilities and therefore probably don't need a boot loader but dox / examples still seem thin on the ground for that...

  • Hi Chris,

    The new S110 v7.0 alpha added a Master Boot Record block in the softdevice that allows softdevice update and bootloader update. However, it's pretty new and we found some issue on the alpha version for bootloader updating. A DFU example for application update, softdevice update and bootloader update will be included in the next release of the SDK which will be available in close future.

    Regarding the beacon kit, it's running on the S110 v6.0 so bootloader update is not supported. You would need to reflash the new bootloader via SWD.

  • Hi There,

    We've updated to SD 7 now, just in the process of finding the new boot loader you mention "A DFU example for application update, softdevice update and bootloader update will be included in the next release of the SDK which will be available in close future."

    Where is that in the SDK? I've found a standard boot loader in the nrf6310/device_firmware_updates/bootloader but not sure how we tell it whether to update firmware or boot loader or SD...

    Just want to make sure it exists or I'm using the right boot loader.

  • Yes.. that was the one I ended up using and I'm happily running a heavily modified beacon reference now on SD 7..

Related