<?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 protect the data written into flash from being erased when flashing nRF52832 ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59043/how-to-protect-the-data-written-into-flash-from-being-erased-when-flashing-nrf52832</link><description>As a matter of fact that there is no special EEPROM in nrf52832 , the user data which need to be stored in nrf52832 should be written into the flash of nrf52832 . The SDK of nrf52832 has offered the interface of flash_write in the &amp;quot;peripheral &amp;gt;&amp;gt;flash</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Mar 2020 14:14:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59043/how-to-protect-the-data-written-into-flash-from-being-erased-when-flashing-nrf52832" /><item><title>RE: How to protect the data written into flash from being erased when flashing nRF52832 ?</title><link>https://devzone.nordicsemi.com/thread/239758?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 14:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94db912f-ebcd-41c5-938a-7aa632b217c3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I must admit I am not experienced with IAR, but I would have expected that it only erased the pages that the application spans. Have you verified that you get a full chip erase? You can easily see the memory layout if you add the application to the nRF Connect Programmer app. Or could it be that for instance, the application is larger than you expected, or that your data is on a page that is also occupied by the application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>