<?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>DFU not preserving app data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2903/dfu-not-preserving-app-data</link><description>Hi all,
I have made some modifications to the bootloader example project (dfu_dual_bank_ble, s110) to get a bootloader that meets my requirements. It is working ok, I can upgrade the firmware over the air but application data does not get preserved.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Jun 2014 08:01:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2903/dfu-not-preserving-app-data" /><item><title>RE: DFU not preserving app data</title><link>https://devzone.nordicsemi.com/thread/11058?ContentTypeID=1</link><pubDate>Wed, 25 Jun 2014 08:01:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08b12565-81e7-4500-a454-f4f9a8d744ed</guid><dc:creator>jezule</dc:creator><description>&lt;p&gt;Alright, solved. My mistake. The size I was reserving in the bootloader (DFU_APP_DATA_RESERVED=0x400) didn&amp;#39;t match the size I was reserving in the application through pstorage_init.h: I was reserving 2048B (PSTORAGE_MAX_APPLICATIONS=2) and I was telling the bootloader to preserver just one page. I have changed DFU_APP_DATA_RESERVED and everything is working ok.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU not preserving app data</title><link>https://devzone.nordicsemi.com/thread/11057?ContentTypeID=1</link><pubDate>Tue, 24 Jun 2014 15:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c020e4-8ed6-4a9b-952d-c2320f349f5d</guid><dc:creator>jezule</dc:creator><description>&lt;p&gt;Forgot to mention that I have incresed the size reserved for the bootloader as I had added some functionality but I have made the pertinent changes in BOOTLOADER_REGION_START and in the project properties, as stated in the documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>