<?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>LPC CRP</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/33983/lpc-crp</link><description> 
Hello! 
I got keil project for LPC4088 

 
In start up file i see: 

 
; IF :LNOT::DEF:NO_CRP 
; AREA |.ARM.__at_0x02FC|, CODE, READONLY 
;CRP_Key DCD 0xFFFFFFFF 
; 

 
and in iap.h file i see: 

 
#define IAP_CRP_ENABLED 19 /*!&amp;lt; Code read protection</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LPC CRP</title><link>https://community.arm.com/thread/108980?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2016 05:26:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2e19042a-4017-4077-93a8-334e29876cb5</guid><dc:creator>edPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
If you want help about code, then you need to post the code
exactly as it&amp;#39;s written in the actual source code file.&lt;/p&gt;

&lt;p&gt;
Else, it&amp;#39;s impossible to know if your edits are correct or
not.&lt;/p&gt;

&lt;p&gt;
Another thing - you don&amp;#39;t have fixed number of lock attempts. The
CPR doesn&amp;#39;t have any counter for number of accesses. If the CPR value
is written in flash, then it&amp;#39;s just a question of how many times the
flash sector thatn stores this value can be erased and rewritten
without wearing out.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC CRP</title><link>https://community.arm.com/thread/83445?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2016 04:50:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dd37c560-aa8b-43b4-abc3-4736f95a26a1</guid><dc:creator>Egor Malcev</dc:creator><description>&lt;p&gt;&lt;p&gt;
Yeah! it is under comment.&lt;br /&gt;
But also we see&lt;/p&gt;

&lt;p&gt;
#define IAP_CRP_ENABLED 19 /*!&amp;lt; Code read protection enabled
*/&lt;/p&gt;

&lt;p&gt;
I tried to uncomment - it is not working.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC CRP</title><link>https://community.arm.com/thread/69729?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2016 03:53:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:553487b1-118d-45ed-af78-a4d4165fa400</guid><dc:creator>A Piscarius</dc:creator><description>&lt;p&gt;&lt;pre&gt;
; IF :LNOT::DEF:NO_CRP
; AREA |.ARM.__at_0x02FC|, CODE, READONLY
;CRP_Key DCD 0xFFFFFFFF
;
&lt;/pre&gt;

&lt;p&gt;
Are those semi-colons?&lt;/p&gt;

&lt;p&gt;
Don&amp;#39;t semi-colons usually indicate a comment in an assembler
file?&lt;/p&gt;

&lt;p&gt;
If the answer to both is yes, then no setting of a define is going
to magically activate those lines.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>