nRF5340 OTA: App core reverted but Net core updated successfully – how to synchronize rollback?

Hi,

We are developing a product based on nRF5340(ncs 3.1.0) and using MCUboot for OTA updates of both app core and net core.

During an OTA update, the following issue occurred:

  • The net core firmware was updated successfully.

  • However, due to a watchdog reset or an unknown issue, the app core did not reach main() and therefore could not confirm the OTA update.

  • As a result, MCUboot reverted the app core firmware to the previous version.

  • The net core remained updated to the new version.

  • After reboot, BLE advertising did not work properly.

So we ended up with a mismatched state:

  • App core: reverted to the old firmware

  • Net core: running the new firmware

My questions are:

  1. Is there a recommended way to synchronize rollback between app core and net core on nRF5340?

  2. If the app core OTA fails and is reverted, is it possible to automatically revert the net core firmware as well?

  3. Are there any best practices or reference designs for handling partial OTA success on nRF5340?

Any guidance or references would be greatly appreciated.

Thank you in advance.

Related