Maybe you want to look at MCUboot, which supports this out of the box and is integrated with Zephyr?
From: users@... <users@...> On Behalf Of Nikos Karamolegkos via lists.zephyrproject.org
Sent: 25 August 2020 15:52
Subject: [Zephyr-users] Flash two firmware in flash and jump from one address to another #flash #nrf52480
Hello, I am using nrf52840-dk module (this is not really important). I would like to write two different firmwares in my device in different addresses (slots). Lets say the first firmware is located at address 0x000 (slot 0) and the second
one is located at address 0x0000C000 (slot 1). How can I flash these two firmwares in these two different addresses and how can my application jump from the one address to the other (after reboot)?