<?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>How to calculate FLASH life by garbage collection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60073/how-to-calculate-flash-life-by-garbage-collection</link><description>SDK: 15.3.0 Device: EYSHJNZWZ (nRF52832) 
 I want to know the life of FLASH by garbage collection. Assume that garbage collection is performed only when &amp;quot;PM_EVT_STORAGE_FULL&amp;quot; occurs. Assume that no FLASH erasure is performed other than garbage collection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Apr 2020 09:36:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60073/how-to-calculate-flash-life-by-garbage-collection" /><item><title>RE: How to calculate FLASH life by garbage collection</title><link>https://devzone.nordicsemi.com/thread/244645?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 09:36:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3358176-5386-493d-9d9e-47971be7c335</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Takashina,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I explained in the other case, the page erase happens when the node has some invalidated records and it will be erased to be used as swap page. The swap page is rotated between pages.&amp;nbsp;&lt;br /&gt;So the more pages you&lt;span&gt;&amp;nbsp;&lt;/span&gt;use for FDS, the longer the Flash life can go because you will have less number of&amp;nbsp;&amp;nbsp;&lt;span&gt;PM_EVT_STORAGE_FULL event.&lt;/span&gt;&lt;br /&gt;The flash life is limited to 10000 write-erase cycle. And since each page with invalided record will be erased once on each GC. The life of the flash is limited to 10000 of GC calls (on average, if the page doesn&amp;#39;t have any invalided record it will not be erased)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>