<?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>Save data to application data area and share with bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45135/save-data-to-application-data-area-and-share-with-bootloader</link><description>Hi all, 
 I using nrf52832 , sdk 15.1 
 - My app include : application + bootloader + application data area 
 
 - application define appliation data area is 12K byte (FDS_VIRTUAL_PAGES 3 , FDS_VIRTUAL_PAGE_SIZE 1024) 
 - bootloader define NRF_DFU_APP_DATA_AREA_SIZE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Mar 2019 09:11:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45135/save-data-to-application-data-area-and-share-with-bootloader" /><item><title>RE: Save data to application data area and share with bootloader</title><link>https://devzone.nordicsemi.com/thread/178022?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 09:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4745d96e-7406-4c33-b594-46210d3113a4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]- In bootloader ,&amp;nbsp;&lt;span&gt;nrf_dfu_flash already has a fstorage instance that conflicts&amp;nbsp;if I add FDS library to bootloader.&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;What error code/message did you get? Did you create a new fstorage instance ?&amp;nbsp;&lt;/p&gt;
[quote user=""]- When I save data to application data area, and restart to bootloader, Bootloader can override data to this area. I want to avoid this. So How to calculate a application data&amp;nbsp;satisfy the conditions : application can save, remain when reset, not override by bootloader, bootloader can read, and when&amp;nbsp; update firmware, It not be erase by this process.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Where are you saving the application data? Note that the&amp;nbsp;&lt;span&gt;Peer Manager uses FDS to store bond information at the already reserved pages(FDS_VIRTUAL_PAGES). If you want to store your your own data, you need to increase&amp;nbsp;NRF_DFU_APP_DATA_AREA_SIZE.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>