<?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>Mesh Config Reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109937/mesh-config-reset</link><description>I know they are older libraries, but I&amp;#39;m still using the Mesh v5.0.0 SDK and nRF5 v17.1.0 for a product that uses a nRF52832 as it&amp;#39;s radio. I&amp;#39;ve been able to implement my own models and have everything working, but have an occasional bug. 
 The symptom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Apr 2024 23:07:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109937/mesh-config-reset" /><item><title>RE: Mesh Config Reset</title><link>https://devzone.nordicsemi.com/thread/480778?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 23:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c22b981-e1e3-4c88-8460-4695a2e625f9</guid><dc:creator>BubDev</dc:creator><description>&lt;p&gt;I think we are having the same issue, I am also using mesh 5.0.0 and am getting nodes resetting themselves. It seems correlated to power failures.&lt;/p&gt;
&lt;p&gt;What is your current strategy for saving message cache to flash? Continuous, power down, or never?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think it happens more frequently on networks with heavy traffic using the continuous flash savings strategy.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It would be nice to get a solution to this that doesn&amp;#39;t kick nodes out of a mesh network as this can be a huge issue on large networks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Config Reset</title><link>https://devzone.nordicsemi.com/thread/477203?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 18:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8d75397-6189-4051-8501-352a1a1a1649</guid><dc:creator>Jeremy</dc:creator><description>&lt;p&gt;By adding a ProgramSection named &amp;quot;.app_end_addr&amp;quot; to the FlashPlacement.xml file between the last reference used by application and my bootloader reservation entry, I&amp;#39;m able to retrieve the address of that section identifier and round up to the next page.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;volatile uint32_t m_app_end_addr  __attribute__ ((section(&amp;quot;.app_end_addr&amp;quot;)));

int main(void)
{
    // Round UP to nearest page boundary
    uint32_t first_data_page = ((uint32_t)&amp;amp;m_app_end_addr + 0xFFF) &amp;amp; ~0xFFF;
    NRF_LOG_INFO(&amp;quot;Addr of first page after main Application: 0x%08X&amp;quot;, first_data_page);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I can then loop through and erase every page between this boundary and the start of the bootloader to perform the hard reset I was looking for.&lt;/p&gt;
&lt;p&gt;This appears to work, but I would love some feedback if this is a bad idea or I&amp;#39;m missing some hidden pitfall with this approach.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>