<?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>nRF5340 + nRF7002 multi-image HTTPS FOTA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122242/nrf5340-nrf7002-multi-image-https-fota</link><description>We have been evaluating the nRF5340 and nRF7002 for use in a new product and we are currently looking at our Wi-Fi FOTA options. For reference, we are using an nRF7002 DK with NCS v3.0.0. We are using MCUboot and we have the secondary partitions for the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Jun 2025 17:27:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122242/nrf5340-nrf7002-multi-image-https-fota" /><item><title>RE: nRF5340 + nRF7002 multi-image HTTPS FOTA</title><link>https://devzone.nordicsemi.com/thread/539435?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 17:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ef43348-f836-48af-b6fc-ab55bf97bc7e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="blisowski"]Since the FOTA Download library hasn&amp;#39;t been tested with multi-image updates, is there anything that might be problematic in this regard?[/quote]
&lt;p&gt;This is hard to pin-point, as the library is not fully tested in this way, but there should not be much issues as long as you filter out correctly based on the image number. In general, I would recommend testing&amp;nbsp;generic DFU/OTA&amp;nbsp;functions extensively to verify that all image types boot successfully.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One library that one of the devs made me aware of is this:&lt;/p&gt;
&lt;p&gt;You could have a look at the dfu multi-image library, enabled via&amp;nbsp;CONFIG_DFU_MULTI_IMAGE, which should address the scenario that you&amp;#39;re looking at:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/dfu/dfu_multi_image.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/dfu/dfu_multi_image.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Zigbee used this in v2.9.x:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.9-branch/subsys/zigbee/lib/zigbee_fota/src/dfu_multi_target.c"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.9-branch/subsys/zigbee/lib/zigbee_fota/src/dfu_multi_target.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And Matter uses this library as well for&amp;nbsp;OTA image handling.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 + nRF7002 multi-image HTTPS FOTA</title><link>https://devzone.nordicsemi.com/thread/539238?ContentTypeID=1</link><pubDate>Fri, 13 Jun 2025 15:24:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a484ff1-ba98-4b68-9657-2542fba7a310</guid><dc:creator>blisowski</dc:creator><description>&lt;p&gt;Correct, and I modified the fota_download function to accept an image number as an argument.&lt;br /&gt;&lt;br /&gt;Since the FOTA Download library hasn&amp;#39;t been tested with multi-image updates, is there anything that might be problematic in this regard? If I download all 3 images before restarting, I can see MCUboot swapping all three images before starting the main application. Am I safe to assume that this is working as a simultaneous multi-image update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 + nRF7002 multi-image HTTPS FOTA</title><link>https://devzone.nordicsemi.com/thread/539223?ContentTypeID=1</link><pubDate>Fri, 13 Jun 2025 14:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:486bde48-dd9e-4538-8666-cd01be466f50</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suspect it is these two calls that are hard-coded to &amp;#39;0&amp;#39; on the&amp;nbsp;img_num that is problematic?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v3.0.2/subsys/net/lib/fota_download/src/fota_download.c#L183"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v3.0.2/subsys/net/lib/fota_download/src/fota_download.c#L183&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v3.0.2/subsys/net/lib/fota_download/src/fota_download.c#L219"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v3.0.2/subsys/net/lib/fota_download/src/fota_download.c#L219&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The historical reason is that this library was originally made for the nRF91-series devices, and unfortunately; we have not expanded on the library in terms of the image number, to match chips such as the nRF5340. I will report this internally as a feature request.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>