<?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>flash partial erase operation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109745/flash-partial-erase-operation</link><description>hi support team, 
 am i operate partial erase correctly? i added delay_ms(10000) to see the memory, find out that only partialerase once, before i changes from 1 to 2, the flash is all changed to 0xFF. 
 so we still need to wait for over 85ms to make</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Apr 2024 08:19:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109745/flash-partial-erase-operation" /><item><title>RE: flash partial erase operation</title><link>https://devzone.nordicsemi.com/thread/476470?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 08:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88f1eacf-07a7-45c0-9aed-9db4754d8176</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]so we still need to wait for over 85ms to make sure the flash operation is finished, correct?[/quote]
&lt;p&gt;Yes, this is correct.&lt;/p&gt;
&lt;p&gt;To ensure that the specific flash page is fully erased, it must be run a total time of&amp;nbsp;tERASEPAGE (85 ms for nRF52840).&lt;/p&gt;
&lt;p&gt;If you use ERASEPAGEPARTIAL with a configuration of 1 ms, this needs to run 85 times to ensure that the specific page is fully erased (with all corners considered, like flash wear, temperature, etc).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>