<?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>Migration of Flash data from SDK V11 to V12</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18386/migration-of-flash-data-from-sdk-v11-to-v12</link><description>I have an old application which I want to add the bootloader and secure DFU.
I have to migrate to SDK version 12 and I have some persistent data which the old program is writing to locations 0x79000 to 0x7D000. I don&amp;#39;t want to do any special memory manipulation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Dec 2016 08:43:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18386/migration-of-flash-data-from-sdk-v11-to-v12" /><item><title>RE: Migration of Flash data from SDK V11 to V12</title><link>https://devzone.nordicsemi.com/thread/70972?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 08:43:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80eb67ef-f717-46b8-aa20-4f9834096867</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Kevin,
Is it obligated to have your data at 0x79000 to 0x7D000 ?
It&amp;#39;s overlapping the bootloader area, and you would need to either move that or move the bootloader. I would suggest to move the application data.&lt;/p&gt;
&lt;p&gt;The memory layout for the application data and the declaration to reserve it is explained &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/lib_bootloader.html?cp=4_0_1_3_5_0_1#lib_bootloader_memory"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In SDK v12, the bootloader start address is at 0x78000.&lt;/p&gt;
&lt;p&gt;Note that if you use peer manager, the fds module is used for storing bond information and will reserve 3 pages (1 page for swap 2 page = 8kB for data). I would suggest you to either use fds or fstorage to store your app data also. You may need to increase the FDS_VIRTUAL_PAGES to meet your requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration of Flash data from SDK V11 to V12</title><link>https://devzone.nordicsemi.com/thread/70971?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 21:39:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bbd16af-883b-4503-be2c-b75c932b4971</guid><dc:creator>Kevin s</dc:creator><description>&lt;p&gt;I have not yet added a bootloader, but when I do it will be from 12.2.
Right now, I&amp;#39;m in development and using the IAR embedded workbench to program the chip.
DFU will be near future when the hardware is in the field; just needing to know before I start my final changes to the firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration of Flash data from SDK V11 to V12</title><link>https://devzone.nordicsemi.com/thread/70970?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 14:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:022df733-35f7-4d3d-a912-946e9fe8bdbc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Kevin,&lt;/p&gt;
&lt;p&gt;Could you clarify if you have a bootloader already on the chip ? Of there is, which SDK version that was from ?&lt;/p&gt;
&lt;p&gt;Can you flash something to the chip or everything should be done by DFU ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>