<?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 Flash Endurance</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67449/nrf9160-flash-endurance</link><description>Hi, 
 I am aware that when the the modem is powered down with AT+CFUN=0, GPS data such as the ephemeris is saved to flash. What endurance does this flash have? How many times can we turn the GPS off before the flash reaches its limit? 
 I have the same</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Oct 2020 14:15:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67449/nrf9160-flash-endurance" /><item><title>RE: NRF9160 Flash Endurance</title><link>https://devzone.nordicsemi.com/thread/276254?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 14:15:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20965f08-fb8d-4b92-9587-25058f6781ef</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Ok great, that&amp;rsquo;s good to know. Thanks Martin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Flash Endurance</title><link>https://devzone.nordicsemi.com/thread/276242?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 13:57:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c67a773-7082-42c9-b48f-d380eb5eac79</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Thomas,&amp;nbsp;&lt;br /&gt;That depends on how much parameters you may have changed.&lt;br /&gt;If you issue AT+CFUN=0 and the parameters you have set is the same that is already in the NVS it will not overwrite the Flash with the same data, so it will not use a &amp;quot;write cycle&amp;quot; for that.&lt;br /&gt;&lt;br /&gt;We guarantee the Flash endurance up to 10,000, but it could still work as intended after even if that is out of spec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Flash Endurance</title><link>https://devzone.nordicsemi.com/thread/276232?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 13:49:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49436700-95ee-4e48-81a7-d3eea7633e42</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Thanks Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To confirm, we only get 10,000 AT+CFUN=0s?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Flash Endurance</title><link>https://devzone.nordicsemi.com/thread/276218?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 13:21:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b6598a5-b39a-449b-85f6-54dd18623a89</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Thomas,&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0116.pastedimage1603286080291v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fabs_max_ratings.html&amp;amp;cp=2_0_0_11" rel="noopener noreferrer" target="_blank"&gt;Ref&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;So turning the GPS on/OFF should not &amp;quot;tear down&amp;quot; the Flash endurance. &lt;br /&gt;Only issuing the&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fcfun_set.html&amp;amp;resultof=%22%63%66%75%6e%3d%22%20%22%63%66%75%6e%22%20" rel="noopener noreferrer" target="_blank"&gt; AT+CFUN=0&lt;/a&gt;&amp;nbsp;&lt;br /&gt;-&lt;em&gt; When commanding the device to power off, wait for OK to make sure that&amp;nbsp;&lt;a title="Memory that can retrieve stored information even after having been power-cycled." href="https://infocenter.nordicsemi.com/topic/ref_at_commands/dita_common/glossary/glossary.html#nvm"&gt;&lt;dfn&gt;Non-volatile Memory (NVM)&lt;/dfn&gt;&lt;/a&gt;&amp;nbsp;has been updated.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So instead you can use AT+CFUN=4, which will not update the NVM.&amp;nbsp;&lt;br /&gt;However if your network has support for PSM and/or eDRX it is recommended to use that, to gain the power saving features from not needing to attach/de-attach to the network each time you are using the GPS, plus the speed benefit.&lt;/p&gt;
&lt;p&gt;When it comes to the second question, only after the AT+CFUN=0 will it store the settings you have set in the XBANDLOCK to the NVM.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Martin&amp;nbsp; L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>