nrf54l15: Applicability of mcuboot DIRECT_XIP mode

We have a board designed with nrf54l15 and we plan to use the RRAM to store the image.  That is, no external flash to store images.

For this design, is it possible to use DIRECT_XIP mode for mcuboot ?  The default/recommended method seems to be SWAP and MOVE.  But there are concerns around reliability due to additional flash operations ( like device running out of power during move , although mcuboot seems to handle it well ) . 

Just want to first understand if DIRECT_XIP is feasible in the first place ? 

Does the provided development environment support generating images for slot 0 and slot 1 with different load addresses ?

Parents Reply
  • The TF-M image is merged with the application image and uploaded together, so it will not work with direct-xip, unfortunately. 

    EDIT: Technically it may work to combine tf-m with the direct-xip mode, but I do not see any tests or samples that covers this configuration. A potential issue may be if the TF-M image will be able to correctly configure the secure and non-secure memory regions also when executing from the secondary slot.

Children
Related