<?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 page setting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101289/fds-page-setting</link><description>hi. I have a small question about FDS 
 As for the setting of page, we intend to use 8k bytes memory to store data, so how should page be set?Should FDS_VIRTUAL_PAGES be set to 2？ This is the space distribution diagram of our products.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 May 2024 11:48:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101289/fds-page-setting" /><item><title>RE: FDS page setting</title><link>https://devzone.nordicsemi.com/thread/483016?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 11:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48beb7bb-3221-4885-b708-625341469333</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you mean peer_manager?&lt;/p&gt;
&lt;p&gt;Peer manager uses FDS as a backend:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_pm_architecture.html?cp=9_1_3_2_7_0"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_pm_architecture.html?cp=9_1_3_2_7_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS page setting</title><link>https://devzone.nordicsemi.com/thread/482965?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 08:40:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9512598b-0a78-45a2-8b41-6b2ac16f8619</guid><dc:creator>kenyon</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon&lt;br /&gt;What I want to express is: how to allocate the space of Device Manager? If 8kb of space is allocated to Flash Data Storage, will there be no spare space for Device Manager?&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;Kenyon&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS page setting</title><link>https://devzone.nordicsemi.com/thread/482933?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 07:10:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f914256-da42-4bdc-8a8b-574d6cdcb059</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Kenyon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="kenyon"]I allocated 8KB of User Data&amp;nbsp;to Flash Data Storage(), where the Device Manager was allocated?[/quote]
&lt;p&gt;You should erase the two pages in question before giving them to the FDS library. If not, it will return an error that there is data within the page(s).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS page setting</title><link>https://devzone.nordicsemi.com/thread/482650?ContentTypeID=1</link><pubDate>Thu, 09 May 2024 09:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d7365be-3ece-4bdd-bace-f0efcf352f5e</guid><dc:creator>kenyon</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon&lt;/span&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1715248185601v2.png" alt=" " /&gt;&lt;br /&gt;The following is a Memory Map of SDK11. I would like to know in SDK17.1, I allocated 8KB of User Data&amp;nbsp;to Flash Data Storage(), where the Device Manager was allocated?&lt;br /&gt;Will the User Data be occupied by flash and not allocated to the Device Manager, resulting in program problems?&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1715247663128v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best Regard&lt;br /&gt;Kenyon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS page setting</title><link>https://devzone.nordicsemi.com/thread/433864?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 08:09:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9c0f4cc-999c-4390-8c31-ba47e8ee23fb</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="kenyon"]When i set FDS_VIRTUAL_PAGES to 2,d&lt;span&gt;&lt;span&gt;o I need to modify the corresponding parameters in the bootloader?&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt; I remember in SDK11 you had to tell the bootloader how much flash space the application had?&lt;/span&gt;&lt;/span&gt;[/quote]
&lt;p&gt;Yes, that is correct. in your bootloaders sdk_config.h, you should set the corresponding &amp;quot;NRF_DFU_APP_DATA_AREA_SIZE&amp;quot; to the total size of FDS.&lt;/p&gt;
&lt;p&gt;Please note that &amp;quot;NRF_DFU_APP_DATA_AREA_SIZE&amp;quot; is given in bytes, as compared to the FDS. &amp;#39;8192&amp;#39; should be the value you define if FDS is setup with 2 flash pages (2*1024*4bytes = 8192)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS page setting</title><link>https://devzone.nordicsemi.com/thread/433685?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 12:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddbe5b05-ca7d-4afe-99d8-5a040f66a978</guid><dc:creator>kenyon</dc:creator><description>&lt;p&gt;Thank you alseth!&lt;br /&gt;When i set FDS_VIRTUAL_PAGES to 2,d&lt;span class="transSent" data-group="0-0"&gt;&lt;span&gt;o I need to modify the corresponding parameters in the bootloader?&lt;/span&gt;&lt;/span&gt;&lt;span class="transSent" data-group="0-1"&gt;&lt;span&gt; I remember in SDK11 you had to tell the bootloader how much flash space the application had?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;Like SDK11:Set the macro&amp;ldquo;DFU_APP_DATA_RESERVED&amp;rdquo;in bootloader to be 3&amp;nbsp;pages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS page setting</title><link>https://devzone.nordicsemi.com/thread/433630?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 09:18:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c97e93d-16a9-4a5c-ae34-238ef1151308</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]As for the setting of page, we intend to use 8k bytes memory to store data, so how should page be set?Should FDS_VIRTUAL_PAGES be set to 2？[/quote]
&lt;p&gt;Yes, this is correct.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>