<?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>I want to keep the previously set values ​​undeleted even after OTA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56399/i-want-to-keep-the-previously-set-values-undeleted-even-after-ota</link><description>Hi, Everyone 
 Environment: SDK15.3, nRF52840, Keil Compiler 
 I want to keep the previously set values ​​undeleted even after OTA 
My question is
1) Which method is better to use UICR, FICR or FDS?
2) What should I do if I keep the previously set values</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jan 2020 00:30:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56399/i-want-to-keep-the-previously-set-values-undeleted-even-after-ota" /><item><title>RE: I want to keep the previously set values ​​undeleted even after OTA</title><link>https://devzone.nordicsemi.com/thread/228907?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 00:30:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87f5a9e3-f112-4391-a3f6-695a3958f2fb</guid><dc:creator>alex kim</dc:creator><description>&lt;p&gt;Hi Vidar&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your answer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Alex&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to keep the previously set values ​​undeleted even after OTA</title><link>https://devzone.nordicsemi.com/thread/228819?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2020 13:48:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:793e1838-ba55-4bb9-b40b-61e256a35b67</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Alex,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;FDS_VIRTUAL_PAGE_SIZE is given in number 4-byte words, so each FDS page is actually 4096 bytes. So should be 3 * 4096&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to keep the previously set values ​​undeleted even after OTA</title><link>https://devzone.nordicsemi.com/thread/228768?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2020 11:00:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d4c96ef-cdd3-47ce-bfeb-9adb83d10c32</guid><dc:creator>alex kim</dc:creator><description>&lt;p&gt;Hi, Vidar&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for the quick response.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; My FDS Setting is&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define FDS_VIRTUAL_PAGES 3 &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#FDS_VIRTUAL_PAGE_SIZE is 1024.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; Can I set NRF_DFU_APP_DATA_AREA_SIZE to 3 * 1024?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Alex&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to keep the previously set values ​​undeleted even after OTA</title><link>https://devzone.nordicsemi.com/thread/228479?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 07:25:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4220877c-0d0a-43bf-a7b4-13ac310491db</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;Sorry, it was a typo, it&amp;#39;s called NRF_DFU_APP&lt;strong&gt;_DATA_&lt;/strong&gt;AREA_SIZE and is defined in nrf_dfu_types.h and in the bootloader&amp;#39;s sdk_config header.&lt;/p&gt;
&lt;p&gt;&lt;a class="" style="background-color:#fafafa;color:windowtext;font-family:Calibri, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;padding-right:2px;text-align:start;text-decoration:underline;text-indent:0px;text-transform:none;white-space:nowrap;" title="Memory layout" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader.html?cp=7_1_3_5_0_7#lib_bootloader_memory"&gt;Memory layout&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to keep the previously set values ​​undeleted even after OTA</title><link>https://devzone.nordicsemi.com/thread/228477?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 07:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dfaef6b-5749-4843-9464-3c6de9127ac1</guid><dc:creator>alex kim</dc:creator><description>&lt;p&gt;Hi, Vidar&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I searched dfu and app examples but couldn&amp;#39;t find them.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; Where is NRF_DFU_APP_FLAG_AREA_SIZE defined?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Alex&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to keep the previously set values ​​undeleted even after OTA</title><link>https://devzone.nordicsemi.com/thread/228472?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 06:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0851a9b-db8e-43ef-a30b-120e92910d79</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would recommend you to use FDS for this. Just remember to make sure the NRF_DFU_APP_FLAG_AREA_SIZE flag matches the size of your FDS region so the data cannot become overwritten during the DFU process. UICR is primarily intended for data you only store once and never update. Storing of a serial number, for instance. FICR is programmed in our production and cannot be erased.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>