<?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>The time to erase the flash is too long</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58948/the-time-to-erase-the-flash-is-too-long</link><description>Hi, 
 I am using 
 
 nRF52840 
 SDK 15.3.0 
 Keil IDE 
 The soft device is S140 
 JLinkRTTViewer for debug 
 
 Device has both Central &amp;amp; peripheral functions.
It takes about 15 seconds to erase flash 63 pages.
 It takes too long to erase the flash 63</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Mar 2020 13:08:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58948/the-time-to-erase-the-flash-is-too-long" /><item><title>RE: The time to erase the flash is too long</title><link>https://devzone.nordicsemi.com/thread/239328?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2020 13:08:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6be5dc02-0991-4502-8634-b07726c4ed8a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It takes up to 85 ms to erase a flash page according to the product specification, but that&amp;#39;s not including the overhead you have when you have to schedule flash operations through the Softdevice. It would be faster if you could erase the flash using the NVMC directly before enabling the Softdevice.&lt;/p&gt;
&lt;p&gt;More on how flash operations are scheduled when Softdevice is enabled: &lt;span&gt;&lt;a title="Flash memory API" href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/flash_mem_api/flash_mem_api.html"&gt;Flash memory API&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>