<?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>Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33297/unable-to-initialize-the-fds-module</link><description>Hello, 
 I wanna use FDS module and started with FDS example given in SDK 11. 
 I have used the exactly same functions for initialization but it seems like FDS module is not getting initialized. 
 I have searched the forum and found some people facing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Apr 2018 20:05:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33297/unable-to-initialize-the-fds-module" /><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/128697?ContentTypeID=1</link><pubDate>Tue, 17 Apr 2018 20:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36810703-c266-47f5-bb05-3d89cc1f2521</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Good that it is working on the other board. Is there any difference between the two boards?&lt;/p&gt;
&lt;p&gt;It is also possible to compare what is written to flash on the two chips using nrfjprog: read flash using nrfjprog, redirect the output to a file. Then, compare the two flash-read-out files using a compare tool.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/128679?ContentTypeID=1</link><pubDate>Tue, 17 Apr 2018 16:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f11d010-cc59-41c0-9c9a-cee650314d08</guid><dc:creator>Muhammad Akram Karimi</dc:creator><description>&lt;p&gt;Dear Kristin,&lt;/p&gt;
&lt;p&gt;Surprisingly the same example code is now working on the other board I have.&lt;/p&gt;
&lt;p&gt;May be the error in initializing the FDS was specific to a particular board. But do you think any scenario in which this can happen?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/128432?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 10:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a874884e-9c8b-4b2b-bdf2-e9ebdb42537c</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;If you step through fds_test_init(), fds_register() and fds_init(), where does the application &amp;quot;fail&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/128325?ContentTypeID=1</link><pubDate>Sat, 14 Apr 2018 09:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95e1f24e-be82-47db-b40f-e7c420a8f53a</guid><dc:creator>Muhammad Akram Karimi</dc:creator><description>&lt;p&gt;Hi Kristin,&lt;/p&gt;
&lt;p&gt;Can you please help me figuring out the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/128082?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 13:29:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d677e3d5-946d-45e0-8504-70ab305df904</guid><dc:creator>Muhammad Akram Karimi</dc:creator><description>&lt;p&gt;Even this example gives the same error code(0x02) after FDS init function.&lt;/p&gt;
&lt;p&gt;Please see the screenshot attached.&lt;img alt="Error 0x02" src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/error_5F00_nRF_5F00_FDS.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/128077?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 13:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8debe9d9-580d-480f-ae2e-997934baa897</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Could you test &lt;a href="https://github.com/hubuhubu/nRF52-fds-example"&gt;this &lt;/a&gt;example and check if it works at your side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/128065?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 12:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6555e05a-403d-4868-8bdc-2d3ef240b02c</guid><dc:creator>Muhammad Akram Karimi</dc:creator><description>&lt;p&gt;Dear Kristin,&lt;/p&gt;
&lt;p&gt;I guess, this is not the problem of registering the event handler.&lt;/p&gt;
&lt;p&gt;Because I have just checked that my app goes into the my_fds_evt_handler()&lt;/p&gt;
&lt;p&gt;BUT p_fds_evt-&amp;gt;result != FDS_SUCCESS&lt;/p&gt;
&lt;p&gt;Please check the code below&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void my_fds_evt_handler(fds_evt_t const * const p_fds_evt)
{
    switch (p_fds_evt-&amp;gt;id)
    {
        case FDS_EVT_INIT:
            if (p_fds_evt-&amp;gt;result != FDS_SUCCESS)
            {
                // Initialization failed.
            }
						else if (p_fds_evt-&amp;gt;result == FDS_SUCCESS)
            {
                // Initialization succeeded
								fds_init_done=1;
            }
            break;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/128064?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 12:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5877aa08-81bb-4b8d-a845-7b89972c5e5e</guid><dc:creator>Muhammad Akram Karimi</dc:creator><description>&lt;p&gt;Dear Kristin,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s already there in the main file in sys_evt_dispatch().&lt;/p&gt;
&lt;p&gt;You can also check in the link I downloaded the source code from. as I mentioned in UPDATE 1 .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/128061?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 12:49:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a46c4be9-f610-4062-ac13-579611e3a25f</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Did you remember to add fs_sys_event_handler(..) to sys_evt_dispatch()?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void sys_evt_dispatch(uint32_t sys_evt)
{
    // Dispatch the system event to the fstorage module, where it will be
    // dispatched to the Flash Data Storage (FDS) module.
    fs_sys_event_handler(sys_evt);

    // Dispatch to the Advertising module last, since it will check if there are any
    // pending flash operations in fstorage. Let fstorage process system events first,
    // so that it can report correctly to the Advertising module.
    ble_advertising_on_sys_evt(sys_evt);
}
 // (SDK 12.3.0)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to initialize the FDS module</title><link>https://devzone.nordicsemi.com/thread/127893?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 17:16:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c3f44d2-745b-4b78-99ac-fa1bec05ecd0</guid><dc:creator>Muhammad Akram Karimi</dc:creator><description>&lt;p&gt;Update 1:&lt;/p&gt;
&lt;p&gt;I have recently tested the fds_example_master code (without any change) downloaded from github here &lt;a title="FDS Example" href="https://github.com/hubuhubu/nRF52-fds-example"&gt;FDS Example&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I am getting the same error i.e. err_code=0x2 in fds_test_find_and_delete(); function which means that the FDS module is not initialized.&lt;/p&gt;
&lt;p&gt;Can anyone test the example code and verify this.&lt;/p&gt;
&lt;p&gt;I am using SDK11.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>