<?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>How to get gap addr by nrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79258/how-to-get-gap-addr-by-nrfjprog</link><description>Excuse me: 
 What is the register or Flash address that stores the device default MAC? I want to modify the default MAC by nrfjprog.thank you!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Sep 2021 15:14:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79258/how-to-get-gap-addr-by-nrfjprog" /><item><title>RE: How to get gap addr by nrfjprog</title><link>https://devzone.nordicsemi.com/thread/328010?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 15:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a12a25b0-4ad1-4393-a0f6-2d15389182be</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The default Bluetooth MAC address is derived from FICR, this is read-only. See this post:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/2112/how-to-get-6-byte-mac-address-at-nrf51822/9000#9000"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/2112/how-to-get-6-byte-mac-address-at-nrf51822/9000#9000&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To change the address you need to use the SoftDevice function &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=4_7_4_2_2_1_3_1#gaef69dc212534adf4b78d211edce2267b"&gt;sd_ble_gap_addr_set&lt;/a&gt;. If you want to set the address with nrfjprog, then your application would need to use this API, and the application would need to then fetch the address you want to set from e.g. the UICR Customer registers,&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/uicr.html#register.CUSTOMER-0-31"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52833/uicr.html#register.CUSTOMER-0-31&lt;/a&gt;&amp;nbsp;, that you then&amp;nbsp;have written to using nrfjprog&amp;nbsp;memwr command.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>