<?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>nrf_fstorage_erase error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37470/nrf_fstorage_erase-error</link><description>I try flash read, write and erase with flash_fstorage_example sdk 15 on nrf52 dk 
 On main.c i can write and read with nrf_fstorage functions. 
 When i try nrf_fstorage_erase function I take an error 
 
 
 
 It returns</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Aug 2018 10:19:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37470/nrf_fstorage_erase-error" /><item><title>RE: nrf_fstorage_erase error</title><link>https://devzone.nordicsemi.com/thread/145885?ContentTypeID=1</link><pubDate>Mon, 27 Aug 2018 10:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80897454-ae5f-4dfb-8d45-d15c2ff76526</guid><dc:creator>emrekr</dc:creator><description>&lt;p&gt;It works, thaks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_fstorage_erase error</title><link>https://devzone.nordicsemi.com/thread/144302?ContentTypeID=1</link><pubDate>Wed, 15 Aug 2018 11:15:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba53dc9a-2f49-4a78-80c8-961ebd072437</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You will see from the usage of NRF_FSTORAGE_DEF in the fstorage example that the flash area initialized for the fstorage instance is 0x3e000 to 0x3fff. On the nRF52 DK, which uses nRF52832 QFAA, CODEPAGESIZE and CODESIZE are 0x1000 and 0x80 respectively, which means you try to erase at address 0x7f000, i.e. outside of the range for which the fstorage instance was initialized.&lt;/p&gt;
&lt;p&gt;Please have a look at the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_fstorage.html"&gt;Experimental: Flash Storage documentation&lt;/a&gt;, and also keep in mind the location of MBR, SoftDevice, application, etc. as applicable for your project.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>