<?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>nRF52: Write/erase flash cycles confusion</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15408/nrf52-write-erase-flash-cycles-confusion</link><description>Hi, 
 I have a small question regarding flash write/erase cycles and I was unable to find a clear answer. 
 I can see in NRF52 specs: 
 
 Flash write/erase cycles: 10 000. 
 Amount of writes allowed in a block between erase: 181 
 
 I would like</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Aug 2016 14:18:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15408/nrf52-write-erase-flash-cycles-confusion" /><item><title>RE: nRF52: Write/erase flash cycles confusion</title><link>https://devzone.nordicsemi.com/thread/58824?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 14:18:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e88b74bd-0a87-4b83-b5b6-2e4ec84c4bf8</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;According to &lt;a href="https://devzone.nordicsemi.com/question/91122/flash-endurance-on-nrf52/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; your answer is not correct...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52: Write/erase flash cycles confusion</title><link>https://devzone.nordicsemi.com/thread/58823?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 13:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53cbe346-af00-4903-a372-bedcebb2ab8e</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;I do not understand your answer. The write is by 4B. The smallest block that can be erased has 0x200 B. So in order to fill it after erase you would need erase + 128 times write. I&amp;#39;m quite sure that these 128 times of write won&amp;#39;t count as 128 &amp;quot;endurance cycles&amp;quot;. To my understanding erase + 128 times write is one endurance cycle. The question is how it is counted when you write to same word. In datasheet nRF52832_PS_v1.1 is written that Amount of writes allowed in a block between erase is up to 181. So I assume one endurance cycle is even more -&amp;gt; 1 erase + 181 writes. And of course you can not write more times without erase. As I understand if you write more you risk that some of &amp;quot;1&amp;quot; that you did not try to clear can be cleared unintentionally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52: Write/erase flash cycles confusion</title><link>https://devzone.nordicsemi.com/thread/58822?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2016 08:06:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43ddf68c-2d7d-4bb0-ace7-2e03b19c3e04</guid><dc:creator>ThierryQ</dc:creator><description>&lt;p&gt;Got it, thank you for your reply.&lt;/p&gt;
&lt;p&gt;So regarding my scenario, I will consume 2 cycles in worst case (1/10000 for erase and 2/10000 for write).&lt;/p&gt;
&lt;p&gt;BR,
Thierry.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52: Write/erase flash cycles confusion</title><link>https://devzone.nordicsemi.com/thread/58821?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2016 12:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75e7ae7d-3ce5-4aa4-bdc7-7411433f9223</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Thierry: Our confirmation is that one cycle includes one erase and one write. So 10000 erase/write cycle mean you can do 10000 erase and 10000 write.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52: Write/erase flash cycles confusion</title><link>https://devzone.nordicsemi.com/thread/58820?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2016 15:44:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b995bbc-27ea-46d7-9dd8-b1d57bd8cd67</guid><dc:creator>ThierryQ</dc:creator><description>&lt;p&gt;Thank you for your quick reply.&lt;/p&gt;
&lt;p&gt;Someone else can confirm: &lt;strong&gt;write&lt;/strong&gt; action will not impact the flash cycle (Only &lt;strong&gt;erase&lt;/strong&gt; will do that) ?&lt;/p&gt;
&lt;p&gt;I need to be very careful regarding this information, my product will fully dependends to it. I need to write during 3 years on this flash and the frequency of it will be directly determined by this information.&lt;/p&gt;
&lt;p&gt;Thierry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52: Write/erase flash cycles confusion</title><link>https://devzone.nordicsemi.com/thread/58819?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2016 13:57:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6bc6866-2cd4-4d77-96cf-91b634b5cbb7</guid><dc:creator>sidekick</dc:creator><description>&lt;p&gt;Okay, i checked the &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.1.pdf"&gt;nrf52 product spec&lt;/a&gt;, and as you mentioned, it is indeed 10,000. I thought, the main flash ROM would have similar endurance, as &lt;a href="http://www.cypress.com/file/177961/download"&gt;some&lt;/a&gt; of the external serial flash memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52: Write/erase flash cycles confusion</title><link>https://devzone.nordicsemi.com/thread/58818?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2016 13:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dbce822-3230-4d87-92eb-9ba29c9c95bb</guid><dc:creator>sidekick</dc:creator><description>&lt;p&gt;Without looking at the spec, my quick reply is that in &lt;strong&gt;general&lt;/strong&gt;, you need to consider the erase limit. So in your case, it is 1. Note that, you might still get correct result (a read from an address returns the most recent write on that address) even  after exhausting the erase limit, however the flash vendors do not guarantee that. Also, I don&amp;#39;t &lt;strong&gt;think&lt;/strong&gt; the limit would be 10000, that&amp;#39;s quite low endurance, it should be around 100000 or more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>