<?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>NVS restrictions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65332/nvs-restrictions</link><description>Hi , 
 I need to store strings in flash and came across the NVS. I referred to the example in samples/subsys/nvs and was able to do the nvs operation. 
 The following are my observations : 
 (1) the minimum sector_size , i can use is 4096 
 (2) Maximum</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Aug 2020 12:29:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65332/nvs-restrictions" /><item><title>RE: NVS restrictions</title><link>https://devzone.nordicsemi.com/thread/267004?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 12:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c7e1fdc-67f2-4604-a107-bec6f6bd418f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Saravanan&lt;/p&gt;
&lt;p&gt;1. According to the NVS documentation, the SECTOR_SIZE can be edited as long as you set it to be a multiple of the flash erase page size and a power of 2, so it needs to be a multiple of the page size.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Is there an error code to the &amp;quot;Usage Fault&amp;quot; error you&amp;#39;re getting. What other byte sizes have you tried when you get this error?&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>