<?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>Data loss after DFU update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75441/data-loss-after-dfu-update</link><description>The serial number of the product is stored in the memory of the nRF52. After DFU update, this memory area is erased (or changed to new one from new FW). Please let us know how we can save data on chip&amp;#39;s memory in a proper way (and not loss in while DFU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 May 2021 13:27:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75441/data-loss-after-dfu-update" /><item><title>RE: Data loss after DFU update</title><link>https://devzone.nordicsemi.com/thread/311075?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 13:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:056d091b-5122-4fd8-81a3-b613a6569177</guid><dc:creator>YaroslavRakhnenko</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;solution (based on your reply):&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;DFU_APP_DATA_RESERVED = CODE_PAGE_SIZE * 8&amp;nbsp; (see nrf_dfu_utils for datails)&lt;br /&gt;A flash page is 1024 32-bit words which is 4096 byte. &lt;br /&gt;8 flash pages are 32k =&amp;gt; 0x8000. The start address is END_ADDRESS - 0x8000&lt;br /&gt;END_ADDRESS = BOOTLOADER_START_ADDR = 0x78000 =&amp;gt; 0x78000-0x8000=0x6E000&lt;br /&gt;DFU_APP_DATA_ADDR =&amp;nbsp; 0x6E000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data loss after DFU update</title><link>https://devzone.nordicsemi.com/thread/310964?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 09:13:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d78990a3-e3e9-42f3-8bc4-0c54960c9451</guid><dc:creator>William.wei</dc:creator><description>&lt;p&gt;there is setting in&amp;nbsp;bootloader :&lt;code&gt;DFU_APP_DATA_RESERVED&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;please see this post:&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17185/updating-the-dfu-with-different-app-data-reserve-size"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/17185/updating-the-dfu-with-different-app-data-reserve-size&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>