<?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>Conditions that lead to long flash write/erase times</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17145/conditions-that-lead-to-long-flash-write-erase-times</link><description>I am wondering what circumstances lead to the big difference of the write and erase times of the NVMC. Since the difference between the max. value is a multiple of the min. value are there certain things to pay attention or avoid? 
 Thanks in advanc</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Oct 2016 09:37:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17145/conditions-that-lead-to-long-flash-write-erase-times" /><item><title>RE: Conditions that lead to long flash write/erase times</title><link>https://devzone.nordicsemi.com/thread/65862?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 09:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0077893-248b-4399-a321-192a6d076f29</guid><dc:creator>Pascal K&amp;#252;nzi</dc:creator><description>&lt;p&gt;Yes I was. That&amp;#39;s good to know. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditions that lead to long flash write/erase times</title><link>https://devzone.nordicsemi.com/thread/65860?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 09:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:578d25fa-2a2f-4c1c-bb27-02b12c690ada</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;If you are referring to the values in the PS, Chapter 11.8.1 Flash programming, these min and max values are best/worst case values with only the NVMC. The maximum values are a result of tests performed at very high temperatures, and at low voltages. While the min values are a result of testing at ideal temperatures and ideal voltages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditions that lead to long flash write/erase times</title><link>https://devzone.nordicsemi.com/thread/65861?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 07:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6f1640b-1412-4568-b41e-0eaf8ca0659a</guid><dc:creator>Pascal K&amp;#252;nzi</dc:creator><description>&lt;p&gt;Thank you! So the SoftDevice is the main reason for those max. times.
Without SoftDevice they should be close to min value. Is that correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditions that lead to long flash write/erase times</title><link>https://devzone.nordicsemi.com/thread/65859?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 07:37:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a57692f-6731-4a46-96bd-97cca92ae510</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;When using SoftDevice you should use the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/flash_mem_api/flash_mem_api.html?cp=2_3_0_0_7"&gt;Flash memory API&lt;/a&gt;. Use &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=2_3_0_1_0_2_7_2_9#ga8b49f2e72e97291aecc18ce396956eed"&gt;sd_flash_write()&lt;/a&gt; to write and &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=2_3_0_1_0_2_7_2_7#ga9c93dd94a138ad8b5ed3693ea38ffb3e"&gt;sd_flash_page_erase()&lt;/a&gt; to erase.&lt;/p&gt;
&lt;p&gt;The API will
schedule flash access in between radio events automatically, to avoid conflicts between the radio and the flash operations. The way this works is that you don&amp;#39;t really know when the flash access will happen, but you will get an event after the flash operation is complete telling you whether or not the flash operation was successful.&lt;/p&gt;
&lt;p&gt;In cases where flash access fails you can typically just retry the operation, but if you have so aggressive connection parameters that there is no room for flash operations (mainly a problem for flash erase operations) you might have to either change the connection parameters or temporarily disconnect the BLE link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditions that lead to long flash write/erase times</title><link>https://devzone.nordicsemi.com/thread/65858?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2016 05:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70236fc4-47be-4df9-8437-3713d8526501</guid><dc:creator>Pascal K&amp;#252;nzi</dc:creator><description>&lt;p&gt;Yes the S132.
Is it only due to the restricted access of the NVMC when using a SoftDevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditions that lead to long flash write/erase times</title><link>https://devzone.nordicsemi.com/thread/65857?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2016 14:37:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a932741-4f46-4642-b2f9-add2c9648ab5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Are you using a SoftDevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>