Trying to use XIP FOTA updates with nrf connect sdk and nrf52832 to get the extra flash sector (4KB) in space.
Starting with the smp_srv sample, adding bt fragment, and
CONFIG_BOOT_DIRECT_XIP_REVERT=y
CONFIG_BOOT_DIRECT_XIP=y
to mcuboot.conf I find that after flashing the fw it just crashes with
*** Booting Zephyr OS build v3.2.99-ncs1 ***
I: Starting Direct-XIP bootloader
I: Primary slot: version=0.0.1+33
I: Secondary slot: version=0.0.1+33
I: No slot to load for image 0
E: Unable to find bootable image
Is that expected and what's the recommended way to avoid it?
Is there some guide on how to do direct-XIP updates in practice?