<?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 use nrfjprog to write UICR.BOOTLOADERADDR</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26300/how-to-use-nrfjprog-to-write-uicr-bootloaderaddr</link><description>Programming the bootloader
How the MBR knows the start address of the bootloader? 
 pape says : This start address is defined in UICR.BOOTLOADERADDR, which is located at address 0x10001014 (see NRF_UICR_BOOTLOADER_START_ADDRESS),how to write number</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Oct 2017 06:17:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26300/how-to-use-nrfjprog-to-write-uicr-bootloaderaddr" /><item><title>RE: how to use nrfjprog to write UICR.BOOTLOADERADDR</title><link>https://devzone.nordicsemi.com/thread/103519?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 06:17:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59b165c7-553b-4ddf-a30b-88291bb60f77</guid><dc:creator>mijiale65</dc:creator><description>&lt;p&gt;OK！ I will do it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to use nrfjprog to write UICR.BOOTLOADERADDR</title><link>https://devzone.nordicsemi.com/thread/103521?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 14:48:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4eb90d5-8238-41e9-8807-3c8b5381bda5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help :) I would appreciate if you could mark the answer as accepted/correct by clicking the check mark in the grey circle to the left of the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to use nrfjprog to write UICR.BOOTLOADERADDR</title><link>https://devzone.nordicsemi.com/thread/103520?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 05:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc511c53-a89e-42f5-a0d6-9cd76a943bf4</guid><dc:creator>mijiale65</dc:creator><description>&lt;p&gt;Thank you for your careful answer！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to use nrfjprog to write UICR.BOOTLOADERADDR</title><link>https://devzone.nordicsemi.com/thread/103518?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2017 07:47:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b51689f6-8e42-4535-b0d3-6eabb69419d5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If you&amp;#39;re using the bootloader example from the SDK, then this is already handled by the following variable defined in &lt;code&gt;nrf_bootloader_info.c&lt;/code&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t  m_uicr_bootloader_start_address __attribute__((at(NRF_UICR_BOOTLOADER_START_ADDRESS)))
                                                = BOOTLOADER_START_ADDR
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;which ensures that the linker script will write the bootloader start address
to the UICR register. This value will be written in the HEX file and thus written to
UICR when the bootloader is flashed into the chip.&lt;/p&gt;
&lt;p&gt;However, if you want to manually write to the UICR register then you can use the following nrfjprog command&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog -f nrf52 --memwr 0x10001014 --val &amp;lt;value&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>