<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrf54l15: Applicability of mcuboot DIRECT_XIP mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127248/nrf54l15-applicability-of-mcuboot-direct_xip-mode</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Mar 2026 02:10:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127248/nrf54l15-applicability-of-mcuboot-direct_xip-mode" /><item><title>RE: nrf54l15: Applicability of mcuboot DIRECT_XIP mode</title><link>https://devzone.nordicsemi.com/thread/562694?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2026 02:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72532345-0a9b-4eec-ad22-eb69b13bb0a0</guid><dc:creator>Ramakrishnan</dc:creator><description>&lt;p&gt;Okay,&amp;nbsp; Thanks Vidar.&amp;nbsp; Appreciate you diligently responding to all the questions.&amp;nbsp; It helped me to understand how things are today...&amp;nbsp; Will do some experimentation and get back if I have any more questions.&lt;/p&gt;
&lt;p&gt;You can close the ticket if you would like to. I&amp;#39;m good for now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54l15: Applicability of mcuboot DIRECT_XIP mode</title><link>https://devzone.nordicsemi.com/thread/562605?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2026 06:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5152c06-c816-4897-b028-aec21688e3e1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I made an edit to my earlier comment where I said it was not possible to use TF-M with direct-xip. Initially I forgot that the secure and non-secure memory split does not necessarily have to be static since it is controlled by the TF-M image, but I still doubt that it will work out of the box.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54l15: Applicability of mcuboot DIRECT_XIP mode</title><link>https://devzone.nordicsemi.com/thread/562553?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2026 13:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cafd2ca1-da41-440e-ae37-76a866256060</guid><dc:creator>Ramakrishnan</dc:creator><description>&lt;p&gt;Ok, great. Thx&lt;/p&gt;
&lt;p&gt;So, if I&amp;#39;m okay with tf-m + application getting upgraded through OTA and keep only mcuboot as non-upgradeable, then direct-xip&amp;nbsp;is equally possible like swap-move ? or there is something else that prevents&amp;nbsp; from using direct-xip?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54l15: Applicability of mcuboot DIRECT_XIP mode</title><link>https://devzone.nordicsemi.com/thread/562551?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2026 13:26:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b3bed26-1d1f-4262-a0bd-d2d7e89702ee</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;zephyr.elf is the application only. The signed binary includes both images. Yes, this applies to swap move too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54l15: Applicability of mcuboot DIRECT_XIP mode</title><link>https://devzone.nordicsemi.com/thread/562513?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2026 07:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e667a725-6e23-412f-a005-f6ff619137fe</guid><dc:creator>Ramakrishnan</dc:creator><description>&lt;p&gt;Ok.&amp;nbsp; Thanks for that clarification.&lt;/p&gt;
&lt;p&gt;Just so that I understand this clearly, are you saying that we can&amp;#39;t upgrade the non-secure application alone without touching the tf-m that&amp;#39;s already flashed . Because, the zephyr.signed.bin that gets generated when i build with cpuapp/ns includes the tf-m image as well ?&amp;nbsp;When I disassemble zephyr.elf I don&amp;#39;t see a lot of tf-m code, may be it gets pulled in only when zephyr.signed.bin is created ?&lt;/p&gt;
&lt;p&gt;Regardless, if tf-m needs to be part of the image that will be used for OTA,&amp;nbsp;it would apply for swap-move also , isn&amp;#39;t it ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54l15: Applicability of mcuboot DIRECT_XIP mode</title><link>https://devzone.nordicsemi.com/thread/562501?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2026 06:20:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:085f5a1b-efc6-4582-a830-3a2f68232dd3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The TF-M image is merged with the application image and uploaded together&lt;span style="text-decoration:line-through;"&gt;, so it will not work with direct-xip, unfortunately.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;EDIT: Technically it may work to combine tf-m with the direct-xip mode,&amp;nbsp;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54l15: Applicability of mcuboot DIRECT_XIP mode</title><link>https://devzone.nordicsemi.com/thread/562492?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2026 01:48:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45d78fc5-a5fd-47ce-8041-355f55e0e616</guid><dc:creator>Ramakrishnan</dc:creator><description>&lt;p&gt;Thanks Vidar for the prompt response.&amp;nbsp; I went through the sample, will give it a try.&amp;nbsp; For resilience, the swap-move seem to handle it well.&amp;nbsp; For now, we will try out both options for feasibility and then take a call.&lt;/p&gt;
&lt;p&gt;A follow up question, We plan to keep mcuboot and tf-m as secure and non-upgradeable with 2 banks for application which will be non-secure and upgradeable. I presume we will be able to do this ( DIRECT_XIP ) even when running the application non-secure ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54l15: Applicability of mcuboot DIRECT_XIP mode</title><link>https://devzone.nordicsemi.com/thread/562401?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2026 09:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb1f5c02-495d-4388-811e-069cb0057266</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes, direct-xip is supported and is demonstrated by this sample here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/zephyr/smp_svr_mini_boot/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/zephyr/smp_svr_mini_boot/README.html&lt;/a&gt;. The main reason for considering direct-xip is generally to reduce the FW activation time, not to make it more resilient against unexpected resets. The swap algorithm is designed to be resilient against that. It&amp;nbsp;may still be a good idea to check the battery level before allowing DFU to be initiated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>