Implementing DFU

Hello,

I'm currently developing on an NRF82832, I'm using a Black Magic Debug Probe to flash the firmware and the bootloader. I use Linux.

I have a working firmware and I want to implement DFU OTA on it but I can't find any documentation for getting started to add DFU on an existing application.

I can't use the nrfutil tool as it doesn't work on Linux.

Could you point me to the right direction ?

And do nrf52832 have a default bootload with DFU OTA out of the box ? To avoid flashing everything by hand with a cable.

Thank you very much

Regards,

Théo

Parents
  • Hi Théo,

    I have a working firmware and I want to implement DFU OTA on it but I can't find any documentation for getting started to add DFU on an existing application.

    We provide two distinct SDKs, the nRF Connect SDK and nRF5 SDK. Which are you using? Both provide DFU support. If you are using the nRF Connect SDK, then I suggest referring to this tutorial to get started: Add DFU support to your application. If using the nRF5 SDK, you can refer to this one: Getting started with Nordic's Secure DFU bootloader, a step by step guide.

    I can't use the nrfutil tool as it doesn't work on Linux.

    nrfutil can also work on Linux. We test on Ubuntu but it should also work on most other distributions. You can install it via pip ("pip install nrfutil").

    And do nrf52832 have a default bootload with DFU OTA out of the box ? To avoid flashing everything by hand with a cable.

    No, all nRF5 devices ship with an empty flash.

    Einar

Reply
  • Hi Théo,

    I have a working firmware and I want to implement DFU OTA on it but I can't find any documentation for getting started to add DFU on an existing application.

    We provide two distinct SDKs, the nRF Connect SDK and nRF5 SDK. Which are you using? Both provide DFU support. If you are using the nRF Connect SDK, then I suggest referring to this tutorial to get started: Add DFU support to your application. If using the nRF5 SDK, you can refer to this one: Getting started with Nordic's Secure DFU bootloader, a step by step guide.

    I can't use the nrfutil tool as it doesn't work on Linux.

    nrfutil can also work on Linux. We test on Ubuntu but it should also work on most other distributions. You can install it via pip ("pip install nrfutil").

    And do nrf52832 have a default bootload with DFU OTA out of the box ? To avoid flashing everything by hand with a cable.

    No, all nRF5 devices ship with an empty flash.

    Einar

Children
Related