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

Over the air firmware update (OTA DFU) in NRF Connect SDK excluding SoftDevice

Is it possible to set up an NRF Connect SDK project such that the firmware can be updated over BLE, without including the SoftDevice in the update?

I'm using NRF52810 which has only 192kB of flash, which is not enough flash to fit the current firmware and new firmware at the same time. I believe that if the SoftDevice was kept separate, and not updated with my application, then there would be enough space for both the current and new versions of my application and I would be able to do OTA DFU.

Parents
  • Yes this is fully possible, make a DFU zip using only your application hex-file. For example by using:

    $ nrfutil pkg generate --application "your application name".hex --application-version-string "your application version" --hw-version 52 --sd-req "your softdevice version" --key "your key path"

    Where you will have to fill in the names and settings in quotations ("") by yourself. You can find the SoftDevice version using:

    $ nrfutil pkg generate --help

    As long as this application uses the same SoftDevice as your previous application, the DFU process should be successful.

Reply
  • Yes this is fully possible, make a DFU zip using only your application hex-file. For example by using:

    $ nrfutil pkg generate --application "your application name".hex --application-version-string "your application version" --hw-version 52 --sd-req "your softdevice version" --key "your key path"

    Where you will have to fill in the names and settings in quotations ("") by yourself. You can find the SoftDevice version using:

    $ nrfutil pkg generate --help

    As long as this application uses the same SoftDevice as your previous application, the DFU process should be successful.

Children
Related