<?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>LPC MicrocontrollersのトピックLPC802 | CRP2 not working as expected</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-CRP2-not-working-as-expected/m-p/1543104#M50494</link>
    <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;My customer has tried to use CRP level 2 to disable the eablilty to read the flash but keep the option to update the FW but it seems not working.&lt;/P&gt;&lt;P&gt;The customer uses FlashMagic to patch before flashing the image and after a successful patch and programming the device while patching the address 0x02FC with 0x87654321.&lt;/P&gt;&lt;P&gt;but the customer has still able to read the flash using the FlashMagic Tool every time, also we are able to see at the address 0x02FC the correct CRP "magic key" value that we patched.&lt;/P&gt;&lt;P&gt;Could you please advise what the customer is doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also, after a few tries, he places a 0x21436587 which broke the ISP communication and now he is not able to reflash the device and also can not read the device&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Waiting for your kind feedback, Thanks a lot.&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 05:03:44 GMT</pubDate>
    <dc:creator>shai_b</dc:creator>
    <dc:date>2022-10-25T05:03:44Z</dc:date>
    <item>
      <title>LPC802 | CRP2 not working as expected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-CRP2-not-working-as-expected/m-p/1543104#M50494</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;My customer has tried to use CRP level 2 to disable the eablilty to read the flash but keep the option to update the FW but it seems not working.&lt;/P&gt;&lt;P&gt;The customer uses FlashMagic to patch before flashing the image and after a successful patch and programming the device while patching the address 0x02FC with 0x87654321.&lt;/P&gt;&lt;P&gt;but the customer has still able to read the flash using the FlashMagic Tool every time, also we are able to see at the address 0x02FC the correct CRP "magic key" value that we patched.&lt;/P&gt;&lt;P&gt;Could you please advise what the customer is doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also, after a few tries, he places a 0x21436587 which broke the ISP communication and now he is not able to reflash the device and also can not read the device&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Waiting for your kind feedback, Thanks a lot.&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 05:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-CRP2-not-working-as-expected/m-p/1543104#M50494</guid>
      <dc:creator>shai_b</dc:creator>
      <dc:date>2022-10-25T05:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC802 | CRP2 not working as expected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-CRP2-not-working-as-expected/m-p/1543578#M50508</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I recommend trying to do a mass erase and then trying again to enter in ISP. If you have the IDE MCUXpresso please do these steps.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Without the USB debugger press the ISP button and connect to the PC.&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1666728403794.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198083iE420D56C33400E2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_0-1666728403794.png" alt="Pavel_Hernandez_0-1666728403794.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;when the erase is complete release the button.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This is a note application available for CRP levels maybe could helpful.&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN10968.pdf" target="_blank"&gt;AN10968 Using Code Read Protection in LPC1100 and LPC1300 (nxp.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 20:08:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-CRP2-not-working-as-expected/m-p/1543578#M50508</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-10-25T20:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC802 | CRP2 not working as expected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-CRP2-not-working-as-expected/m-p/1546669#M50582</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196430"&gt;@Pavel_Hernandez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I was trying to "PATCH" my hex/bin according to&amp;nbsp;the LPC802 User manual (UM11045) to enable CRP2.&lt;/P&gt;&lt;P&gt;but after patching my FW as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="not_works.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198702iEF59708CD26110CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="not_works.png" alt="not_works.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, I was able to read the code using the FlashMagic tool... it looks like the patch did not work.&lt;/P&gt;&lt;P&gt;as I said I was able to read the chip memory (after deploying the patch) and also I saw that the patch really changes these bytes in my FW but I would expect to get an error while trying to read flash due to CRP2/3 being enabled on the chip&amp;nbsp;but I was able to read my flash?&lt;/P&gt;&lt;P&gt;After a few trying and also trying to apply the CRP1 code (0x12345678) which not helped.&lt;/P&gt;&lt;P&gt;Please advise back on what I am doing wrong, your fast response will be highly appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 06:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-CRP2-not-working-as-expected/m-p/1546669#M50582</guid>
      <dc:creator>shai_b</dc:creator>
      <dc:date>2022-11-01T06:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC802 | CRP2 not working as expected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-CRP2-not-working-as-expected/m-p/1547414#M50600</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I researched for more information, and I find this app note I think you could follow the steps, &lt;A href="https://www.nxp.com/docs/en/application-note/AN10968.pdf" target="_blank" rel="noopener"&gt;AN10968 Using Code Read Protection in LPC1100 and LPC1300 (nxp.com).&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 05:21:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-CRP2-not-working-as-expected/m-p/1547414#M50600</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-11-02T05:21:06Z</dc:date>
    </item>
  </channel>
</rss>

