<?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>I have a question with flash writing of nRF 52.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34556/i-have-a-question-with-flash-writing-of-nrf-52</link><description>Once written, you can not write it for the second time. It will not cause an error, but is there any way? Write the source code below. 
 NRF_FSTORAGE_DEF (nrf_fstorage_t fstorage) = { / * Set a handler for fstorage events. * / .evt_handler = fstorage_evt_handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 May 2018 12:24:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34556/i-have-a-question-with-flash-writing-of-nrf-52" /><item><title>RE: I have a question with flash writing of nRF 52.</title><link>https://devzone.nordicsemi.com/thread/132758?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 12:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6874752f-06b6-405c-9d22-14cd7114fda2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi, for all flash storage you can only write bits to &amp;#39;0&amp;#39;, not &amp;#39;1&amp;#39;. This means that you can write to a flash page multiple times, however if you need to change any bits from &amp;#39;0&amp;#39; to &amp;#39;1&amp;#39;, then you need to erase the entire flash page before writing updated data to the flash page, in such case you also need to temporary buffer other data in the flash page before writing them back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>