<?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>Internal Flash Write &amp;amp; Read</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71887/internal-flash-write-read</link><description>Hi, 
 I am using NRF52832. I Have two doubts to clarify about internal flash 
 1) I have done the flash write of the timestamp in a specific address of internal flash. its writes successfully. But, while reading it prints garbage value 
 
 
 2) If I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Feb 2021 10:15:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71887/internal-flash-write-read" /><item><title>RE: Internal Flash Write &amp; Read</title><link>https://devzone.nordicsemi.com/thread/296191?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 10:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c43f199-c9d1-43c3-8014-a904686b35da</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is impossible to tell what is going on without more information. Please answer the following questions:&lt;/p&gt;
[quote user="tesc"]&lt;p&gt;What SDK (and version) are you using?&lt;/p&gt;
&lt;p&gt;What libraries/modules/APIs are you using for doing the flash writing and reading?&lt;/p&gt;
&lt;p&gt;Can you share the code doing the flash writing and reading?&lt;/p&gt;[/quote]
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal Flash Write &amp; Read</title><link>https://devzone.nordicsemi.com/thread/295989?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2021 10:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b3acb3a-98ff-4f78-a62c-7d03bbd8cda0</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;HI in that image first line is written. but while reading it shows that value&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Internal Flash Write &amp; Read</title><link>https://devzone.nordicsemi.com/thread/295976?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2021 10:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1457d8e0-35a9-4229-b504-0b9c84b8e408</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What SDK (and version) are you using?&lt;/p&gt;
&lt;p&gt;What libraries/modules/APIs are you using for doing the flash writing and reading?&lt;/p&gt;
&lt;p&gt;Can you share the code doing the flash writing and reading?&lt;/p&gt;
&lt;p&gt;Please note that flash operations take some time, and require program execution to be halted while it happens. Because of this, the flash API is typically asynchronous. There is one function to queue a write or erase, and then you get a callback when the operation has been successfully performed. If you read back before you get this callback, then the flash has not yet been written.&lt;/p&gt;
&lt;p&gt;Letter ÿ typically corresponds to 0xFF in extended ASCII encoding, and so what you read back is most likely a flash area filled with 0xFF, which is the state of flash when erased (not yet written to). So most likely you are reading before the write has been performed.&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>