<?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 Write problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21393/fds-write-problem</link><description>Hello,
I am using SDK 12.01 with softdevice (BLE application) and I want to write large data over flash. I am stuck with various issues. 
 
 When I try to write the data, FDS returns success. But write_flag is never raised and nothing gets written</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 May 2017 07:05:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21393/fds-write-problem" /><item><title>RE: FDS Write problem</title><link>https://devzone.nordicsemi.com/thread/83833?ContentTypeID=1</link><pubDate>Tue, 02 May 2017 07:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b7a871d-cfa1-47b0-bd53-ad109674e629</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;Could show us how you are trying to do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Write problem</title><link>https://devzone.nordicsemi.com/thread/83831?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 05:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:486cc4e9-44d6-4fd3-93c8-ab94ec51e1cf</guid><dc:creator>Shreyas</dc:creator><description>&lt;p&gt;Can anyone help me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Write problem</title><link>https://devzone.nordicsemi.com/thread/83830?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 11:13:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8646cb3b-7273-460d-8fc8-3eba96117898</guid><dc:creator>Moritz</dc:creator><description>&lt;p&gt;Hmm if you enter your fds_test_write function and you configured &lt;code&gt;static volatile uint8_t write_flag = 0;&lt;/code&gt; as a global variable your write flag should be raised. Do you get the log &lt;code&gt;NRF_LOG_INFO(&amp;quot;Writing Record ID = %d \r\n&amp;quot;,record_desc.record_id);&lt;/code&gt; in termite?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Write problem</title><link>https://devzone.nordicsemi.com/thread/83829?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 05:21:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:429aba92-b786-425f-ba42-17d0cb0f3d07</guid><dc:creator>Shreyas</dc:creator><description>&lt;p&gt;The example is similar to the example given on the github. I am still not able to solve the problem that I mentioned in OP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Write problem</title><link>https://devzone.nordicsemi.com/thread/83832?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 09:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22f6b6f5-590c-43a3-9bc5-782935bafe2b</guid><dc:creator>Moritz</dc:creator><description>&lt;p&gt;Look at this example   &lt;a href="https://devzone.nordicsemi.com/question/114194/assistance-with-fds/?answer=114227#post-id-114227"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;  I just copy pasted it to sdk 13 ble template and it worked. So it should be no problem to copy the needed functions (just the ones over main) into your template.&lt;/p&gt;
&lt;p&gt;As for saving the data I am very interested in someone to answer this part kind of stuck with the same problem.&lt;/p&gt;
&lt;p&gt;There is one minor error in the example in fds_read there is &lt;code&gt;NRF_LOG_INFO(&amp;quot;0x%8x &amp;quot;,data[i]);&lt;/code&gt; you need to delete the 8 in order to see the hex values &lt;code&gt;NRF_LOG_INFO(&amp;quot;0x%x &amp;quot;,data[i]);&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>