<?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>How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26024/how-to-use-fstorage-in-sdk-v14-0-with-s132-v5-0</link><description>Hi, 
 I have used fstorage to save data in flash in SDK V13.0 with S132. But in the SDK v14, it have changed so many such as fs_config_t struct has been removed and I don&amp;#39;t know how to use it. Could anyone give me some idear or is there a demo I could</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Oct 2017 10:48:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26024/how-to-use-fstorage-in-sdk-v14-0-with-s132-v5-0" /><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102556?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 10:48:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76fb1ab8-97b0-4580-9314-7175846bdaad</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;I change the address to 0x27000 and it could write data to flash after fstorage initialization. But I also meet a strange problem. I get the data from uart then write to the flash, it couldn&amp;#39;t write to flash. The clear and write function havn&amp;#39;t return any error. Also I have delay 100ms then to read the data after writing. What problem do you think? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102555?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 10:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae68768b-c26e-43b8-b1ea-25824c682b25</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;I change the address to&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102544?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 12:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7184f1b0-9fdd-4bb3-bfcc-a5456bf9b509</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;Those look fine. Does it work now? If not, what error do you get?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102552?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 11:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:958c4c4d-9ed7-4c3d-85cc-ce21e96adfdf</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;Now I set   start_addr to 0xFD000 and end_addr to 0xFFFFF in the  fstorage instance, then I write data at 0xFD000 or 0xFD100. Is there any problem with the address? I couldn&amp;#39;t understan it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102551?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 11:28:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8683eb4-30b1-4207-8d4e-a4e4102578ed</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;Hi Alice, I will try one last time:&lt;/p&gt;
&lt;p&gt;You should try to write to an address within the start_addr and end_addr that you have set in the fstorage instance. Good luck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102550?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 11:16:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:773dc7c0-c8b3-4838-aa09-fd98a3316137</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;The seting in the attached file is according sdk document &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Findex.html"&gt;link text&lt;/a&gt;. Anyway , how could I use fstorage to write data to flash?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102554?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 10:40:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d15b884b-7d5d-4363-b38e-7f97463441b0</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;In the attached file I see you set the start_addr to 0xFD000 and try to write at address 0xFC000....&lt;/p&gt;
&lt;p&gt;You set the instance start_addr to 0xFD000 then you define FLASH_ADDR to 0xFC000 and pass that to nrf_fstorage_write(), this is wrong. Am I explaning myself?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102553?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 09:41:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed671c9c-e68b-4a3f-afa2-7e76df1deecd</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;Yes. I also try to set the start_addr to 0xFD000 and try to write at 0xFD000 or other address, it also couldn&amp;#39;t write data to flash. I have attached the function, could you help me have a look?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102543?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 10:55:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaf3b553-3eeb-4610-9f39-be3cd4a19926</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;You can&amp;#39;t set the start_addr to 0xFD000 and try to write at 0xFC000, right?&lt;/p&gt;
&lt;p&gt;The error 0x10 is NRF_ERROR_INVALID_ADDRESS, from the documentation for nrf_fstorage_write():&lt;/p&gt;
&lt;p&gt;@retval  NRF_ERROR_INVALID_ADDR  If the address dest is outside the flash memory boundaries specified in p_fs, or if it is unaligned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102545?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 02:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0424fc7c-687b-4a02-b256-8cf223f62c84</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;It returns 0x10 error.The NRF_FSTORAGE_DEF init a instance to use address from 0xFD000, why FLASH_ADDR start at  0xFC000?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102549?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 14:36:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e1c694d-0a15-4ac2-813a-64abb33d99ec</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;Could you at least provide the value returned by those functions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102548?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 14:35:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14da6072-c50e-489b-8220-d10b7ebc288d</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;All the function return fail no matter it do erase or write or read，.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102547?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 13:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4279685-4855-4cad-98db-ca98c0032546</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;Do you receive an error? Which function is failing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102546?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 12:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e778390-2e31-4520-ae00-976deace403d</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;Yes, I have read the migration notes of SDK 14 for the fstorage and do as the experimental  Flash Storage, but it couldn&amp;#39;t write data to the flash. Could you help me have a look as the attachment? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use fstorage in SDK V14.0 with S132 v5.0</title><link>https://devzone.nordicsemi.com/thread/102542?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 11:27:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23103810-5eb2-4c42-9f52-5fcfa7953f39</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;Hi,
have you tried to read the migration notes of SDK 14?&lt;/p&gt;
&lt;p&gt;emdi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>