<?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>fstorage error issue with sdk 14.1.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29965/fstorage-error-issue-with-sdk-14-1-0</link><description>Hello, 
 I would like to use fstorage function, but when using the example of sdk 14.1.0,
I had some errors, please help to let me know what problem is and how to define the start address, end_addr address.... 
 * last page of flash available to write</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Jan 2018 14:59:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29965/fstorage-error-issue-with-sdk-14-1-0" /><item><title>RE: fstorage error issue with sdk 14.1.0</title><link>https://devzone.nordicsemi.com/thread/119161?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 14:59:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0d3a854-c254-4318-9d7f-2e1ab4d1b41a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Yes, to preserve application data during a DFU you need to use DFU_APP_DATA_RESERVED . See this &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_bootloader_dfu_banks.html?cp=4_0_0_3_5_1_2_2#lib_bootloader_dfu_appdata"&gt;page&lt;/a&gt;. I will close this post, and we can continue the discussion in your &lt;a href="https://devzone.nordicsemi.com/question/190418/nrf_fstorage_def-address-defined-issue-with-1410/"&gt;other post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fstorage error issue with sdk 14.1.0</title><link>https://devzone.nordicsemi.com/thread/119160?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 06:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e14a3de1-aeff-4580-bb3c-5e487701ef0a</guid><dc:creator>edmond.yun</dc:creator><description>&lt;p&gt;Hello, Sigurd,&lt;/p&gt;
&lt;p&gt;I arrange current situation in detail, please refer the following link,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/190418/nrf_fstorage_def-address-defined-issue-with-1410/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and there is a question :
if using fds module, the user data can be preserved after doing dfu, is it right ?
the data is stored in app data region of memory map....
where is located(saved) the data in memory map ? is app data ?
I would like to preserve the user data after doing dfu, if so, need to use app data ? is it right ?
please help to let me know the method...&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fstorage error issue with sdk 14.1.0</title><link>https://devzone.nordicsemi.com/thread/119159?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 13:12:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e994908-970f-411d-a8ae-9aa466fa914e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please see the figure in &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_bootloader.html?cp=4_0_0_3_5_0_1#lib_bootloader_memory"&gt;this link&lt;/a&gt;. It is correct that the end address on the last page of the flash is &lt;code&gt;0x80000&lt;/code&gt; on the nRF52832, but if you have added DFU/bootloader to your code, the bootloader, MBR and bootloader settings page will be located at the end of flash here. In the code you posted, you are using 0x0007F000 - 0x000FF000, this is the bootloader settings page if you have added the bootloader and cannot be used for application data.&lt;/p&gt;
&lt;p&gt;About erasing, what does the &lt;code&gt;nrf_fstorage_erase()&lt;/code&gt; function return when you try to erase ?&lt;/p&gt;
&lt;p&gt;Note: &amp;quot;nrf_fstorage_sd&amp;quot;  calls are queued until they are done and will cause the queue to fill up if you issue too many calls in a short window of time. Erase operations are by far the slowest and can take 10s of milliseconds to complete. Whenever you perform an fstorage call you should verify that the there was room in the queue before progressing. If there was not enough room the application should wait before retrying.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fstorage error issue with sdk 14.1.0</title><link>https://devzone.nordicsemi.com/thread/119158?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 04:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4764437e-2c30-4989-89fd-3aa1553b4830</guid><dc:creator>edmond.yun</dc:creator><description>&lt;p&gt;if using the original example, it can write the data in 0x3e000 ~ 0x3f000. but it can&amp;#39;t try to erase the data,
and if using the same example in my code(adding DFU, more custom service), write/erase function can&amp;#39;t be normally worked, why...? please help to let me know the root cause,&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>