<?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>Preserving application data with growing bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20713/preserving-application-data-with-growing-bootloader</link><description>Application data is stored just before the bootloader. If I do a DFU upgrade with a larger bootloader than the one currently flashed, is this taken care of? That is, is the application data copied to the area just before the new bootloader? 
 I&amp;#39;ve read</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Mar 2017 11:23:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20713/preserving-application-data-with-growing-bootloader" /><item><title>RE: Preserving application data with growing bootloader</title><link>https://devzone.nordicsemi.com/thread/80828?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2017 11:23:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00492f5d-3607-4bc9-ae6c-982fdadf99ed</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jacob,&lt;/p&gt;
&lt;p&gt;Enlarging the size of the bootloader is not really supported with our bootloader, at least not out of the box.&lt;/p&gt;
&lt;p&gt;The reason for that is the address of the bootloader is written in UICR. It&amp;#39;s possible to erase the UICR and write new address to it but this is not handled by the current bootloader. (on nRF51 it was not possible to erase UICR).&lt;/p&gt;
&lt;p&gt;Therefore reserving the data when enlarging the bootloader is also not handled with our current bootloader.&lt;/p&gt;
&lt;p&gt;My suggestion is to reserve enough space for the bootloader so that you don&amp;#39;t have to move the bootloader address down in flash when you enlarging it in the future.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>