<?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 problems sdk14</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25413/fds-problems-sdk14</link><description>I&amp;#39;m migrating from sdk13 to sdk14 with work app.
Can&amp;#39;t solve one weird problem. When my app start first time I initialize some data with saving by fds library to flash. There were no any problem to do it in sdk 13. Now I save all data good except two</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 24 Sep 2017 04:21:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25413/fds-problems-sdk14" /><item><title>RE: fds problems sdk14</title><link>https://devzone.nordicsemi.com/thread/100162?ContentTypeID=1</link><pubDate>Sun, 24 Sep 2017 04:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7cc7830-837f-430c-9a7a-e06131a4220e</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;You were right. in main function after initialize I also used update function (actually almost the same as write funciton) and I forgat replace value to pointer there. Now it works. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fds problems sdk14</title><link>https://devzone.nordicsemi.com/thread/100160?ContentTypeID=1</link><pubDate>Sat, 23 Sep 2017 22:38:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06acdeac-27a3-473d-b4a9-79b13d4d14a3</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;I get the same what I see in memory 536886412&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fds problems sdk14</title><link>https://devzone.nordicsemi.com/thread/100161?ContentTypeID=1</link><pubDate>Sat, 23 Sep 2017 22:28:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4432e202-32fd-4e62-835c-0b85cf724f15</guid><dc:creator>RichieJH</dc:creator><description>&lt;p&gt;I see from the docs p.data takes a pointer anyway.  What do you get when you read them back from Flash using FDS?  Also because you are passing a pointer and FDS does not buffer the value if your variables change in anyway between being passed and FDS actually writing them you will get different values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fds problems sdk14</title><link>https://devzone.nordicsemi.com/thread/100159?ContentTypeID=1</link><pubDate>Sat, 23 Sep 2017 22:18:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3a1e92c-a535-45b0-84db-7ac6aa5ec221</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;I&amp;#39;ve already try, the result was worse, all of my data values were wrong (about 20 pcs). Now after get rid of * mark only 2 values wrong&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fds problems sdk14</title><link>https://devzone.nordicsemi.com/thread/100158?ContentTypeID=1</link><pubDate>Sat, 23 Sep 2017 21:44:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2150c6a2-856b-47da-84cd-b0c8a92efe05</guid><dc:creator>RichieJH</dc:creator><description>&lt;p&gt;It is because you are writing the pointer, not the value.  Try *value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>