<?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>Serial number during FOTA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74487/serial-number-during-fota</link><description>Hi, 
 
 I have already implemented a full project on NRF52840 and all is working well. 
 Now I need to implement FOTA through BLE. 
 I have 4 questions please. 
 1. Can I program the serial number using FOTA ? 
 2. If the answer is negative for the first</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Apr 2021 12:10:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74487/serial-number-during-fota" /><item><title>RE: Serial number during FOTA</title><link>https://devzone.nordicsemi.com/thread/307011?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 12:10:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74bff02a-9e58-4128-ab99-f8a874d781a7</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. Giving each device a serial number through a FOTA BLE update is not a good idea.&lt;/p&gt;
&lt;p&gt;2. The FOTA process will erase the full flash page containing the bootloader settings file. This is due to how flash works. The full page needs to be erased as part of updating its contents.&lt;/p&gt;
&lt;p&gt;3. The issue of overwriting 0xFFFF0 is not the main issue. The issue is the value will get erased during the update process regardless.&lt;/p&gt;
&lt;p&gt;4. There are several addresses in UICR that are made specifically for this purpose. See the CUSTOMER fields, from address 0x10001080 upwards on the nRF52840. They get programmed the same way as you program anything else onto the SoC using a Segger programmer.&lt;/p&gt;
&lt;p&gt;Note also that there is a unique device identifier (DEVICEID) in the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fficr.html"&gt;FICR&lt;/a&gt; flash page, written by us during production. Depending on your use case, using the value already in FICR may be just as good a solution as writing your own ID in UICR.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>