<?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>Why doesn&amp;#39;t Device State Manager allow to increase the number of entries?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54331/why-doesn-t-device-state-manager-allow-to-increase-the-number-of-entries</link><description>The Device State Manager (DSM) will erase the flash if any of the following parameters have changed since last boot. 
 
 DSM_NONVIRTUAL_ADDR_MAX 
 DSM_VIRTUAL_ADDR_MAX 
 DSM_APP_MAX 
 DSM_DEVICE_MAX 
 DSM_SUBNET_MAX 
 
 I agree that it can cause problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Feb 2020 09:38:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54331/why-doesn-t-device-state-manager-allow-to-increase-the-number-of-entries" /><item><title>RE: Why doesn't Device State Manager allow to increase the number of entries?</title><link>https://devzone.nordicsemi.com/thread/234136?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 09:38:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dd1b09c-1ef9-4168-9cd4-a8a0f9849041</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi again. &lt;/p&gt;
&lt;p&gt;The problem with allowing this use case is that; if a number of DMS pages get changed as a result of increasing values of DSM_*MAX defines, it will trigger either an assertion in subsequent modules when they see that the flash page metadata is different than expected. Or it may lead to corrupted data loading other modules. &lt;br /&gt;It is better to plan in advance and allocate more space for a sufficient number of DSM entries.&lt;/p&gt;
&lt;p&gt;Regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why doesn't Device State Manager allow to increase the number of entries?</title><link>https://devzone.nordicsemi.com/thread/229847?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 13:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc1e06d9-0386-4e99-8a40-3513a8b30138</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Sorry about the delay.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have an open internal request to our developers to comment on this. I&amp;#39;ll update you as soon as I get any feedback.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why doesn't Device State Manager allow to increase the number of entries?</title><link>https://devzone.nordicsemi.com/thread/228761?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2020 10:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e913f21d-1f13-41e5-ba11-01b46cd59332</guid><dc:creator>JonasJ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Any comment from the developers?&lt;/p&gt;
&lt;p&gt;The same &amp;quot;problem&amp;quot; remains with Mesh SDK 4.0.0.&lt;/p&gt;
&lt;p&gt;The new metadata should also be written to the flash when they mismatch. Otherwise there could be more entries in the flash than the metadata indicate causing issues later on.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why doesn't Device State Manager allow to increase the number of entries?</title><link>https://devzone.nordicsemi.com/thread/220865?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 13:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f46e18a-f361-4098-ab9f-84a7d726e050</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you describe above seems to be the correct behavior.&amp;nbsp;&lt;/p&gt;
[quote user=""]Thus, is there an issue of changing dsm_flash_config_load() according to the following patch.[/quote]
&lt;p&gt;&amp;nbsp;I&amp;#39;ll ask for a comment from our developers about this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>