<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can LPC1754 CRP settings be changed from code in runtime? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1754-CRP-settings-be-changed-from-code-in-runtime/m-p/712818#M28796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit Gombi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From the user manual, we can get that:&lt;/P&gt;&lt;P&gt;Code Read Protection is a mechanism that allows user to enable different levels of security in the system so that access to the on-chip flash and use of the ISP can be&lt;BR /&gt;restricted. When needed, CRP is invoked by programming a specific pattern in flash location at &lt;STRONG&gt;0x000002FC&lt;/STRONG&gt;.&lt;STRONG&gt; IAP commands are not affected by the code read protection.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;So, when you run the code, you can use the IAP to modify the flash address 0X000002FC, to change the CRP, then do a software reset, the modified CRP will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Sep 2017 03:27:27 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-09-04T03:27:27Z</dc:date>
    <item>
      <title>Can LPC1754 CRP settings be changed from code in runtime?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1754-CRP-settings-be-changed-from-code-in-runtime/m-p/712816#M28794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Customer needs to change CRP settings in runtime in code... Can it be done? If yes how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:37:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1754-CRP-settings-be-changed-from-code-in-runtime/m-p/712816#M28794</guid>
      <dc:creator>amit1234</dc:creator>
      <dc:date>2017-08-31T17:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can LPC1754 CRP settings be changed from code in runtime?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1754-CRP-settings-be-changed-from-code-in-runtime/m-p/712817#M28795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see why not. CRP is just a value in flash, so rewrite it (the whole sector containing the CRP value) and reset the cpu.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 19:51:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1754-CRP-settings-be-changed-from-code-in-runtime/m-p/712817#M28795</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2017-08-31T19:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can LPC1754 CRP settings be changed from code in runtime?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1754-CRP-settings-be-changed-from-code-in-runtime/m-p/712818#M28796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit Gombi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From the user manual, we can get that:&lt;/P&gt;&lt;P&gt;Code Read Protection is a mechanism that allows user to enable different levels of security in the system so that access to the on-chip flash and use of the ISP can be&lt;BR /&gt;restricted. When needed, CRP is invoked by programming a specific pattern in flash location at &lt;STRONG&gt;0x000002FC&lt;/STRONG&gt;.&lt;STRONG&gt; IAP commands are not affected by the code read protection.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;So, when you run the code, you can use the IAP to modify the flash address 0X000002FC, to change the CRP, then do a software reset, the modified CRP will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 03:27:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1754-CRP-settings-be-changed-from-code-in-runtime/m-p/712818#M28796</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-04T03:27:27Z</dc:date>
    </item>
  </channel>
</rss>

