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

nRF52 as a DFU central

I can update firmware in my nRF52 nodes using DFU where on the other end I have Android phone or nRF Connect (PC/Windows)+PCA10040. Everything works fine. But in my application I want to use nRF52 based node ("central" in my system) to update other nRF52 nodes ("peripherals"). My central is equipped with external SPI FLASH to keep new image/images.

I can't find example even close to my application (nRF52 ->DFU-> nRF52), everything works with zipped packages. Am I alone with this type of application?

Witold

  • Hi Witold,

    unfortunately we do not have any examples/guides showing how to implement a DFU Controller(Master) on a nRF52 device. We only have examples showing how the DFU Target (Slave) is implemented, i.e. the bootloader examples in the SDK.

    However, the DFU Service and the Device Firmware Update procedure is documented on our Infocenter, here is the link, so it should be to large an effort to implement this.

    I recommend starting with one of our central examples, e.g. examples\ble_central\ble_app_hrs_c and use it as a template.

    There is a DevZone user has implemented a DFU Controller for the legacy bootloader on the nRF51 and is now in the process of implementing a Secure DFU controller on the nRF52, here is the link to the DevZone post.

    Best regards

    Bjørn

  • Hi Witold!

    Did you manage to implement DFU Controller? Could you share your solution? It will be great!

Related