<?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>FOTA issue with NVS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84490/fota-issue-with-nvs</link><description>SDK: NCS 1.8.0 
 Based on: Peripheral LBS example 
 Central: Mobile (iPhone) 
 Peripheral: nRF52832 
 Hi, 
 We are in the process of adding FOTA to our custom project and we are running into issues related to NVS. This is a continuation of my previous</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Feb 2022 09:00:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84490/fota-issue-with-nvs" /><item><title>RE: FOTA issue with NVS</title><link>https://devzone.nordicsemi.com/thread/352244?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 09:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b28d8308-6433-4d96-9ee9-cff5682fc343</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Ah, I see the issue now.&lt;/p&gt;
&lt;p&gt;The flash ends at 0x80000. So you are trying to access an out of range address.&lt;/p&gt;
&lt;p&gt;Try reducing the size of the storage partition to 0x4000, and start the user partition at 7e000.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;flash0 {
	partitions {
		storage_partition: partition@7a000 {
			label = &amp;quot;storage&amp;quot;;
			reg = &amp;lt;0x7a000 0x4000&amp;gt;;
		};
		user_partition: partition@7e000 {
			label = &amp;quot;userstorage&amp;quot;;
			reg = &amp;lt;0x7e000 0x2000&amp;gt;;
		};
	};
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA issue with NVS</title><link>https://devzone.nordicsemi.com/thread/351919?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 18:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea152580-009a-4d5d-a294-c2ba1e9c48c8</guid><dc:creator>Tom Jimenez</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, that was a typo.&lt;/p&gt;
&lt;p&gt;I fixed it and the issue is still present.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA issue with NVS</title><link>https://devzone.nordicsemi.com/thread/351785?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 12:19:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cba5c1a-2511-4381-93b0-58ea95d2cd99</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It looks like your overlay has a typo:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;user_partition: partition@7e000 {&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Shouldn&amp;#39;t this be 80000 instead of 7e000?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>