<?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>flash writing and reading issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56709/flash-writing-and-reading-issue</link><description>Hi, 
 I am working on writing data on flash and reading it back. 
 i am not able to read data which i am writing to it . i am posting my flash file please suggest where i am making mistake 
 typedef struct wallet_detail { uint8_t firstWallet_name1[WALLET_NAME_SIZE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 18 Jan 2020 17:03:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56709/flash-writing-and-reading-issue" /><item><title>RE: flash writing and reading issue</title><link>https://devzone.nordicsemi.com/thread/229725?ContentTypeID=1</link><pubDate>Sat, 18 Jan 2020 17:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33bf4b1c-fe61-4533-a527-8d7d6d485a92</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;it&amp;#39;s hard to read unformatted code, please use &amp;quot;insert code&amp;quot; feature when posting a long code snippet. Just that strikes an eye in &lt;span&gt;FLASH_If_Erase() -&amp;nbsp;nrf_fstorage_erase() will never get called&lt;/span&gt;:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;ret_code_t &lt;strong&gt;result = NRF_ERROR_NO_MEM&lt;/strong&gt;;&lt;br /&gt; uint8_t timeout = 0;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;while (timeout &amp;lt; 20 &amp;amp;&amp;amp; &lt;strong&gt;result == NRF_SUCCESS&lt;/strong&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>