<?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>nRF51822 FLASH Erase while in a connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6907/nrf51822-flash-erase-while-in-a-connection</link><description>Hi everybody, i am working with a nrf51822. S110 with sdk6.1 IDE:keil 
 I want to do FLASH Erase while in a connection.
I have read this page devzone.nordicsemi.com/.../ 
and found out that the fail is related to the connection interval.It have to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 May 2015 03:14:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6907/nrf51822-flash-erase-while-in-a-connection" /><item><title>RE: nRF51822 FLASH Erase while in a connection</title><link>https://devzone.nordicsemi.com/thread/24349?ContentTypeID=1</link><pubDate>Fri, 08 May 2015 03:14:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dceb789e-d576-4a11-995d-f37a545728c2</guid><dc:creator>YEN</dc:creator><description>&lt;p&gt;Sincere gratitude for you help.Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 FLASH Erase while in a connection</title><link>https://devzone.nordicsemi.com/thread/24348?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 01:31:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00759332-7ef9-4f3c-babd-3bbc06f43fc2</guid><dc:creator>YEN</dc:creator><description>&lt;p&gt;Thank you for your answer.
I tried.Increase both  maximum and minimum connection.MIN 100(125ms)   MAX 120(150ms) but my nrf51822 also occurs the same  circumstances.Have any further solution or something i missed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 FLASH Erase while in a connection</title><link>https://devzone.nordicsemi.com/thread/24347?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 14:32:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f011814e-539f-4a7e-b00f-84f472304e2b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It is actually the master(central) that determines the connection interval, so increasing the maximum connection interval on the slave(peripheral) doesn&amp;#39;t necessarily help. You can try to increase the minimum connection interval as well, then the master will either use a connection interval between min and max, or reject the slave.&lt;/p&gt;
&lt;p&gt;Edit 07.05.2015: When the SoftDevice is enabled you should use sd_flash_page_erase() and sd_flash_write() functions. Please see Section 7 in the S110 SoftDevice Specification 2.0 for more information. If the flash operation is succesful you will get a NRF_EVT_FLASH_OPERATION_SUCCESS event in sys_evt_dispatch(). I recommend you to have a flag that is set you do a flash operation, and is unset when you get NRF_EVT_FLASH_OPERATION_SUCCESS. Check the flag before you do a flash operation.&lt;/p&gt;
&lt;p&gt;We also have a module for handling flash operations, &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.0.0/s110/html/a00140.html"&gt;Pstorage&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>