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

How to do DFU OTA update over BLE using nRF Connect SDK

Hello Nordic Support Team,

                                           I'm using nrf52840 DK for DFU update over ble with nrf5 sdk previously it was working fine and i was using nrfutil tool to generate settings, key , zip pkg etc for DFU update.Unfortunately, we need to switch to NCS  so,

   1.what are the steps to do dfu using NCS ,is there any tool like nrfutil

   2.which example can i use for nrf52840 ble dfu .

   3.Is there any tutorial available.

thanks in advance 

  • Hi,

    The nRF Connect SDK is completely different from the nRF5 SDK in most aspects, including DFU. But DFU is still supported in a different way. It uses MCUBoot as the bootloader, and the Simple Management Protocol (SMP) to transfer the image.

    The build system integrates this all, so if you select that you want to build with MCUboot and BLE transport, you will get everything built for you, both bootloader and application, and you will get signed application update images. This is demonstrated by the SMP Server Sample. Note that you can ignore the section about imgtool in the sample documentation, as the nRF Connect SDK does this automatically under the hood using the partition manager.

Related