<?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 module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43974/fds-module-not-working-while-migrating-from-sdk13-to-sdk-15-2</link><description>Hi everyone, 
 I am using SDK 15.2 with keil microvision and softdevice132 nrf52_6.1. 
 In version 13, system dispatch event was regestired with Softdevice handler as below 
 static void sys_evt_dispatch(uint32_t sys_evt) { fs_sys_event_handler(sys_evt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Mar 2019 14:13:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43974/fds-module-not-working-while-migrating-from-sdk13-to-sdk-15-2" /><item><title>RE: FDS module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/thread/175046?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2019 14:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b641d02-ba23-4004-8111-4d63cc264ee2</guid><dc:creator>dk_07</dc:creator><description>&lt;p&gt;Thanks a lot for your time and suggestion.&lt;/p&gt;
&lt;p&gt;The GNU extensions were enabled. By disabling it. Its working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/thread/175001?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2019 12:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e93e1cb7-4b6c-4c4e-aada-f982334d153c</guid><dc:creator>dk_07</dc:creator><description>&lt;p&gt;I have issues even with my own code.&lt;/p&gt;
&lt;p&gt;So I tried debugging example code for hints and i have issues with it too.&lt;/p&gt;
&lt;p&gt;I am using nrf52832. Just the stack window in debug mode. The nrf log is not working. I tried adding nrf log backend, even then its not working. I got error. So, just used stack window.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/thread/174831?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2019 14:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:536226ab-0701-4110-b2d3-43805e735db4</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;So you&amp;#39;re having issues with the flash_fds example from SDK 15.2? Are you using a custom board? If not, what DK are you using? What are you using to read the output?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/thread/174738?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2019 08:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8eb1eda-2cdf-42e0-bf5e-6b90e050c44b</guid><dc:creator>dk_07</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the explaination. I even tried withe example available.It only writes, if the record is not found.&lt;/p&gt;
&lt;p&gt;Even if the board is earsed and softdevice is progammed newly, it finds the record, opens it, closes it and then updates it. It never writes any thing.&lt;/p&gt;
&lt;p&gt;how can it update a record when its closed?&lt;/p&gt;
&lt;p&gt;Now, In my program, the initialisng event works after running and resetting&amp;nbsp; twice in debug mode and write event is never called even after successullfy finishing the write operation. The program hangs in a infinte while loop. I dont know why? Please guide&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/thread/174455?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 08:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:271eb971-99b7-4081-adef-5e359facdb5c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;extern nrf_fstorage_api_t nrf_fstorage_sd is the appropriate&amp;nbsp;backend used to access flash when Softdevice is enabled.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure I understand the necessity of changing the backend module fstorage module when you want to migrate a project that use FDS. The proper way to migrate a project that use Flash Data Storage module is to update the functions that are used from FDS in your application. Backend modules such as fstorage shouldn&amp;#39;t be necessary to modify as they can be included directly from the newest SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can try including your project into the flash fds example in the newest SDK and replace the updated API functions with the appropriate function call in your application.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/thread/172841?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 15:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:934ff8ba-04fa-4eeb-a473-d78b59f069ce</guid><dc:creator>dk_07</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do get FDS_SUCCESS.&lt;/p&gt;
&lt;p&gt;The file nrf_fstorage_sd.h has only one definition and all the necessary headers and function defintions are included in nrf_fstorage_sd.c. For example: the function nrf_fstorage_sys_evt_handler header and its definition both are in&amp;nbsp;nrf_fstorage_sd.c file. In&amp;nbsp;nrf_fstorage_sd.h only nrf_fstorage.h is included. Is that the reason i am getting Implicit declaration error? Else am I missing on something.?&lt;/p&gt;
&lt;p&gt;Could you please explain the importance of&amp;nbsp; &amp;quot;extern nrf_fstorage_api_t nrf_fstorage_sd&amp;quot; ? Its the only thing mentioned in the nrf_fstorage_sd.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/thread/172815?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 14:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e65412-f290-4e53-8a26-7ce4e7be104a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When do you call fds_init, does it return a FDS_SUCCESS? The FDS registration in the example is done through registering a fstorage handler with the Softdevice as you&amp;#39;ve done. If possible, It may be easier to build your application ontop of the FDS example in SDK 15.2 instead of porting it?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Implicit declaration is often the result when the compiler can&amp;#39;t find no prior definition of the function. Is the relevant paths included in the build?&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/thread/172341?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 15:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bdf8ab8-1a64-4e16-9d07-fd8d00eea243</guid><dc:creator>dk_07</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks a lot for your reply Jared.&lt;/p&gt;
&lt;p&gt;I did the same with refence to link &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.2.0%2Flib_fds_usage.html&amp;amp;cp=4_0_0_3_50_3"&gt;here&lt;/a&gt;. After being registered and initialized without any error, initialisation flag is set true and the fds event hanlder should be called to set the flag false and this call back is not happening.The program hangs.&lt;/p&gt;
&lt;p&gt;The issue is similar to&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/22265/can-t-get-a-callback-from-fds-no-matter-what---help"&gt;this&lt;/a&gt; link. Also follwed the suggestion in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32582/fds_evt_handler-not-invoked-for-52840-sdkv14-2-s140"&gt;link&lt;/a&gt;. but still not working. Please guide me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS module not working while migrating from sdk13 to sdk 15.2</title><link>https://devzone.nordicsemi.com/thread/172330?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 14:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d14873d6-dd2c-4d8f-a4ff-b409299b801d</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure I understand your intention. To use FDS with the softdevice you first initialize the softdevice with&amp;nbsp;nrf_sdh_ble_enable() and then register a callback handler to FDS events with&amp;nbsp;fds_register(), and lastly initialize the module with&amp;nbsp;fds_init().&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>