<?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>firmware update of nrf9160 through UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106163/firmware-update-of-nrf9160-through-uart</link><description>Hi, 
 In the link ( https://infocenter.nordicsemi.com/topic/nwp_037/WP/nwp_037/external_flash.html) it mentions that nrf9160 need minimum 4 MB external memory for firmware upgrade. 
 But the modem firmware &amp;quot;mfw_nrf9160_1.3.4.zip&amp;quot; is of size 5831KB~ (6MB</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Nov 2023 09:48:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106163/firmware-update-of-nrf9160-through-uart" /><item><title>RE: firmware update of nrf9160 through UART</title><link>https://devzone.nordicsemi.com/thread/458248?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 09:48:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd687785-7841-432f-85c1-8112741fe325</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="Amol_Chor"]could you please confirm, what will be the maximum file size (.cbor) so that I can connect external memory accordingly?[/quote]
&lt;p&gt;As the documentation states, you should reserve 4MB for full modem updates over the air.&lt;/p&gt;
&lt;p&gt;It is also possible to update the modem over UART. In that case, you don&amp;#39;t need an external flash, as long as the external host is able to hold the entire modem update.&lt;/p&gt;
&lt;p&gt;See this sample for more details: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/cellular/fmfu_smp_svr/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/cellular/fmfu_smp_svr/README.html&lt;/a&gt;&lt;/p&gt;
[quote user="Amol_Chor"]also I have one question regarding application update (&lt;strong&gt;serial lte modem application&lt;/strong&gt;) in this case the application bin file will going to write in external memory then update or directly it will store in internal memory?[/quote]
&lt;p&gt;This depends on how you set up your flash partitions. The new image will be written to the MCUBoot secondary slot. This partition might be in the internal flash, or it can be in external flash.&lt;/p&gt;
&lt;p&gt;For more details on how to use MCUBoot with the secondary slot in external flash, see here: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/bootloaders_and_dfu/bootloader_external_flash.html#ug-bootloader-external-flash"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/bootloaders_and_dfu/bootloader_external_flash.html#ug-bootloader-external-flash&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: firmware update of nrf9160 through UART</title><link>https://devzone.nordicsemi.com/thread/458033?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 10:15:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc32bd35-5631-43ae-805d-ddb01ff0b494</guid><dc:creator>Amol_Chor</dc:creator><description>&lt;p&gt;Thanks you for your reply !!&lt;/p&gt;
&lt;p&gt;I can see in the latest firmware zip there is 2001KB of .cbor file.&lt;/p&gt;
&lt;p&gt;could you please confirm, what will be the maximum file size (.cbor) so that I can connect external memory accordingly?&lt;/p&gt;
&lt;p&gt;also I have one question regarding application update (&lt;strong&gt;serial lte modem application&lt;/strong&gt;) in this case the application bin file will going to write in external memory then update or directly it will store in internal memory?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: firmware update of nrf9160 through UART</title><link>https://devzone.nordicsemi.com/thread/458021?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 09:23:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ef0031f-f494-42da-8bb1-e305474fbd65</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As the whitepaper says, that requirement is for full modem upgrades. If you follow the &amp;quot;DFU target full modem update&amp;quot; link, you will see that you shall use the .cbor file (inside the mfw .zip) for full modem updates, not the whole zip folder.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>