<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>Regarding CRP Protection</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/40104/regarding-crp-protection</link><description> 
Hello, 

 
Can we change CRP protection from code. Like this 
const unsigned long crp __attribute__ ((at(0x2FC))) = 0x87654321; 

 
I need code read protection in my project. But if I enable it then
JTAG will be disabled. To make it work in need, I</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Regarding CRP Protection</title><link>https://community.arm.com/thread/140524?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2013 00:33:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:20eca2f2-05ed-44cd-a428-5079fcca2493</guid><dc:creator>Pradeep Pol</dc:creator><description>&lt;p&gt;&lt;p&gt;
Yes, I am already using Secondary USB bootloader for firmware
upgrade and ISP hardware is not provided on Card.&lt;br /&gt;
I was thinking about CRP break for Debugging of particular card which
is already programmed with CRP2 Level protection.&lt;/p&gt;

&lt;p&gt;
Pradeep Pol&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding CRP Protection</title><link>https://community.arm.com/thread/136977?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2013 00:25:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5a3f8f65-765f-4091-841f-7d64be9ce775</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
As long as you use CRP1 or 2, ISP mode is still available but
requires you to erase the entire chip to make changes. IAP is still
available in those modes, too. If you can deliver an image to your
application via serial, USB, TCP/IP etc., field upgrades are not an
issue.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding CRP Protection</title><link>https://community.arm.com/thread/128068?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2013 00:20:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0b82b477-c210-4e19-b2f8-2705c4fa1443</guid><dc:creator>Pradeep Pol</dc:creator><description>&lt;p&gt;&lt;p&gt;
I dont have provision for ISP on my board to program it after
programming once with CRP2 protection enabled. Then In field, it will
be difficult to program it, if necessary.&lt;br /&gt;
Thats why, I was thinking about said scheme. I know its not a good
option.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding CRP Protection</title><link>https://community.arm.com/thread/117217?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2013 00:13:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:847fd462-1916-4c9e-b1e7-28438c8b0cd2</guid><dc:creator>Pradeep Pol</dc:creator><description>&lt;p&gt;&lt;p&gt;
@Tamir&lt;/p&gt;

&lt;p&gt;
You mean to say I should not give this option to break CRP in any
case.&lt;br /&gt;
Is there any other way to achieve it?&lt;/p&gt;

&lt;p&gt;
Pradeep Pol&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding CRP Protection</title><link>https://community.arm.com/thread/106932?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2013 23:57:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7d4e0b53-2459-41e3-87c5-651a14e3d100</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
Your destiny is to get robbed again and again and again.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding CRP Protection</title><link>https://community.arm.com/thread/81050?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2013 22:29:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:68e92e97-eb6b-408a-b4a7-8081a73e0afd</guid><dc:creator>Pradeep Pol</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thank you for replies.&lt;/p&gt;

&lt;p&gt;
Sorry for late comment.&lt;/p&gt;

&lt;p&gt;
I should enable CRP to protect my code. Because its commercial
product and already one of our previously developed product has been
copied by someone somewhere in China. So there is lot of pressure on
us about code protection.&lt;/p&gt;

&lt;p&gt;
I am using LPC1788 MCU. For programming, I am using USB Secondary
bootloader. So I will keep 2 Level password protected button on my
HMI and also on Web Server. using that button as input I will use IAP
to overwrite CRP.&lt;/p&gt;

&lt;p&gt;
I want to break CRP protection, in case where debugging of
particular card is needed.&lt;/p&gt;

&lt;p&gt;
Pradeep Pol&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding CRP Protection</title><link>https://community.arm.com/thread/68145?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2013 02:14:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dea6927c-f26c-45ec-9682-ccbc17825183</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
The CRP for your processor (that I have to guess model off because
you decided it wasn&amp;#39;t important to specify) is nothing magic.&lt;/p&gt;

&lt;p&gt;
It is 4 bytes in the flash, that are read by the boot loader which
then decides how to initialize the processor - or decides what the
ISP are allowed to do. Obviously, you can&amp;#39;t just assign a new value
to the CRP variable since it is stored in flash. IAP can do things
that isn&amp;#39;t allowed by JTAG or ISP. But the question is why you should
bother.&lt;/p&gt;

&lt;p&gt;
As developer: program a unit without CRP enabled. There. That was
simple.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding CRP Protection</title><link>https://community.arm.com/thread/61743?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2013 01:37:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d09e22fe-04a2-4f6a-b88b-4d2a9b94b3f3</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
What the point in CRP then, if you can disable it like that?!&lt;br /&gt;
The answer is no - you cannot. The only way out of using CRP1 or
CRP2, and deleting the chip entirely to get JTAG working again.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>