MCU Boot DFU failure - NRF54l15

Hello Team,

We are working on nrf54l15 platform and using nrf connect SDK 3.0.2
We have added the support of DFU over BLE using following steps:

1. Added "CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y" in prj.conf file

2. Added "SB_CONFIG_BOOTLOADER_MCUBOOT=y" in sysbuild.conf file.

After adding above and using nrf connect mobile app, we have upgraded the image successfully.

But we are facing following errors or failure, we have done following steps.

1. Flashed image using nrf connect desktop.

2. Made few changes in the code and build, used the dfu zip file to upgrade using mobile app by selecting "Confirm only".

3. After DFU complete, device boots to correct image.

4. Again, made few changes in code and build, used the dfu zip file to upgrade using mobile app by selecting "Confirm only"

This time also, device boots to new image.

5. Again when tried to do DFU, device gets restarts and remains in last boot image, even after DFU completes.

Following debug print it shows: "mcuboot_util: Image index: 0, Swap type: perm"

No new image is booted, kindly provide any guidance for this issue.

Parents Reply
  • Hello,

    Please share the complete log (from the nRF side) here, use the Insert tab to paste the entire log.

    Stark_135 said:
    In the mobile side, image pending is seen.

    I was referring to the logs from the mobile app. If you are using nRF Connect, you can view the log by swiping left. Please share more details about the application you are using.

    Also, have you tested the sample I mentioned in my last response? Were you able to reproduce the same issue with that sample?

    Kind Regards,

    Abhijith

Children
No Data
Related