<?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>Should I call the fds_init function if I want to use fds module to store data?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34864/should-i-call-the-fds_init-function-if-i-want-to-use-fds-module-to-store-data</link><description>In my application, I use the peer manager that has called the fds_init function, should I call it again if I want to use the fds to store my data. Will the peer manager use my area?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 May 2018 08:12:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34864/should-i-call-the-fds_init-function-if-i-want-to-use-fds-module-to-store-data" /><item><title>RE: Should I call the fds_init function if I want to use fds module to store data?</title><link>https://devzone.nordicsemi.com/thread/133966?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 08:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aefb6df4-537b-4689-9f2b-4ebd21e9fc80</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;There is no direct way to separate the areas as there is no support for it in FDS, and FDS only support a single instance. You can set a side x number of flash pages and manage it manually via fstorage like you suggest, while keeping FDS for the peer manager only. The downside is that fstorage is only provide basic flash write and erase support, so you will have to provide any file system like features and wear leveling yourself if you need it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Should I call the fds_init function if I want to use fds module to store data?</title><link>https://devzone.nordicsemi.com/thread/133913?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 01:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22a0bf7a-6a30-4a7d-8c4d-e9829af46e5c</guid><dc:creator>cgha</dc:creator><description>&lt;p&gt;Is there any way to separate the area the peer manager used and my data area, does the fstorage can solve this problem, since it will give my the start addr and end addr upon it is initialized.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Should I call the fds_init function if I want to use fds module to store data?</title><link>https://devzone.nordicsemi.com/thread/133791?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 10:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cdbf4a8-162a-4218-91e7-4d7cd496eeae</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no need to call &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/group__fds.html?cp=4_0_0_6_11_24_16#ga2382947318f107a9c8d08a9a5916ccf4"&gt;fds_init()&lt;/a&gt; again if you use the peer manager. It will not do any harm&amp;nbsp;as it will not do anything other than generate another &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/group__fds.html?cp=4_0_0_6_11_24_12_0#gga9374d0e6608b9b07940401b407617f8da4147e2842827ca524ed04dc066ccb25d"&gt;FDS_EVT_INIT&lt;/a&gt;&amp;nbsp;event immediately to let you know that FDS is initialized. In any case you must remember to not make any other API calls to FDS before you get this event the first time.&lt;/p&gt;
&lt;p&gt;The Peer manager use the same flash pages as the application, so you should set &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/group__fds__config.html?cp=4_0_0_6_11_24_0_7#ga5a6ee4b21f32ba0776a116880156c992"&gt;FDS_VIRTUAL_PAGES&lt;/a&gt;&amp;nbsp;so that there is room for both the peer manager data and your other application data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>