<?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>52840 DFU mcuboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123299/52840-dfu-mcuboot</link><description>hi，all 
 Chip: nrf52840 
 SDK: NCS 2.9.0 
 We are currently developing an integrated factory testing function using mcuBoot&amp;#39;s DFU. We want to make slot 0 the default for factory testing-related applications and slot 1 for manually signed final applications</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Jul 2025 08:42:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123299/52840-dfu-mcuboot" /><item><title>RE: 52840 DFU mcuboot</title><link>https://devzone.nordicsemi.com/thread/543891?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2025 08:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:500b241f-1ed3-4dc1-9b32-f44886f21f69</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;MCUBoot itself supports DirectXIP mode, where an application can run from any of the slots. This requiers the application to be built for that slot though, or position independent applications. It is not supported in the nRF Connect SDK, but if it is needed, you should be able to get it to work with some adjustments. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107916/matter-lamp-example-fails-build-with-config_mcuboot_bootloader_mode_direct_xip"&gt;this thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 DFU mcuboot</title><link>https://devzone.nordicsemi.com/thread/543844?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2025 01:54:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a10bfd54-ebdf-4572-b67d-7b9463abaa0a</guid><dc:creator>Clever Huang</dc:creator><description>&lt;p&gt;hi，Einar&lt;/p&gt;
&lt;p&gt;thanks for your reply.&lt;/p&gt;
&lt;p&gt;Since the installation structure cannot be programmed using swd, we conducted wireless testing before proceeding to formal application.&lt;br /&gt;I would like to confirm whether the dfu based on mcuBoot requires an swap operation.&lt;/p&gt;
&lt;p&gt;In other words, can the application only start execution from slot 0, and cannot be specified to run directly from slot 1?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 DFU mcuboot</title><link>https://devzone.nordicsemi.com/thread/543769?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2025 13:50:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c8b02ef-c6e6-40a9-ac56-7849c64f9149</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The time it takes to swap the images depend on the size of the images, but for large images it is possible to see 40 seconds as you do. I do not have a good way around this. However, I wonder if you can tackle it at a system level? Can you do the testing while SWD is still connected, and then program the application firmware via SWD after testing but before disconnecting the programmer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>