<?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>saving information through a DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43137/saving-information-through-a-dfu</link><description>Hi, 
 
 The user can change some parameters by issuing BLE commands to my device from a phone app. 
 I want to be able to preserve these parameters that may have been changed by users, even after a DFU (OTA) has happened. 
 Currently, I store these in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jan 2019 13:37:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43137/saving-information-through-a-dfu" /><item><title>RE: saving information through a DFU</title><link>https://devzone.nordicsemi.com/thread/168713?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 13:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f9c7e3c-398e-40b2-9218-eb07df852b4b</guid><dc:creator>JayPRab</dc:creator><description>&lt;p&gt;Thanks Bjorn!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saving information through a DFU</title><link>https://devzone.nordicsemi.com/thread/168712?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 13:36:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ea2531f-9082-43c0-9cf5-651177890fbc</guid><dc:creator>JayPRab</dc:creator><description>&lt;p&gt;Thanks Mrono! Very helpful. Will check it out&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saving information through a DFU</title><link>https://devzone.nordicsemi.com/thread/168652?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 10:09:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab422a7d-33e5-4ee0-8e46-1c94d431e0b6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Jay, as &lt;a href="https://devzone.nordicsemi.com/members/mrono"&gt;mrono&lt;/a&gt; states the Nordic Bootloaders (both Secure and Legacy) have a configurable option that allows you to set the number of pages below the bootloader that should be retained during a DFU. See &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v12-3-0/lib_bootloader_dfu_banks?293#lib_bootloader_dfu_appdata"&gt;Preserving application data&lt;/a&gt;&amp;nbsp;in the SDK v12.3.0 documentation of the Secure Bootloader for the nRF51 and see&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v11-0-0/bledfu_memory_appdata"&gt;Preserving application data&lt;/a&gt;&amp;nbsp;if you&amp;#39;re using the Legacy Bootloader (SDK v11.0.0 or older).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saving information through a DFU</title><link>https://devzone.nordicsemi.com/thread/168617?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 08:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f50aa26d-abda-4d2b-b080-3999885452db</guid><dc:creator>mrono</dc:creator><description>&lt;p&gt;Nordic&amp;#39;s secure bootloader has a configuration option for that (NRF_DFU_APP_DATA_AREA_SIZE). So if you are using the Nordic libraries for flash data storage and DFU then setting that should be all that is needed.&lt;/p&gt;
&lt;p&gt;Basically the bootloader assumes the data area is located at the last flash pages before the bootloader, so the define above tells it how many pages to leave untouched.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>