<?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>Question about simulltaneous multi-image DFU over BLE on nRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102416/question-about-simulltaneous-multi-image-dfu-over-ble-on-nrf5340</link><description>Hi, I am trying to implement DFU over BLE for the app core and the net core for a product based on nRF5340. The usage scenario is that we&amp;#39;d have an application that runs on the app core and that would be able to update either the app core, the net core</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Jul 2023 20:00:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102416/question-about-simulltaneous-multi-image-dfu-over-ble-on-nrf5340" /><item><title>RE: Question about simulltaneous multi-image DFU over BLE on nRF5340</title><link>https://devzone.nordicsemi.com/thread/439132?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2023 20:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4a672a1-65ba-4ed8-a270-5b9f1174b4cb</guid><dc:creator>Bogdan Marinescu</dc:creator><description>&lt;p&gt;Apologies, it appears that I misunderstood how&amp;nbsp;&lt;span&gt;CONFIG_BOOT_UPGRADE_ONLY works. This ticket is invalid, so it can be closed.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about simulltaneous multi-image DFU over BLE on nRF5340</title><link>https://devzone.nordicsemi.com/thread/439045?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2023 13:41:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfc3b3d4-eb16-4364-ba7f-d8cbfe2f8bb0</guid><dc:creator>Bogdan Marinescu</dc:creator><description>&lt;p&gt;Some clarification about why I find this confusing: the linked that I posted above (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#simultaneous-multi-image-dfu"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#simultaneous-multi-image-dfu&lt;/a&gt;) states:&lt;/p&gt;
&lt;p&gt;To enable the simultaneous update of multiple images in the MCUboot, set the following options:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;
&lt;p&gt;&lt;code class="xref kconfig kconfig-option docutils literal notranslate"&gt;&lt;span class="pre"&gt;CONFIG_BOOT_UPGRADE_ONLY&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;- The simultaneous update of multiple images does not support network core image reversion, so you need to disable application image reversion.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;However,&lt;span&gt;CONFIG_BOOT_UPGRADE_ONLY&amp;nbsp;&lt;/span&gt;has this effect:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;config BOOT_UPGRADE_ONLY&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; bool &amp;quot;Overwrite image updates instead of swapping&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; help&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If y, overwrite the primary slot with the upgrade image instead&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; of swapping them. This prevents the fallback recovery, but&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; uses a much simpler code path.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;So, if CONFIG_BOOT_UPGRADE_ONLY is active, the new firmware image must be written to its primary slot, not its secondary slot, which means that I couldn&amp;#39;t possibly do a BLE update from an application that runs on the app core, since that&amp;#39;d effectively overwrite the firmware image on the app core where the application is currently running. I&amp;#39;m probably missing something, but I don&amp;#39;t know what.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>