<?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>[NCS v2.6.2] Mounted NVS with BT settings fails to init after a Mcumgr DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119131/ncs-v2-6-2-mounted-nvs-with-bt-settings-fails-to-init-after-a-mcumgr-dfu</link><description>To explain our problem: We have a system with a NRF52840 chip, we also have an external flash, the settings_subsystem is mounted in the NVS on the internal flash I have included our ninja partition_manager_report below. We are using MCUBoot and Mcumgr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Feb 2025 17:03:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119131/ncs-v2-6-2-mounted-nvs-with-bt-settings-fails-to-init-after-a-mcumgr-dfu" /><item><title>RE: [NCS v2.6.2] Mounted NVS with BT settings fails to init after a Mcumgr DFU</title><link>https://devzone.nordicsemi.com/thread/523952?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 17:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08d213a9-916c-4ab6-ae4c-76af2a7b80a9</guid><dc:creator>ArchieA_C</dc:creator><description>&lt;p&gt;Collueage of ando20, fixed it. Was &lt;span&gt;&amp;nbsp;due to the partition manger interacting with &lt;/span&gt;&lt;code class="inline"&gt;zephyr,settings-partition&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NCS v2.6.2] Mounted NVS with BT settings fails to init after a Mcumgr DFU</title><link>https://devzone.nordicsemi.com/thread/523913?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 13:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4529a4c3-271a-402f-81af-d6f8925ab8e4</guid><dc:creator>ando20</dc:creator><description>&lt;p&gt;Hi Simon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the reply, you are correct in assuming I was referring to `settings_subsys_init()` that was a misstype on my behalf.&lt;/p&gt;
&lt;p&gt;For generating and applying the DFU, we are using the exact some code and configuration just incrementing the version number so there should be no difference in addresses. There are minor non-relevant firmware changes to ensure the hashes are different.&lt;/p&gt;
&lt;p&gt;We are happy to provide project files that may help your investigation through a private ticket if needed.&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;br /&gt;Andrew&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NCS v2.6.2] Mounted NVS with BT settings fails to init after a Mcumgr DFU</title><link>https://devzone.nordicsemi.com/thread/523904?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 13:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:269412d9-2c5b-49ed-8426-a2625c4f62c3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This seems very strange, and a Deadlock from within &lt;strong&gt;bt_enable&lt;/strong&gt;() makes it seem to me that maybe the DFU image is accessing/violating the address ranges used by the Bluetooth controller in your application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was looking for the&amp;nbsp;&lt;span&gt;&lt;strong&gt;settings_subsystem_init&lt;/strong&gt;() function you refer to, but there are no hits in the entire SDK, so I assume you mean the&amp;nbsp;&lt;/span&gt;&lt;strong&gt;settings_subsys_init&lt;/strong&gt;() function within &lt;strong&gt;bt_settings_init&lt;/strong&gt;() here?&lt;/p&gt;
&lt;p&gt;Can you check which addresses your DFU/Bootloader accesses compared to the original application here, as I assume something is put into the wrong address range or that some address ranges are changed during DFU that causes this issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>