MCUBOOT and bonding

Hi,

We have some problems with Zephyr MCUBOOT when doing FOTA over BLE.

Our device has characteristics protected with LESC.


When device is bonded, the update fails in one of the last stages.
Everything seems correct while doing FOTA. The image is uploaded and swapped (and the updated image even starts up and works).
But when we do a power cycle or reset device with HW pin, the image is reverted back to the old version.

When we do the same without bonding, everything works fine.

We use Android tablet with nRF Connect installed, and PCA10056 (nRF52840) with a modified Pheripheral lbs example.
The example is modified to have FOTA and the Nordic LED Button Service characteristics protected with LESC.

NCS is 2.6.0


Currently we can come around this by remove bonding before we update, but this is not too good for a customer to do.

Is there a configuration we have missed?

Regards, Jan

Parents Reply Children
No Data
Related