<?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>can&amp;#39;t Write RBPCONF</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4447/can-t-write-rbpconf</link><description>i want to prevent somebody to copy my app by SWD interface,so i set RBPCONF register in main application,but i find that it is no use writing RBPCONF register.
First ,i write 0xFFFF0000 to RBPCONF register(NRF_UICR-&amp;gt;RBPCONF =0xFFFF0000;),Then i read</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Nov 2014 13:52:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4447/can-t-write-rbpconf" /><item><title>RE: can't Write RBPCONF</title><link>https://devzone.nordicsemi.com/thread/15791?ContentTypeID=1</link><pubDate>Thu, 13 Nov 2014 13:52:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4eedc66-4daf-419e-9152-945827fac308</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;The UICR register is placed in flash so you can&amp;#39;t access is directly like you are trying to do. Instead you must do a flash write operations. If you&amp;#39;re not using a softdevice you can set this register by writing:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_nvmc_write_word(0x10001004, 0xFFFF0000);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.1.0/s110/html/a00937.html#ga8b49f2e72e97291aecc18ce396956eed"&gt;If you are using a softdevice you can write to the same register by using the softdevice wrapper function:&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sd_flash_write()
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>