<?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>Which external flash partition is used for a full modem update?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114822/which-external-flash-partition-is-used-for-a-full-modem-update</link><description>I am using SDK v2.5.0 on custom board. 
 The board has an external 4MB flash chip. 
 I am wondering though which paritition will be used for the update process, and how that would play with other partitions on the external flash. 
 
 Does the modem update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Nov 2024 14:07:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114822/which-external-flash-partition-is-used-for-a-full-modem-update" /><item><title>RE: Which external flash partition is used for a full modem update?</title><link>https://devzone.nordicsemi.com/thread/510716?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2024 14:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4b74787-7296-4b27-88a6-701875b7c426</guid><dc:creator>Hakon</dc:creator><description>[quote user="SODAQHW"]Is it the&amp;nbsp;&lt;strong&gt;external_flash&lt;/strong&gt; partition?[/quote]
&lt;p&gt;I believe &lt;strong&gt;external_flash&lt;/strong&gt; in this case is technically considered a region and not a partition. But yes, that is where it would be stored. You can check out any of the pm_static files in the asset tracker v2 application, to see how it is done.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which external flash partition is used for a full modem update?</title><link>https://devzone.nordicsemi.com/thread/509310?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 16:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81d8df1c-5798-4bb8-aeae-5abb1108017c</guid><dc:creator>SODAQHW</dc:creator><description>&lt;p&gt;I understand that the partition used for the update must be large enough to hold the update image.&lt;/p&gt;
&lt;p&gt;However, I need clarification as to which partition is used in order to understand whether it is possible to have additional partitions on the same flash chip (for things such as the secondary MCUBoot slot).&lt;/p&gt;
&lt;p&gt;Is it the&amp;nbsp;&lt;strong&gt;external_flash&lt;/strong&gt; partition?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which external flash partition is used for a full modem update?</title><link>https://devzone.nordicsemi.com/thread/509273?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 14:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1544ce42-5da8-40dc-b245-3ecc0a2c795c</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;It needs 4MBs. So yes, that all the flash on your board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which external flash partition is used for a full modem update?</title><link>https://devzone.nordicsemi.com/thread/508333?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 11:40:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e12e7c01-d0a1-4195-9859-688f36611e2d</guid><dc:creator>SODAQHW</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;Could you clarify whether it needs the whole physical flash device to be reserved or just the partition? The reason I ask is because of the secondary MCU Boot slot (&lt;strong&gt;mucboot_secondary&lt;/strong&gt;) is on the same flash device.&lt;/p&gt;
&lt;p&gt;If it is just the partition, is it correct to say that the update system uses the&amp;nbsp;&lt;strong&gt;external_flash&lt;/strong&gt; partition, but it will be descructive to any data which may already exist in that partition?&lt;/p&gt;
&lt;p&gt;Separately, I need to ensure that the&amp;nbsp;&lt;strong&gt;external_flash&lt;/strong&gt; partition is large enough for the full update data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which external flash partition is used for a full modem update?</title><link>https://devzone.nordicsemi.com/thread/508189?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 14:04:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da2105b1-a84e-4b59-abf8-1a0dfd8bdd6d</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;The firmware image is stored directly in the flash without the use of a file system.&lt;/p&gt;
[quote user="SODAQHW"] If so will it play nicely if other files exist in that partition (providing there is sufficient space remaining)?[/quote]
&lt;p&gt;No. There is no space for having a file system on the external flash while also using it for modem firmware update. You should reserve all space for the modem update.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/106163/firmware-update-of-nrf9160-through-uart"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/106163/firmware-update-of-nrf9160-through-uart&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which external flash partition is used for a full modem update?</title><link>https://devzone.nordicsemi.com/thread/504882?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 15:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05a5a0f0-3aa2-4d38-83cd-8eb1a98af064</guid><dc:creator>SODAQHW</dc:creator><description>&lt;p&gt;If I understand correctly, the&amp;nbsp;&lt;strong&gt;external_flash&lt;/strong&gt; partition will be used for the full firmware update, and I need to make sure that it is large enough to store the update files which are downloaded?&lt;/p&gt;
&lt;p&gt;Can you specify which file system is used? Is it LittleFS? If so will it play nicely if other files exist in that partition (providing there is sufficient space remaining)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which external flash partition is used for a full modem update?</title><link>https://devzone.nordicsemi.com/thread/504135?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2024 09:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d932040-430e-4250-8c54-4c580c06ddc0</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]The external_flash partition has been reduced to 1120KB which is too small for the update.&lt;br /&gt;I can however, remove the&amp;nbsp;&lt;strong&gt;ext_flash_partition&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;ext_flash_logs_partition&lt;/strong&gt; if required.[/quote]
&lt;p&gt;Yes, you should do that. The full modem update requires 4MB of available space, so you should free up all of that space for modem DFU.&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/pastedimage1727429033072v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>