<?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>nRF9160 running out of flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81112/nrf9160-running-out-of-flash</link><description>Hi, 
 We are close to running out of flash on the nRF9160 (with MCUboot enable) and we still have functionality to implement for our product. There are two possible options we have thought of: 
 
 Reducing the size of the secure parititions and increasing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Oct 2021 12:23:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81112/nrf9160-running-out-of-flash" /><item><title>RE: nRF9160 running out of flash</title><link>https://devzone.nordicsemi.com/thread/336202?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 12:23:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94f15419-c6a8-467a-89d7-67ffbe6d75f5</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;One thing you could do is to use an external flash (SPI) to save app slot 2 there, and then, after DFU is finished, you can erase slot 1 on the internal flash, and write what is on the external flash (slot 2), to slot 1.&lt;/p&gt;
&lt;p&gt;Depending on which nRFConnect SDK (NCS) version you&amp;#39;re using, there have been some flash optimization done in modemlib in the latest NCS versions, so if you upgrade to I.E. v1.7.0, there should be more flash available for the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Lastly, my colleague Håkon made an external flash DFU example for NCS v1.7.0 just last week. Please check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80836/extend-flash-size-of-nrf9160---single-slot-application"&gt;this case&lt;/a&gt; for more information on that.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>