<?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 invalid page tag</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33837/fds-invalid-page-tag</link><description>Hi guys, 
 we have triggered one interesting state of fds module… This could be somehow connected to https://devzone.nordicsemi.com/f/nordic-q-a/27259/fds-data-corrupted/107629#107629 
 We are using nrf51822, sdk12.3.0 and softdevice s130 2.0.1… Also</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 May 2018 13:37:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33837/fds-invalid-page-tag" /><item><title>RE: fds invalid page tag</title><link>https://devzone.nordicsemi.com/thread/130828?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 13:37:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ff579f1-4aef-4f1b-825a-285b1ffb24a0</guid><dc:creator>Matej</dc:creator><description>&lt;p&gt;Yes, on peer manager event PM_EVT_STORAGE_FULL....&lt;br /&gt;&lt;br /&gt;case PM_EVT_STORAGE_FULL:&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Run garbage collection on the flash.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;err_code = fds_gc();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (err_code != FDS_ERR_BUSY &amp;amp;&amp;amp; err_code != FDS_ERR_NO_SPACE_IN_QUEUES)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;APP_ERROR_CHECK(err_code);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fds invalid page tag</title><link>https://devzone.nordicsemi.com/thread/130812?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 12:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a1c7661-4294-4e04-85af-0717bb621c8a</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I don&amp;#39;t think the RAM settings is an issue. The SoftDevice Handler would notify you if there&amp;#39;s a collision with the app ram region and SoftDevice ram region.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you perform garbage collection at any point?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fds invalid page tag</title><link>https://devzone.nordicsemi.com/thread/130773?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 09:46:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8f466f6-045b-4fdc-ad71-acc0ad1abd78</guid><dc:creator>Matej</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;We set FDS_VIRTUAL_PAGES to 3 and flash is not used by any other module so from that we conclude that memory space is valid.&lt;/p&gt;
&lt;p&gt;With define FDS_MAX_PAGES(FDS_VIRTUAL_PAGES - 1) fds module itself takes care that two pages are used for data and one is used for swapping data. Or did we miss something?&lt;/p&gt;
&lt;p&gt;We have readout flash after each pairing and swapping works fine &amp;ndash; except once&amp;hellip; when all 3 pages were marked as they contains data (0xF11E01FE), unfortunately we are not able to reproduce it.&lt;/p&gt;
&lt;p&gt;Removing all propriety code from project will take quite a long time that will be buildable&amp;hellip;&lt;/p&gt;
&lt;p&gt;What is your opinion about RAM settings (please check previous post)?&lt;/p&gt;
&lt;p&gt;Thank you for response!&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt; Matej&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fds invalid page tag</title><link>https://devzone.nordicsemi.com/thread/130090?ContentTypeID=1</link><pubDate>Fri, 27 Apr 2018 11:06:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a09a1b9-c56b-4c71-b067-3692f7e81402</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hey Matej,&lt;/p&gt;
&lt;p&gt;My first guess is that you have set an invalid memory space for the FDS library(used by other libraries or S130).&lt;/p&gt;
&lt;p&gt;My second guess is that you have not allocated an additional page for the SWAP, f.ex. 3 pages for user data + 1 page SWAP.&lt;/p&gt;
&lt;p&gt;Do you mind sharing your code in a project that compiles with SDK12.3?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>