so you have FW update solved, using boot_request_upgrade(BOOT_UPGRADE_TEST), mcuboot swaps the data between slots and starts your new FW? And then you want to rollback?
Then I think you should check all the firmware functionality before you call boot_write_img_confirmed() after the swap, if you don't call it, mcuboot should rollback automaticaly after next reboot (if you called boot_request_upgrade with BOOT_UPGRADE_TEST). Or may be try to call boot_request_upgrade() again?
Dne 01.02.2022 v 9:29 Brenton Chetty napsal(a):
Hi Zephyr developers/users