BLE Mesh NCS: Provisioned data lost after DFU

Hi all,

I am using NCS V2.5.0.

I have managed to get the nrf/samples/bluetooth/mesh/light_ctrl sample working with DFU enabled by applying the attached overlay-dfu.conf.

overlay-dfu.conf

I am able to perform a DFU, the application updates and works as expected. The issue I am facing is once my device was provisioned and I perform a DFU, the device starts up in an unprovisioned state. I have only made a small change to the application to be updated to, and the new application does not change any composition data.

Why is this and how can I resolve this issue?

Regards

Parents
  • Hi,

    I am very sorry for the delays.

    It turns out, if you do the DFU from the nRF Connect Device Manager app, the smartphone application will erase application data by default. You can enable this in the app, through the settings for Firmware Upgrade. Disable the "Erase application settings" checkbox, after which upgrades should preserve the provisioning data through the upgrade.

    Regards,
    Terje

Reply
  • Hi,

    I am very sorry for the delays.

    It turns out, if you do the DFU from the nRF Connect Device Manager app, the smartphone application will erase application data by default. You can enable this in the app, through the settings for Firmware Upgrade. Disable the "Erase application settings" checkbox, after which upgrades should preserve the provisioning data through the upgrade.

    Regards,
    Terje

Children
Related