<?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>FOTA update HTTP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95174/fota-update-http</link><description>Hello, 
 I am trying to load an application update from a server into external flash, the download itself is working but mcuboot is not: 
 
 I need to use the external flash because the application is already too big to fit into the internal one (with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Dec 2022 09:14:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95174/fota-update-http" /><item><title>RE: FOTA update HTTP</title><link>https://devzone.nordicsemi.com/thread/402378?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2022 09:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10cd98e6-aa13-4c7c-bb4f-582b2fa89646</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Bernhard"]File size of &lt;em&gt;&lt;strong&gt;app_update.bin&lt;/strong&gt;&lt;/em&gt; (size of the application in flash)[/quote]
&lt;p&gt;When you try to update, do use code similar to the application_update code?&lt;/p&gt;
[quote user="Bernhard"]Generally I did not change the partitions since the default configuration &lt;em&gt;&lt;strong&gt;$BUILD_DIR/partitions.yml&lt;/strong&gt;&lt;/em&gt; seems to be correct, I have also added that file as &lt;em&gt;&lt;strong&gt;pm_static.yml&lt;/strong&gt;&lt;/em&gt; as described in your linked article (which makes no difference for my actual problem).[/quote]
&lt;p&gt;Just to be sure:&lt;br /&gt;You use the same pm_static.yml in both th&lt;strong&gt;&lt;/strong&gt;e old and the new application, right?&lt;/p&gt;
&lt;p&gt;For external flash with the nRF9160DK, you need to enable it from the nRF52840 on the DK.&lt;br /&gt;Have you done this?&lt;br /&gt;See my colleague&amp;#39;s example on &lt;a href="https://github.com/simon-iversen/sdk-nrf/tree/d1a11f2c39e3b8fb0af7652e7e720626f0e1298e/samples/nrf9160/http_update/application_update"&gt;nRF9160: HTTP application update using the nRF9160DK&amp;#39;s external flash&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Does this help?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA update HTTP</title><link>https://devzone.nordicsemi.com/thread/402331?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2022 21:46:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fb7fb4e-fab6-4fc1-a141-c58a31b2e255</guid><dc:creator>Bernhard</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/95174/fota-update-http/402310"]File size of what?[/quote]
&lt;p&gt;File size of &lt;em&gt;&lt;strong&gt;app_update.bin&lt;/strong&gt;&lt;/em&gt; (size of the application in flash)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/95174/fota-update-http/402310"]How did you configure your configurations when trying to change this?[/quote]
&lt;p&gt;Generally I did not change the partitions since the default configuration &lt;em&gt;&lt;strong&gt;$BUILD_DIR/partitions.yml&lt;/strong&gt;&lt;/em&gt; seems to be correct, I have also added that file as &lt;em&gt;&lt;strong&gt;pm_static.yml&lt;/strong&gt;&lt;/em&gt; as described in your linked article (which makes no difference for my actual problem).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA update HTTP</title><link>https://devzone.nordicsemi.com/thread/402310?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2022 14:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f89cf367-cec9-4123-a617-a27c97cd895b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Happy holidays to you too!&lt;/p&gt;
[quote user=""]I have also tryd to use the &lt;strong&gt;&lt;em&gt;application_update&lt;/em&gt;&lt;/strong&gt; example without any modifications, but due to the filesize it is not working:[/quote]
&lt;p&gt;File size of what?&lt;/p&gt;
[quote user=""]My main suspicion is that the partitions are not configured correctly,[/quote]
&lt;p&gt;How did you configure your configurations when trying to change this?&lt;/p&gt;
&lt;p&gt;Generally this is done either setting Kconfig options in prj.conf or using &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#static-configuration"&gt;pm_static.yml&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>