<?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>Updating App + Net Core via Wi-Fi (HTTP) FOTA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123192/updating-app-net-core-via-wi-fi-http-fota</link><description>Hello, I’m working with a custom board using nRF7002 + nRF5340 + MX25R64 (SPI4) , and I’m trying to perform firmware updates over Wi-Fi using a firmware file hosted on an HTTP server. 
 During the build process, I confirmed that: 
 
 
 The output includes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Aug 2025 07:18:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123192/updating-app-net-core-via-wi-fi-http-fota" /><item><title>RE: Updating App + Net Core via Wi-Fi (HTTP) FOTA</title><link>https://devzone.nordicsemi.com/thread/545869?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 07:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da7895b7-07f1-4aeb-b691-930acc570f39</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sorry for the delayed response. Have you been able to make any progress on this in the meantime? The image number is not specified in the image itself, but is part of the SMP command. The error indicates that dfu_target_img_type() returns DFU_TARGET_IMAGE_TYPE_NONE instead of DFU_TARGET_IMAGE_TYPE_MCUBOOT when called from downloader_callback(). The question is why. The binary dump shows that the first four bytes contain the correct MCUBOOT_HEADER_MAGIC value, which is used to identify whether it is a mcuboot image.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1755501349691v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating App + Net Core via Wi-Fi (HTTP) FOTA</title><link>https://devzone.nordicsemi.com/thread/545180?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 11:12:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11eb8693-12da-44d7-a993-015574e0db3b</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Vidar and a few other key persons are out of office this week, we will look into your question next week when they are back.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating App + Net Core via Wi-Fi (HTTP) FOTA</title><link>https://devzone.nordicsemi.com/thread/544797?ContentTypeID=1</link><pubDate>Wed, 06 Aug 2025 13:48:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2f56d90-781f-44e0-930f-63b26225b580</guid><dc:creator>ozoz05</dc:creator><description>&lt;p data-start="0" data-end="243"&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1754488047859v1.png" /&gt;&lt;/p&gt;
&lt;p data-start="0" data-end="243"&gt;Based on the attached log, the app core (image 0) downloads successfully.&lt;br data-start="73" data-end="76" /&gt; When the net core (image 1) download starts, it immediately throws an error.&lt;br data-start="152" data-end="155" /&gt; I suspect the net-core firmware (.bin) was not built with its &lt;strong data-start="217" data-end="242"&gt;image number set to 1&lt;/strong&gt;.&lt;/p&gt;
&lt;p data-start="245" data-end="301"&gt;How can I generate the net-core firmware file correctly?&lt;/p&gt;
&lt;p data-start="303" data-end="418"&gt;When I open the net-core firmware in a hex editor, should the byte at the position shown in the screenshot be &lt;code data-start="413" data-end="417"&gt;01&lt;/code&gt;?&lt;/p&gt;
&lt;p data-start="303" data-end="418"&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1754488116767v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating App + Net Core via Wi-Fi (HTTP) FOTA</title><link>https://devzone.nordicsemi.com/thread/543744?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2025 12:52:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5700e906-492a-4f79-9b9c-fd83fab96009</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sorry, I realize now that the FOTA library does not support multiple mcuboot type FW images out of the box (&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/122242/nrf5340-nrf7002-multi-image-https-fota"&gt;nRF5340 + nRF7002 multi-image HTTPS FOTA&lt;/a&gt;&amp;nbsp;) as it was initially designed with the nRF91 series in mind. Please have a look at the linked thread and see if that helps answer your question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating App + Net Core via Wi-Fi (HTTP) FOTA</title><link>https://devzone.nordicsemi.com/thread/543572?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2025 00:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:298ac2ad-cb37-48a4-a621-369cf451fc70</guid><dc:creator>ozoz05</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;I&amp;#39;m currently reviewing the page you provided, but is there perhaps an example or more detailed information about additional configuration?&lt;br data-start="139" data-end="142" /&gt; I think I&amp;#39;ve completed all the settings, but currently, only the app core is being downloaded, while the net core isn&amp;#39;t downloading.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;int&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;ret&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;fota_download_start&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;host&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;file&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;SEC_TAG&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;if&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;ret&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;!=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;LOG_ERR&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;fota_download_start() failed: &lt;/span&gt;&lt;span&gt;%d&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;ret&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;goto&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;fota_error&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;return&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;span&gt;&lt;span&gt; // 성공&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;///////////////&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p data-start="0" data-end="132"&gt;I ran &lt;code data-start="6" data-end="27"&gt;fota_download_start&lt;/code&gt; explicitly only for the app core. Do I also need to explicitly run it again for the net core separately?&lt;/p&gt;
&lt;p data-start="134" data-end="146"&gt;For example:&lt;/p&gt;
&lt;p data-start="148" data-end="180"&gt;&lt;strong data-start="148" data-end="180"&gt;Option 1 (single execution):&lt;/strong&gt;&lt;/p&gt;
&lt;p data-start="148" data-end="180"&gt;&lt;strong data-start="148" data-end="180"&gt;fota_download_start(app_core_url, file, SEC_TAG, 0, 0); // After app core downloads, net core is automatically downloaded from the same path.&lt;br /&gt;&lt;br /&gt;Option 2 (separate executions):&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;ret = fota_download_start(app_core_url, file, SEC_TAG, 0, 0);&lt;br /&gt;if (ret) {&lt;br /&gt; LOG_ERR(&amp;quot;App core download failed&amp;quot;);&lt;br /&gt; return;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;ret = fota_download_start(net_core_url, file, SEC_TAG, 0, 0);&lt;br /&gt;if (ret) {&lt;br /&gt; LOG_ERR(&amp;quot;Net core download failed&amp;quot;);&lt;br /&gt; return;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I use Option 2, does &lt;code data-start="660" data-end="672"&gt;sys_reboot&lt;/code&gt; in &lt;code data-start="676" data-end="704"&gt;FOTA_DOWNLOAD_EVT_FINISHED&lt;/code&gt; within &lt;code data-start="712" data-end="729"&gt;fota_dl_handler&lt;/code&gt; occur only after both &lt;code data-start="752" data-end="773"&gt;fota_download_start&lt;/code&gt; calls have completed?&lt;/p&gt;
&lt;p data-start="148" data-end="180"&gt;&lt;strong data-start="148" data-end="180"&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating App + Net Core via Wi-Fi (HTTP) FOTA</title><link>https://devzone.nordicsemi.com/thread/543433?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 07:45:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d39adad-0274-47ea-bbb3-634c68f88295</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, you should download the app and netcore .bin files separately. However, you can stage both updates before activating them if your project is set up to support simultaneous&amp;nbsp;multi-image DFU (&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/dfu-for-the-nrf5340/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/dfu-for-the-nrf5340/&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating App + Net Core via Wi-Fi (HTTP) FOTA</title><link>https://devzone.nordicsemi.com/thread/543364?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 13:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36e2b696-fdf1-4ed0-ab62-59ae7303dc71</guid><dc:creator>ozoz05</dc:creator><description>&lt;p&gt;Then, do I have to code to extract the zip file downloaded to Fota as bin?&lt;br /&gt;Or do I have to get the files I downloaded, app core, and net core, respectively, bin files?&lt;br /&gt;The Nordic document says that for nrf5340 it is better to update the app core and net core at the same time,&lt;br /&gt;Then, if I upload the file with app+net merged, does it work all at once??&lt;br /&gt;If the last method is correct, please tell me how to merge.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating App + Net Core via Wi-Fi (HTTP) FOTA</title><link>https://devzone.nordicsemi.com/thread/543340?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 11:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0db6e002-04f0-4d0e-8dff-a80dd457ba6f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;The zip file is created to make&amp;nbsp;FW distribution easier on the client side. However, you must always extract the binaries (*.bin) from the zip file before transferring them to the target, as the chip does not support unzipping zip files.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>