<?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のトピックLPC55S69 - unsealed CMPA erase</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-unsealed-CMPA-erase/m-p/1190238#M43065</link>
    <description>&lt;P&gt;Is there any way to erase the CMPA region if it is not locked/sealed, i.e. if doesn't contain the digest at its end?&lt;/P&gt;&lt;P&gt;If not, is there a way to flip the secure boot field (SECURE_BOOT_CFG.SEC_BOOT_EN) back to 0b00 (plain image)? I saw another post where the answer was that, once enabled, secure boot cannot be disabled anymore, but the context was not clear there (how the enabling process was performed, i.e. was the CMPA digest written or remained all zeros).&lt;/P&gt;</description>
    <pubDate>Fri, 27 Nov 2020 10:26:10 GMT</pubDate>
    <dc:creator>bricker</dc:creator>
    <dc:date>2020-11-27T10:26:10Z</dc:date>
    <item>
      <title>LPC55S69 - unsealed CMPA erase</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-unsealed-CMPA-erase/m-p/1190238#M43065</link>
      <description>&lt;P&gt;Is there any way to erase the CMPA region if it is not locked/sealed, i.e. if doesn't contain the digest at its end?&lt;/P&gt;&lt;P&gt;If not, is there a way to flip the secure boot field (SECURE_BOOT_CFG.SEC_BOOT_EN) back to 0b00 (plain image)? I saw another post where the answer was that, once enabled, secure boot cannot be disabled anymore, but the context was not clear there (how the enabling process was performed, i.e. was the CMPA digest written or remained all zeros).&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 10:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-unsealed-CMPA-erase/m-p/1190238#M43065</guid>
      <dc:creator>bricker</dc:creator>
      <dc:date>2020-11-27T10:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 - unsealed CMPA erase</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-unsealed-CMPA-erase/m-p/1191835#M43106</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can change the configuration as long as CMPA is not sealed (HASH of CMPA written). Also please check below extract from &lt;A href="https://www.nxp.com/docs/en/application-note/AN12283.pdf" target="_blank"&gt;AN12283&lt;/A&gt;&amp;nbsp;that confirms this.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;This page could be locked after manufacturer programs the page. This is done by writing the SHA 256 digest of the CMPA page into the SHA memory space of CMPA area. &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 22:49:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-unsealed-CMPA-erase/m-p/1191835#M43106</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-12-01T22:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 - unsealed CMPA erase</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-unsealed-CMPA-erase/m-p/1192181#M43114</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;I've noticed in my experiments that, if CMPA is not sealed, I can change (set to zero) any field in it using the ISP API (e.g. blhost write-memory) &lt;STRONG&gt;except for ROTKH&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;On the other hand, using the IAP API (FFR_CustFactoryPageWrite), I can set the entire CMPA page to zero, including the ROTKH part.&lt;/P&gt;&lt;P&gt;Please confirm that this is the expected behavior of these APIs.&lt;/P&gt;&lt;P&gt;Also, as it seems that an unsealed CMPA page cannot be erased directly with ISP API, would the erase command work from within an SB2.1 image. In other words, would ROM code agree to perform this kind of sequence from a cmd_file.bd:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;options&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; flags = 0x8; // SB2.1, encrypted + signed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; buildNumber = 0x1;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; productVersion = "1.00.00";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; componentVersion = "1.00.00";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; secureBinaryVersion = "2.1";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;sources&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; inputFile = extern(0);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;section (0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; erase 0x0..0x40000;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; load inputFile &amp;gt; 0x0;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &lt;STRONG&gt;erase 0x9e400..0x9e5ff;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Z.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 08:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-unsealed-CMPA-erase/m-p/1192181#M43114</guid>
      <dc:creator>bricker</dc:creator>
      <dc:date>2020-12-02T08:56:27Z</dc:date>
    </item>
  </channel>
</rss>

