<?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>Will OTA DFU NRF51822 overwirte the whole flash region ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17773/will-ota-dfu-nrf51822-overwirte-the-whole-flash-region</link><description>Hi everyone, I am working on an NRF51822 project which requires the use of non-volatile memory to store user profile (so I think either flash or external EEPROM). As far as I know, I can choose to perform OTA update on bootloader, softdevice and application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Nov 2016 09:05:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17773/will-ota-dfu-nrf51822-overwirte-the-whole-flash-region" /><item><title>RE: Will OTA DFU NRF51822 overwirte the whole flash region ?</title><link>https://devzone.nordicsemi.com/thread/68468?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2016 09:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cd964de-bbc0-4f55-bb00-3b57efad9536</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You can configure the bootloader to retain the app data section, shown on &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_memory.html"&gt;this&lt;/a&gt; page on our Infocenter. In order to configure the bootloader to retain this section you have to set the&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define DFU_APP_DATA_RESERVED           0x0000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to the number of bytes(must be a multiple of the flash page size) you want to retain.&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll find more information on &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_memory_appdata.html"&gt;this&lt;/a&gt; Infocenter page.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>