<?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>NRF52 Bootloader - Application Data Preserve</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60107/nrf52-bootloader---application-data-preserve</link><description>Hi, 
 I am using NRF52832 with secure bootloader to OTA my application in the field using Dual Bank updates and everything is working fine. In my application, I am using FDS library with 12 pages (48kb) reserved for my application data. 
 I was going</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Apr 2020 15:30:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60107/nrf52-bootloader---application-data-preserve" /><item><title>RE: NRF52 Bootloader - Application Data Preserve</title><link>https://devzone.nordicsemi.com/thread/244509?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 15:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be19e0d-1e08-4f76-be7b-fbe5fc6c23de</guid><dc:creator>Ankit Bhatnagar</dc:creator><description>&lt;p&gt;Thanks Edvin. Yes I have now set&amp;nbsp;&lt;span&gt;DFU_APP_DATA_RESERVED accordingly to avoid data loss. I just wanted to confirm that I understood was correct :)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Bootloader - Application Data Preserve</title><link>https://devzone.nordicsemi.com/thread/244476?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 13:51:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c29e0f-0c21-4286-bda1-b9d9c4e0b40b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;NRF_DFU_APP_DATA_AREA_SIZE is set from DFU_APP_DATA_RESERVED, and is used in&amp;nbsp;cache_too_small in&amp;nbsp;nrf_dfu_cache_prepare.&lt;/p&gt;
&lt;p&gt;As you say, the reason it was not erased is that your application wasn&amp;#39;t that large that it overwrote the FDS pages.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should really set&amp;nbsp;DFU_APP_DATA_RESERVED according to the size of your FDS requirements to avoid corrupted data in your FDS pages. You should update the bootloader.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>