<?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>nrf52840 dfu map</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86069/nrf52840-dfu-map</link><description>sdk nRF5_SDK_17.0.2_d674dde 
 I used some flash to store data. 
 But before dfu,it was equal to (FF FF FF FF FF FF FF FF|........) and after dfu,it was equal to (29 48 0C F0 FC FD 29 49|)H....)I) 
 It was changed after dfu. 
 I used flash adder:0x3e000</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Mar 2022 12:39:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86069/nrf52840-dfu-map" /><item><title>RE: nrf52840 dfu map</title><link>https://devzone.nordicsemi.com/thread/359365?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 12:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7236a9f7-9553-46b3-be6c-18346c8bb7f3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;During DFU, the nRF5 SDK bootloader will do a dual bank update if there is enough space for it, where it uses the available space between the end of the application and the beginning of the bootloader. However, the bootloader can be configured to lay off a configurable amount of pages, counting down from immediately below the bootloader. This is for instance where FDS pages are located, and also where you should locate any other flash page that you use for persistent storage (make sure they are below FDS pages again if that is used). Then, you need to adjust the&amp;nbsp;NRF_DFU_APP_DATA_AREA_SIZE define in the bootloader&amp;#39;s sdk_config.h so that it covers all the&amp;nbsp;reserved flash pages. With this, the&amp;nbsp;bootloader will never write to those pages.&lt;/p&gt;
&lt;p&gt;PS: See &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader.html#lib_bootloader_memory"&gt;Memory layout figure&lt;/a&gt;&amp;nbsp;to get a better overview of this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>