<?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>When NVS flash is enabled device does not boot/start</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126173/when-nvs-flash-is-enabled-device-does-not-boot-start</link><description>I&amp;#39;m currently trying to port some software to the nrf52840 dongle, and it works great, if I do not activate NVS. 
 As soon as I activate NVS, then the dongle shows no lifesigns (unable to see it in dmesg, no lights, etc.). 
 I suspect it has something</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Dec 2025 14:19:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126173/when-nvs-flash-is-enabled-device-does-not-boot-start" /><item><title>RE: When NVS flash is enabled device does not boot/start</title><link>https://devzone.nordicsemi.com/thread/557235?ContentTypeID=1</link><pubDate>Wed, 17 Dec 2025 14:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:093512a9-83f9-42e6-865b-5dc87b32f621</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I see now that this project is based on an older version of our SDK so the linked Q&amp;amp;A does not apply in your case (SDK v2.2.0 is not using the sysbuild and does not require use of the partition manager). That said, please try with the DT overlay and see if you get the same result:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
    aliases {
        led0 = &amp;amp;led1_red;
        led1 = &amp;amp;led1_blue;
    };
    chosen {
        /delete-property/ zephyr,code-partition;
    };
};

/delete-node/ &amp;amp;storage_partition;
/delete-node/ &amp;amp;slot0_partition;
/delete-node/ &amp;amp;slot1_partition;
/delete-node/ &amp;amp;scratch_partition;

&amp;amp;flash0 {

	partitions {        
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;

        mbr_partition: partition@0 {
            label = &amp;quot;softdevice&amp;quot;;
            reg = &amp;lt;0x00000000 0x0001000&amp;gt;;
        };

        code_partition: partition@1000 {
            label = &amp;quot;code_partition&amp;quot;;
            reg = &amp;lt;0x00001000 0x000db000&amp;gt;;
        };

        storage_partition: partition@dc000 {
            label = &amp;quot;storage&amp;quot;;
            reg = &amp;lt;0x000dc000 0x00004000&amp;gt;;
        };

        nrf5_bootloader: partition@e0000 {
            label = &amp;quot;nrf_bootloader&amp;quot;;
            reg = &amp;lt;0x000e0000 0x000020000&amp;gt;;
        };
	};
};&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: if you want to test this build on an nRF52840 DK, you must program the mbr.hex separately. It&amp;#39;s available in the &amp;nbsp;old nRF5 SDK under the following path &lt;span&gt;nRF5_SDK_17.1.0_ddde560/components/softdevice/mbr/hex.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When NVS flash is enabled device does not boot/start</title><link>https://devzone.nordicsemi.com/thread/557140?ContentTypeID=1</link><pubDate>Tue, 16 Dec 2025 21:52:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:616fbf02-b4b6-45b2-95ba-bb0364c88146</guid><dc:creator>defeat859</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the quick response! I&amp;#39;ve looked at the replies in the thread, and I&amp;#39;m unable to apply it in a meaningful way to my setup, which is most likely a lack of urderstanding how it works. I use neither sysbuild, or the partition manager. So I think it should &amp;quot; just work&amp;quot;. I&amp;#39;ve tried setting the following as well, but it doesn&amp;#39;t seem to aid anything.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BOOTLOADER_MCUBOOT=n
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I however disable the NVS settings backend, and use FCB for settings, then it works and I can save settings. But ideally it should use the NVS backend.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_USE_DT_CODE_PARTITION=n
CONFIG_NVS=n

CONFIG_SETTINGS_FCB=y
CONFIG_FCB=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there anything in the overlay that should be changed, to match the above thread? From reading it, it seems like if I&amp;#39;m not using sysbuild, it should &amp;quot;just work&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When NVS flash is enabled device does not boot/start</title><link>https://devzone.nordicsemi.com/thread/557103?ContentTypeID=1</link><pubDate>Tue, 16 Dec 2025 14:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d20bc9f7-52a8-44e5-85ce-543ac1090b32</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The problem could be that the NVS storage partition is overlapping with the bootloader that comes pre-programmed on the Dongle. Please have a look at this thread:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/118594/nrf52840-dongle-ble-peripheral_uart-example-sdk-migration-from-2-6-0-to-2-9-0"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/118594/nrf52840-dongle-ble-peripheral_uart-example-sdk-migration-from-2-6-0-to-2-9-0&lt;/a&gt;&amp;nbsp;tosee if it may be relevant.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>