<?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: LPC824 - Setting Code Read Protection (CRP) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-Setting-Code-Read-Protection-CRP/m-p/1865850#M56041</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/78576"&gt;@kwagner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1)"&lt;SPAN&gt;From what I've been reading, it sounds like the Code Read Protection isn't a dedicated register, but rather just a specific location in memory. Is this correct?&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; Yes.&lt;/P&gt;
&lt;P&gt;2) The minimum size of flash write and erase is 64 bytes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recommend you read out flash, then change the CRP configuration. Then program the whole flash again using new image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 03:07:20 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2024-05-15T03:07:20Z</dc:date>
    <item>
      <title>LPC824 - Setting Code Read Protection (CRP)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-Setting-Code-Read-Protection-CRP/m-p/1865642#M56037</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I was hoping to understand more about the Code Read Protection on the LPC824 microcontroller. From what I've been reading, it sounds like the Code Read Protection isn't a dedicated register, but rather just a specific location in memory. Is this correct?&lt;/P&gt;&lt;P&gt;Why it matters to me - I have a production released binary that was compiled without "Enable automatic placement of Code Read Protection field in image" selected. I'd like to enabled Code Read Protection after programming the binary. If I simply write 0x87654321 to memory location 0x02FC, is it possible that I overwrite a functional part of my binary?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kwagner_0-1715715303379.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/278749i87715432A76C922A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kwagner_0-1715715303379.png" alt="kwagner_0-1715715303379.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 19:35:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-Setting-Code-Read-Protection-CRP/m-p/1865642#M56037</guid>
      <dc:creator>kwagner</dc:creator>
      <dc:date>2024-05-14T19:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 - Setting Code Read Protection (CRP)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-Setting-Code-Read-Protection-CRP/m-p/1865850#M56041</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/78576"&gt;@kwagner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1)"&lt;SPAN&gt;From what I've been reading, it sounds like the Code Read Protection isn't a dedicated register, but rather just a specific location in memory. Is this correct?&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; Yes.&lt;/P&gt;
&lt;P&gt;2) The minimum size of flash write and erase is 64 bytes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recommend you read out flash, then change the CRP configuration. Then program the whole flash again using new image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 03:07:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-Setting-Code-Read-Protection-CRP/m-p/1865850#M56041</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-05-15T03:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 - Setting Code Read Protection (CRP)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-Setting-Code-Read-Protection-CRP/m-p/1866321#M56051</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;Thanks for the information! If I overwrite memory locations 0x02FC - 0x02FF in my binary, is that dangerous? Is this memory location specifically set aside for CRP or could this corrupt my software?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 13:11:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-Setting-Code-Read-Protection-CRP/m-p/1866321#M56051</guid>
      <dc:creator>kwagner</dc:creator>
      <dc:date>2024-05-15T13:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 - Setting Code Read Protection (CRP)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-Setting-Code-Read-Protection-CRP/m-p/1866736#M56055</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/78576"&gt;@kwagner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, wont' corrupt your software. The important is please read CRP level definition carefully and config&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the right CRP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 03:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-Setting-Code-Read-Protection-CRP/m-p/1866736#M56055</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-05-16T03:27:43Z</dc:date>
    </item>
  </channel>
</rss>

