<?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>Flash partition manager problem when using Zephyr Settings API with MCUBoot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120463/flash-partition-manager-problem-when-using-zephyr-settings-api-with-mcuboot</link><description>Hello, I am working on a project where we use MCUBoot. 
 Currently everything works fine, but now we wanted to introduce persistent storage of some key value pairs. 
 For that we use the Settings API. According to the documentation, a flash partition</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Apr 2025 09:13:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120463/flash-partition-manager-problem-when-using-zephyr-settings-api-with-mcuboot" /><item><title>RE: Flash partition manager problem when using Zephyr Settings API with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/531138?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 09:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5fe9018-593c-400a-b6ca-431144ecf0cf</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hello Benjamin,&lt;/p&gt;
&lt;p&gt;I see that you&amp;#39;ve tagged nRF5 SDK in the tags, while describing MCUboot, partition manager and other items relevant for nRF Connect SDK (NCS). As a starting point, could you state which SDK you&amp;#39;re using and which version of it? Is it correct that you&amp;#39;re working with the nRF52832?&lt;/p&gt;
[quote user=""]the MCUBoot, the partition manager is used.[/quote]
&lt;p&gt;In current releases of NCS, Partition Manager is required.&lt;/p&gt;
[quote user=""]I tried to create a pm.yaml in my project folder and add a partition called &amp;quot;storage&amp;quot; but that did not help. I could not find any examples for that[/quote]
&lt;p&gt;In the case that you&amp;#39;re using NCS, here&amp;#39;s some resources&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/storage/nvs/nvs.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/storage/nvs/nvs.html&lt;/a&gt;&amp;nbsp;settings storage through nvs&lt;/li&gt;
&lt;li&gt;Settings sample can be found in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/subsys/settings"&gt;&amp;lt;ncs&amp;gt;/zephyr/samples/subsys/settings&lt;/a&gt;. It does not use MCUboot by default, but it can be easily added through configurations. Which configurations depend on the SDK version you&amp;#39;re using, so let me know which and I&amp;#39;ll point you the correct way&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Let me know about these items and we&amp;#39;ll take it from there!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>