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

mesh DFU: Is it possible to perform a bootloader and application update within the same mesh DFU transaction?

I've been doing some development on the nRF Mesh platform for the nRF52832 chipset and I'm relying on the Mesh DFU protocol to update my deployed units. Recently I've been thinking about making some changes to the interface between the mesh bootloader and the application. When I update my units that are already deployed, I would like to update both the bootloader and the application together because this removes any danger of different versions of bootloaders and applications interacting together in incompatible ways.

In the Mesh DFU protocol documentation (infocenter.nordicsemi.com/.../md_doc_libraries_dfu_dfu_protocol.html) I noticed that it says each portion needs to be updated separately:

As part of each transfer mode, the Mesh DFU protocol is using three different transfer types (packages):

  • SoftDevice
  • bootloader
  • application

Each of these three firmware pieces must be transferred separately, and each has its own identifier. Each has also its own area in the memory map.

 

Is there a way for me to update multiple pieces together (e.g. application and bootloader get updated together)? If so, how do I go about achieving it?

Parents Reply Children
  • Hi.

    If you are updating the SD to a versjon that doesn't support the existing application you need to expect some downtime. If the application doesn't support the SD, the application will be invalidated when the BL/SD is transferred and flashed.

    However, this usually only applies to major ID versjon changes of the SD. If you are updating the SD from one minor ID to another minor ID, the application should support the new SD.
    If you only update the Application, you also need to expect a little bit of downtime when the application is transferred and gets flashed on the device. This would not be in the same range as the downtime updating the BL/SD.

    Let me know if you need any more specific information.

    Regards,
    Joakim Jakobsen.

Related