<?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>nrf51 flush data example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7130/nrf51-flush-data-example</link><description>Hello 
 is there any example of how to flush data to flush memory?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 May 2015 15:11:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7130/nrf51-flush-data-example" /><item><title>RE: nrf51 flush data example</title><link>https://devzone.nordicsemi.com/thread/25198?ContentTypeID=1</link><pubDate>Thu, 21 May 2015 15:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f57b317-89f7-4218-8cd4-3b2b05ad986e</guid><dc:creator>dubasic</dc:creator><description>&lt;p&gt;Thank you for your answer :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 flush data example</title><link>https://devzone.nordicsemi.com/thread/25197?ContentTypeID=1</link><pubDate>Wed, 20 May 2015 14:15:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22029ba8-3b91-4258-9560-cab716bb18d7</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Please see Section 7 in the S110 SoftDevice Specification 2.0 for more information regarding accessing flash when the SoftDevice is enabled.&lt;/p&gt;
&lt;p&gt;When the SoftDevice is enabled you can either use:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a01316.html#ga8b49f2e72e97291aecc18ce396956eed"&gt;sd_flash_write()&lt;/a&gt; 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;&lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00168.html"&gt;Pstorage&lt;/a&gt;, which is a module for handling flash operations. This is what we use in our BLE examples. There is also alot of information found on this forum.&lt;/p&gt;
&lt;p&gt;Please let me know if anything is unclear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 flush data example</title><link>https://devzone.nordicsemi.com/thread/25194?ContentTypeID=1</link><pubDate>Wed, 20 May 2015 12:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95043cfa-c551-478d-87df-46bf4f258c05</guid><dc:creator>dubasic</dc:creator><description>&lt;p&gt;Yes i am. Why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 flush data example</title><link>https://devzone.nordicsemi.com/thread/25196?ContentTypeID=1</link><pubDate>Wed, 20 May 2015 12:40:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfa7807e-5102-4bf1-9d14-9b5b54d6995f</guid><dc:creator>Petter Myhre</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><item><title>RE: nrf51 flush data example</title><link>https://devzone.nordicsemi.com/thread/25195?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 22:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78b5cf5e-f238-42ce-9811-843edc762601</guid><dc:creator>Nick Pelis</dc:creator><description>&lt;p&gt;Are you referring to flash memory?  If so, check out the pstorage examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>