<?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のトピックHow do I enable read protect on a LPC546 using ECRP</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-I-enable-read-protect-on-a-LPC546-using-ECRP/m-p/1497226#M49719</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an LPC546 and I am trying to prevent reading the code trough SWD and ISP while keeping the mass erase available.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have tried ECRP value 0x00015800 which prevents reading the code, but also prevents mass erase trough ISP.&lt;BR /&gt;Which makes sense because it blocks all ISP and SWD.&lt;/P&gt;&lt;P&gt;Then I tried ECRP value 0x0002A800 which will allow access trough SWD and ISP. But does not prevent reading the code trough SWD.&lt;/P&gt;&lt;P&gt;Reading UM10912 revision 2.4 chapter 5.4.5.4 ISP Write to RAM.&lt;BR /&gt;In Table 17 it says:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;This command is used to download data to RAM. This command is blocked when code read protection levels 2 or 3 are enabled. Writing&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How do I enable code read protection levels 2 or 3 on a LPC546?&lt;BR /&gt;Because I can not find this in chapter 43.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 08:42:19 GMT</pubDate>
    <dc:creator>gvisser</dc:creator>
    <dc:date>2022-08-01T08:42:19Z</dc:date>
    <item>
      <title>How do I enable read protect on a LPC546 using ECRP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-I-enable-read-protect-on-a-LPC546-using-ECRP/m-p/1497226#M49719</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an LPC546 and I am trying to prevent reading the code trough SWD and ISP while keeping the mass erase available.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have tried ECRP value 0x00015800 which prevents reading the code, but also prevents mass erase trough ISP.&lt;BR /&gt;Which makes sense because it blocks all ISP and SWD.&lt;/P&gt;&lt;P&gt;Then I tried ECRP value 0x0002A800 which will allow access trough SWD and ISP. But does not prevent reading the code trough SWD.&lt;/P&gt;&lt;P&gt;Reading UM10912 revision 2.4 chapter 5.4.5.4 ISP Write to RAM.&lt;BR /&gt;In Table 17 it says:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;This command is used to download data to RAM. This command is blocked when code read protection levels 2 or 3 are enabled. Writing&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How do I enable code read protection levels 2 or 3 on a LPC546?&lt;BR /&gt;Because I can not find this in chapter 43.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 08:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-I-enable-read-protect-on-a-LPC546-using-ECRP/m-p/1497226#M49719</guid>
      <dc:creator>gvisser</dc:creator>
      <dc:date>2022-08-01T08:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable read protect on a LPC546 using ECRP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-I-enable-read-protect-on-a-LPC546-using-ECRP/m-p/1499574#M49746</link>
      <description>&lt;P&gt;It seems SWD is able to read a read protected part.&lt;BR /&gt;But ISP can not read it.&lt;/P&gt;&lt;P&gt;Using 0x0001A800 will read protect the part.&lt;BR /&gt;Allow ISP and block SWD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 12:13:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-I-enable-read-protect-on-a-LPC546-using-ECRP/m-p/1499574#M49746</guid>
      <dc:creator>gvisser</dc:creator>
      <dc:date>2022-08-02T12:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable read protect on a LPC546 using ECRP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-I-enable-read-protect-on-a-LPC546-using-ECRP/m-p/1501194#M49769</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I do not think that there is clear definition about the protection level 2 or 3, the protection level is combination of the ECRP defined in image and the OTP(One-Time Programmable).&lt;/P&gt;
&lt;P&gt;Pls refer to Chapter 45: LPC5460x One-Time Programmable (OTP)&lt;BR /&gt;memory and API.&lt;/P&gt;
&lt;P&gt;Pls refer to Chapter 42: LPC5460x Enhanced Code Read Protection&lt;BR /&gt;(ECRP).&lt;/P&gt;
&lt;P&gt;Pls refer to Chapter 3: LPC546xx Boot process&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 14:03:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-I-enable-read-protect-on-a-LPC546-using-ECRP/m-p/1501194#M49769</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-08-04T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable read protect on a LPC546 using ECRP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-I-enable-read-protect-on-a-LPC546-using-ECRP/m-p/1501601#M49772</link>
      <description>&lt;P&gt;I figured the information from another part has managed to get into the user manual of the LPC546.&lt;BR /&gt;Because level 2 and 3 are defined for other parts for example the LPC18.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 06:59:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-do-I-enable-read-protect-on-a-LPC546-using-ECRP/m-p/1501601#M49772</guid>
      <dc:creator>gvisser</dc:creator>
      <dc:date>2022-08-05T06:59:37Z</dc:date>
    </item>
  </channel>
</rss>

