<?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>Issues with settings_storage erased after BLE DFU and inability to assign HEX to a partition using Partition Manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121318/issues-with-settings_storage-erased-after-ble-dfu-and-inability-to-assign-hex-to-a-partition-using-partition-manager</link><description>Hi Nordic team, 
 We&amp;#39;re experiencing two issues related to partition handling in Zephyr/NCS and are looking for your guidance 
 Issue 1: settings_storage is erased after BLE DFU 
 We are using BLE DFU and the settings subsystem to persist device parameters</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 May 2025 13:13:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121318/issues-with-settings_storage-erased-after-ble-dfu-and-inability-to-assign-hex-to-a-partition-using-partition-manager" /><item><title>RE: Issues with settings_storage erased after BLE DFU and inability to assign HEX to a partition using Partition Manager</title><link>https://devzone.nordicsemi.com/thread/534907?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 13:13:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e77127a6-0a7a-4b36-92e2-8d91cffef688</guid><dc:creator>Ivenhor</dc:creator><description>&lt;p&gt;Thanks, your reply helped on both problems.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with settings_storage erased after BLE DFU and inability to assign HEX to a partition using Partition Manager</title><link>https://devzone.nordicsemi.com/thread/534724?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 21:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61b94330-2b47-4057-9c8e-83478f4c7eb2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]Is there any MCUboot or Zephyr behavior we might be missing regarding retention of NVS/Settings partitions during DFU?[/quote]
&lt;p&gt;&lt;span&gt;If you are using the Android version of &amp;quot;nrf connect,&amp;quot; there is the options&amp;nbsp;: settings-&amp;gt;Mcu Manager options-&amp;gt;Erase application setting&lt;/span&gt;&lt;/p&gt;
&lt;p&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/pastedimage1746821511177v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;For&lt;span&gt;&amp;nbsp;iOS, see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/116552/how-to-avoid-erasing-of-the-application-setting-when-updating-the-firmware-via-bluetoothjavascript-void-0/511343"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user=""]Have we understood the purpose of this mechanism correctly?[/quote]
&lt;p&gt;That&amp;#39;s correct.&lt;/p&gt;
[quote user=""]Are there any specific requirements that must be followed?[/quote]
&lt;p&gt;You can check:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;There are no typos in the property name (it must match the partition name and end with&amp;nbsp;&lt;code dir="ltr"&gt;_PM_HEX_FILE&lt;/code&gt;).&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span&gt;The HEX file is valid and at the correct address.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If you are using sysbuild, try to set it in the sysbuild.cmake under your application.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>