<?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 save under same id and key</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21497/fds-save-under-same-id-and-key</link><description>Hey, I want to save stuff to flash under the same id and key which should be no problem as shown in the documentation. But when I save it and retrieve the data only the last saved data is in both of the entries. I use SDK 13. 
 Here is the relevant code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Apr 2017 12:46:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21497/fds-save-under-same-id-and-key" /><item><title>RE: FDS save under same id and key</title><link>https://devzone.nordicsemi.com/thread/84359?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 12:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:253fa0bc-b312-4ef4-ad8d-13455d4925d6</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;No problem :) If I answered your question please accept my answer by clicking the grey circle next to it. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS save under same id and key</title><link>https://devzone.nordicsemi.com/thread/84358?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 12:32:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dfec3e2-89a6-47a7-aa7f-c0234b55e025</guid><dc:creator>Moritz</dc:creator><description>&lt;p&gt;works and makes sense. My idea was to speed things up and check for the write process when I already set the data. Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS save under same id and key</title><link>https://devzone.nordicsemi.com/thread/84357?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 12:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccb6fab4-3831-43b7-9fc8-a571e0d502c2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You shouldn&amp;#39;t change the data pointed to before you get the successful FDS_EVT_WRITE event.&lt;/p&gt;
&lt;p&gt;So, do something like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;while (write_flag==0);	
        
m_deadbeef[0] = 1;
m_deadbeef[1] = 2;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS save under same id and key</title><link>https://devzone.nordicsemi.com/thread/84354?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 12:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:533f5348-632a-4705-afec-299bbabcb76d</guid><dc:creator>Moritz</dc:creator><description>&lt;p&gt;&lt;a href="https://drive.google.com/open?id=0B7DY23RhOjEkZXNJX3UtMzdtQWs"&gt;drive.google.com/open&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;here is the project. I programm in segger embeded studio, so i hope the Keil project still works. I can compile it but cant flash it because of the code limitation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS save under same id and key</title><link>https://devzone.nordicsemi.com/thread/84355?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 11:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3368797a-9b53-44d5-875d-c58bcc7cbb40</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Could you share your complete project so I can test it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS save under same id and key</title><link>https://devzone.nordicsemi.com/thread/84356?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 09:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5a31ccf-c806-4bf4-8083-739ea66d3325</guid><dc:creator>Moritz</dc:creator><description>&lt;p&gt;I did a workaround now and just gave every set of data its own rec_key some more lines of code but it works now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>