<?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 can I protect my chip from hex file copy?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1474/how-can-i-protect-my-chip-from-hex-file-copy</link><description>There is a check box on nRFgo Studio, Lock entire chip from readback. But a lot of chip can not burn one by one 
 
 
 Can I use AES block encryption to do this?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jan 2014 10:03:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1474/how-can-i-protect-my-chip-from-hex-file-copy" /><item><title>RE: How can I protect my chip from hex file copy?</title><link>https://devzone.nordicsemi.com/thread/6588?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2014 10:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:841a48d7-07f1-4580-9b75-040cc84a6e5e</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I expanded my answer above with further information on how to set RBP. Take a look, and please accept the answer if you find it satisfactory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I protect my chip from hex file copy?</title><link>https://devzone.nordicsemi.com/thread/6587?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2014 17:51:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c157fb94-6849-414d-86fe-e73b9c890694</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;Can I write or check UICR  with my own code in region1 by control NVMC ？ I don‘t know wether other programmer own this func or not . I can&amp;#39; not burn my chip one by one with nRFgo studio.  May be I should    make my own programmer for nrf51822?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I protect my chip from hex file copy?</title><link>https://devzone.nordicsemi.com/thread/6586?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2014 10:16:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:026cbf13-40f3-4e29-92ad-7c42a2924e12</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;If you want to avoid anyone being able to read out your firmware over the SWD interface, you have to enable readback protection. This can be done with nRFgo Studio, or any other programmer, as it&amp;#39;s really just setting a UICR register to a specific value. See the definition of the RBPCONF register in the nRF51 Reference Manual.&lt;/p&gt;
&lt;p&gt;There is no way you can use the AES module to encrypt your code or anything similar.&lt;/p&gt;
&lt;p&gt;Edit: You can set RBP in multiple ways:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Make code in your main application to enable flash writes, do the write and then disable flash writes.&lt;/li&gt;
&lt;li&gt;Include the value in your build, like done in the uicr_example in the SDK. This will cause RBP to be set during regular programming of the hex.&lt;/li&gt;
&lt;li&gt;Use a programmer to specifically set this register. This can be done with nrfjprog using the --rbp command line parameter, and most likely in similar ways with other programmers.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For further tips on production programming, take a look at &lt;a href="https://devzone.nordicsemi.com/index.php/how-are-you-going-about-production-programming-for-nrf51-parts"&gt;this question&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I protect my chip from hex file copy?</title><link>https://devzone.nordicsemi.com/thread/6585?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2014 21:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41cbe4ab-162e-400b-928b-558f370a6c95</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;Or make every hex different and can only run normal just at the right chip?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>