<?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>Potential FDS bug?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26612/potential-fds-bug</link><description>Hi, 
 I just found, fds initialization sequence is important for fds_event_handler to be called. 
 My scenario:
nrf52832 
 SDK 12.2.0 
 MDK 
 My sequence to call fds initialisation is as follows: 
 
 
 User fds_register 
 
 
 user fds_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 12 Nov 2017 14:02:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26612/potential-fds-bug" /><item><title>RE: Potential FDS bug?</title><link>https://devzone.nordicsemi.com/thread/104691?ContentTypeID=1</link><pubDate>Sun, 12 Nov 2017 14:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a2a5a1e-b9ef-44a8-a48c-3b0e9e521adf</guid><dc:creator>nine-fox</dc:creator><description>&lt;p&gt;Hi emdi,&lt;/p&gt;
&lt;p&gt;Thanks a lot for your confirmation. You are right, after I install fds after softdevice enabled, everything works fine.&lt;/p&gt;
&lt;p&gt;Base on that, I am happy to close it.&lt;/p&gt;
&lt;p&gt;Vincent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Potential FDS bug?</title><link>https://devzone.nordicsemi.com/thread/104690?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 13:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4f056cd-8d13-42d9-b14b-9f712df4707b</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;fds in SDK 12.2 can&amp;#39;t write to flash if the SoftDevice is disabled.&lt;/p&gt;
&lt;p&gt;If fds is not &amp;#39;installed&amp;#39; it needs the SoftDevice to be enabled to install upon booting the first time.
After that first boot, it is possible to initialize fds and read even if the SoftDevice is disabled, but still you won&amp;#39;t be able to write.&lt;/p&gt;
&lt;p&gt;It might be possible that you don&amp;#39;t &lt;em&gt;need&lt;/em&gt; to start advertising right after you enable the stack:
you could enable the stack, do all the flash operations you need to (read/write) and determine whether to start advertising or scanning or whatnot at a later point. Enabling the stack and advertising/scanning are different things.&lt;/p&gt;
&lt;p&gt;Regards,
emdi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>