<?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>pstorage, sd_flash, ble_flash, NVMC, ...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5564/pstorage-sd_flash-ble_flash-nvmc</link><description>Hello, 
 I want to use flash for logging sensor data and sending via BLE.
I found several APIs for store data to flash. 
 
 pstorage (Persistent Storage Access Routines) 
 sd_flash_... 
 ble_flash_... 
 NRF_NVMC_... 
 
 However, I cannot understand</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Feb 2015 12:32:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5564/pstorage-sd_flash-ble_flash-nvmc" /><item><title>RE: pstorage, sd_flash, ble_flash, NVMC, ...</title><link>https://devzone.nordicsemi.com/thread/19501?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2015 12:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adc721cd-b152-490b-a06a-d427b274dda8</guid><dc:creator>Bill Siever</dc:creator><description>&lt;p&gt;pstorage is a higher-level library for managing flash.  The sd_flash_ routines are lower-level operations that interact with the NRF_NVMC module&amp;#39;s registers (which user code can&amp;#39;t interact with directly when using the soft device). The ble_flash_ routines are older than the pstorage library and maybe even a little out of date.&lt;/p&gt;
&lt;p&gt;pstorage has some overhead (callbacks / asynchronous operations), but if you need to update flash while &amp;quot;on-air&amp;quot;, it&amp;#39;s probably the best choice for a few reasons:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;It avoids conflicts with flash writes and radio on-time&lt;/li&gt;
&lt;li&gt;It can be used across modules, including when a device needs to &amp;quot;bond&amp;quot; (more secure connections and some persistent configuration settings)&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>