<?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>nRF HTTP FOTA download library and dependent updates</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115285/nrf-http-fota-download-library-and-dependent-updates</link><description>While testing nRF FOTA download library we noticed that it supports only one image update at a time (download image, then reboot). 
 Irrespective of the image (either application or second stage bootloader or network core), it is downloaded to the SECONDARY</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Oct 2024 11:00:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115285/nrf-http-fota-download-library-and-dependent-updates" /><item><title>RE: nRF HTTP FOTA download library and dependent updates</title><link>https://devzone.nordicsemi.com/thread/505526?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 11:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48e73c12-a59a-4a30-96c4-8fc363973c91</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ligo,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What I meant was to follow what we did in smp library to modify the Fota download library.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not 100% sure but as far as I can see the DFU Target library already support multiple images download. You may just need to select correct img_num when you upload the&amp;nbsp;second image.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You would need to make sure you have configured MCUBoot correctly so that it has the secondary_1 slot for receiving the netcore image. The DFU Target will copy the image to that location and then the MCUBoot and B0n (bootloader on the netcore) will take care of swapping the netcore image from there.&amp;nbsp;&lt;br /&gt;My suggestion is to get familiar with normal BLE FOTA update of netcore and app core &lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;sample &lt;/a&gt;before you apply that to your HTTP FOTA application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF FOTA download library and dependent updates</title><link>https://devzone.nordicsemi.com/thread/505411?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 15:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e786f8a5-2f50-4e0e-ac0c-a9382450b2d8</guid><dc:creator>Ligo George</dc:creator><description>&lt;p&gt;Our requirement needs image download via HTTPS, so I think we cannot use SMP library as it is over BLE.&lt;/p&gt;
&lt;p&gt;Are there any plans to support this in future ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF FOTA download library and dependent updates</title><link>https://devzone.nordicsemi.com/thread/505409?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 15:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1330f4e-8f13-4035-ada6-2e582f7c24a2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ligo,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Yeah you are right. it seems the FOTA download library doesn&amp;#39;t offer multi images update. img_num is hardcoded to 0.&amp;nbsp;&lt;br /&gt;I couldn&amp;#39;t find an example using the DFU Target to update netcore and app core.&lt;/p&gt;
&lt;p&gt;You may want to take a look at the smp library. We do support simultaneously update netcore and app core via smp.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Sample code can be found here:&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340#non-simultaneous-update"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340#non-simultaneous-update&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF FOTA download library and dependent updates</title><link>https://devzone.nordicsemi.com/thread/505235?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 16:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:751dbbda-ade8-4cb4-82bc-6b23082b18a4</guid><dc:creator>Ligo George</dc:creator><description>&lt;p&gt;I was taking about nRF HTTP FOTA download library,&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/fota_download.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/fota_download.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It looks like it doesn&amp;#39;t support multi image update ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF FOTA download library and dependent updates</title><link>https://devzone.nordicsemi.com/thread/505192?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 13:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64ea5a14-4e59-4b12-b560-b87992b521a6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ligo,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can read about simultaneous multi image DFU update for the nRF53 in the documentation here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf53/simultaneous_multi_image_dfu_nrf5340.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf53/simultaneous_multi_image_dfu_nrf5340.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We have an Academy course that cover that here:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/dfu-for-the-nrf5340/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/dfu-for-the-nrf5340/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At step 9 in Exersice 3 you can find that you should use&amp;nbsp;&lt;code&gt;dfu_application.zip&lt;/code&gt;&lt;span&gt;&amp;nbsp; to send the image instead of app_update.bin. The dfu_application.zip contains both the app core and the netcore image.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I assume you are studying the nRF FOTA library on the phone ? The library should be able to detect the .zip file automatically and will send the images accordingly.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>