<?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>When power on,run app first at 0x1f000,then reset and run to boot loader,how to set UICR registers?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21831/when-power-on-run-app-first-at-0x1f000-then-reset-and-run-to-boot-loader-how-to-set-uicr-registers</link><description>When power on,run app first at 0x1f000,then reset and run to boot loader at 0x78000,how to set UICR registers to make this come true?I try to set the NRF_UICR-&amp;gt;NRFFW[0] in the app and then NVIC_SystemReset(),it doesn&amp;#39;t work.How can I set the start addr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 May 2017 12:21:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21831/when-power-on-run-app-first-at-0x1f000-then-reset-and-run-to-boot-loader-how-to-set-uicr-registers" /><item><title>RE: When power on,run app first at 0x1f000,then reset and run to boot loader,how to set UICR registers?</title><link>https://devzone.nordicsemi.com/thread/85744?ContentTypeID=1</link><pubDate>Fri, 05 May 2017 12:21:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:575b3dbe-6376-4846-9b92-7d47c98a0dab</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@sheep: we can continue discussion on the other case you created &lt;a href="https://devzone.nordicsemi.com/question/133544/how-to-set-bootloader-run-first-in-my-application/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When power on,run app first at 0x1f000,then reset and run to boot loader,how to set UICR registers?</title><link>https://devzone.nordicsemi.com/thread/85743?ContentTypeID=1</link><pubDate>Fri, 05 May 2017 08:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54b2340b-4b64-4097-b1ae-cc899fd06e80</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;When Cortex M4 in nRF52 is powered on, it always first executes the reset handler whose address is located at memory location 0x04. You need to have a reset handler that does the jump for you.&lt;/p&gt;
&lt;p&gt;Normally softdevice does this for you. It jumps to the application start address that it expects to start right after its end address. Are you not using softdevice?&lt;/p&gt;
&lt;p&gt;Setting NRF_UICR-&amp;gt;NRFFW[0] will not do anything in itself. It is just a reserved persistant memory for applications. You can use it like a general purpose UICR memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>