<?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>Issues with reading from flash in SDK14</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34790/issues-with-reading-from-flash-in-sdk14</link><description>I am using nrf_fstorage_read command to read data from flash. I have defined my start address as 0x68000 and end address as 0x72000. 
 I erase the memory through nRFgo studio and when I read the memory from start to end address from main I read 0xFFFFFFFF</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 May 2018 18:24:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34790/issues-with-reading-from-flash-in-sdk14" /><item><title>RE: Issues with reading from flash in SDK14</title><link>https://devzone.nordicsemi.com/thread/133891?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 18:24:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:134eb848-7f33-4710-a76a-3a46babf432c</guid><dc:creator>superpak</dc:creator><description>&lt;p&gt;Could you show us what your read function looks like?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with reading from flash in SDK14</title><link>https://devzone.nordicsemi.com/thread/133888?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 16:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b8220b5-613a-4291-a1c1-1fa738ea29db</guid><dc:creator>arai</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your suggestion was helpful.&lt;/p&gt;
&lt;p&gt;What I observed is if I have a wrapper function for&amp;nbsp;&lt;a class="code" title="Function for reading data from flash." href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/group__nrf__fstorage.html#gaebb4176a9aa38b3398e446efa0592939"&gt;nrf_fstorage_read&lt;/a&gt;&amp;nbsp;I am getting garbage values but when I am using it directly I get the correct values.I have not figured the problem yet but will proceed with a call to&amp;nbsp;&lt;a class="code" title="Function for reading data from flash." href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/group__nrf__fstorage.html#gaebb4176a9aa38b3398e446efa0592939"&gt;nrf_fstorage_read&lt;/a&gt;&amp;nbsp; for time being.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with reading from flash in SDK14</title><link>https://devzone.nordicsemi.com/thread/133774?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 09:22:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b75cac85-aa9f-44ac-a22e-8a31e4b179ea</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could it possibly be a problem with the read function? I&amp;#39;d suggest to do a flash dump of the fstorage section through the debugger before and after initializing flash to check if the flash is indeed corrupted. You can use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_command_line_tools_lpage.html?cp=5_1"&gt;nrfjprog &lt;/a&gt;for this.&lt;/p&gt;
&lt;p&gt;E.g.,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;gt; nrfjprog --memrd 0x68000 --n&amp;nbsp; &amp;nbsp;40960 &amp;gt; fstorage_data.txt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>