<?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>FDS &amp;amp; fstorage extra information</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28254/fds-fstorage-extra-information</link><description>Hi, 
 I&amp;#39;m using sdk14.2 peripheral examples fds and fstorage in an attempt to test flash storage persistance (with softdevice present). 
 The two examples are quite intuitive and easy to play with thanks to the cli interface (uart). 
 First i have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Dec 2017 16:37:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28254/fds-fstorage-extra-information" /><item><title>RE: FDS &amp; fstorage extra information</title><link>https://devzone.nordicsemi.com/thread/111600?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 16:37:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b14d69bd-92f2-43d7-a4b3-725344f9824f</guid><dc:creator>Flinn92</dc:creator><description>&lt;p&gt;Thanks Jørgen!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS &amp; fstorage extra information</title><link>https://devzone.nordicsemi.com/thread/111599?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 15:28:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f41ae6e-e7f2-4fa9-ac5f-d8f48305b7c3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The number of pages used by FDS is &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/group__fds__config.html"&gt;configurable in the application&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;FDS will write the record to the available space in the allocated virtual pages. If not enough space is available for the record, a &lt;code&gt;FDS_ERR_NO_SPACE_IN_FLASH&lt;/code&gt; error will be returned. You can then run &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_fds_functionality.html?cp=4_0_0_3_50_1_2#lib_fds_functionality_gc"&gt;garbage collection&lt;/a&gt;, to free space by erasing invalidated records.&lt;/li&gt;
&lt;li&gt;FDS is asynchronous and will schedule the flash write/erases between BLE events. Please see the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/flash_mem_api/flash_mem_api.html?cp=2_3_1_0_7"&gt;flash memory API&lt;/a&gt; description in the Softdevice documentation for details on flash write probability.&lt;/li&gt;
&lt;li&gt;See point 5. I think you should be able to use FDS/fstorage from SDK 14.2.0 in SDK 14.0.0, if you do not want to migrate the entire project to SDK 14.2.0.&lt;/li&gt;
&lt;li&gt;There is some bugfixes in FDS in SDK 14.1.0 compared to SDK 14.0.0. Please see the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/index.html?cp=4_0_1_0"&gt;release notes&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I would recommend you to read the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_fds.html?cp=4_0_0_3_50"&gt;FDS&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_fstorage.html?cp=4_0_0_3_51"&gt;fstorage&lt;/a&gt; documentation, if you have not allready done this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>