<?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のトピックRe: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089490#M41780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please answer my questions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2020 01:07:02 GMT</pubDate>
    <dc:creator>kamii</dc:creator>
    <dc:date>2020-07-21T01:07:02Z</dc:date>
    <item>
      <title>LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089473#M41763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the 1B version of LPC55S69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When setting the BLOCK_SET_KEY to 01b (Disable PUF Key Code generation) of the SECURE_BOOT_CFG in the CMPA, blhost's receive-sb-file can't work with aborting.&lt;/P&gt;&lt;P&gt;If we'd like to use receive-sb-file, do we have to set the BLOCK_SET_KEY to 00b (Allow PUF Key Code generation)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my testing, when setting BLOCK_SET_KEY=00b and BLOCK_ENROLL=01b, SEC_BOOT_EN=01b, then receive-sb-file is working fine. However when setting BLOCK_SET_KEY=01b and BLOCK_ENROLL=01b, SEC_BOOT_EN=01b, then receive-sb-file failes with Abort Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does receive-sb-file need BLOCK_SET_KEY=00b?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 02:04:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089473#M41763</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-06-12T02:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089474#M41764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;I'd like to check this from my end with detail. I need some information to be able to reproduce this from my end.&lt;/P&gt;&lt;P&gt;How are you setting the CMPA? Have you tried with the elftosb-gui? Are the results the same?&lt;/P&gt;&lt;P&gt;When connecting through blhost, are you using USB or UART?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this&amp;nbsp;&lt;/P&gt;&lt;P&gt;post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2020 14:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089474#M41764</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-06-15T14:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089475#M41765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried writing CMPA with the elftosb-gui via UART, and the result was the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameters for elftosb-gui are below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Connection : UART&lt;/P&gt;&lt;P&gt;&amp;nbsp;Port : COM4&lt;/P&gt;&lt;P&gt;&amp;nbsp;Baud rate : 115200&lt;/P&gt;&lt;P&gt;&amp;nbsp;Secure Boot : Boot signed images&lt;/P&gt;&lt;P&gt;&amp;nbsp;Watch Dog : Disabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;Lock device on boot fail : checked&lt;/P&gt;&lt;P&gt;&amp;nbsp;Disable sensitive ISP commands : Checked&lt;/P&gt;&lt;P&gt;&amp;nbsp;Disable PUF enrollment : Checked&lt;/P&gt;&lt;P&gt;&amp;nbsp; Disable PUF key code generation : Checked&lt;/P&gt;&lt;P&gt;&amp;nbsp;TZ-M mode : From image header&lt;/P&gt;&lt;P&gt;&amp;nbsp;Disable DICE calculation : Checked&lt;/P&gt;&lt;P&gt;&amp;nbsp;Customer factory area in DICE calculation : Un-checked&lt;/P&gt;&lt;P&gt;&amp;nbsp;NXP area in DICE calcuration : Un-checked&lt;/P&gt;&lt;P&gt;&amp;nbsp;Accept RSA4096 keys only : Un-checked&lt;/P&gt;&lt;P&gt;&amp;nbsp;RKTH : Our 32bytes ASCII data bytes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After writing the above CMPA, without re-powering the LPC55S69, receive-sb-file worked fine, but after then re-powering the LPC55S69, receive-sb-file couldn't work with the following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;blhost -p COM4,115200 receive-sb-file LPC55S69.sb2&lt;BR /&gt;Ping responded in 1 attempt(s)&lt;BR /&gt;Inject command 'receive-sb-file'&lt;BR /&gt;Preparing to send 198400 (0x30700) bytes to the target.&lt;BR /&gt;Successful generic response to command 'receive-sb-file'&lt;BR /&gt;(1/1) 0%Data phase write aborted by status 0x2712 kStatus_AbortDataPhase&lt;BR /&gt;Possible JUMP or RESET command received.&lt;BR /&gt;Response status = 1 (0x1) Failure.&lt;BR /&gt;Wrote 1536 of 198400 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we change the above parameter "Disable PUF key code generation" to "Un-checked" and write this CMPA to LPC55S69, recieve-sb-file worked fine with and without re-powering LPC55S69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your reference, our configuration steps before writing CMPA are below.&lt;/P&gt;&lt;P&gt;(1) Key Enroll&lt;/P&gt;&lt;P&gt;(2) Set SB Key&lt;/P&gt;&lt;P&gt;(3) Set User Key&lt;/P&gt;&lt;P&gt;(4) Set PRINCE 0 Key&lt;/P&gt;&lt;P&gt;(5) Write Key Non-volatile&lt;/P&gt;&lt;P&gt;(6) Write CFPA (ROTKH_REVOKE)&lt;/P&gt;&lt;P&gt;(7) Configure PRINCE 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:28:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089475#M41765</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-06-16T00:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089476#M41766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sabina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you reproduce the issue? If you need more information, could you please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 09:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089476#M41766</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-06-18T09:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089477#M41767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;Could you please check the following post, to the last answer that Tomas provides(the one marked correct answer). Verify this is also done on your end and that is not the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/521046?commentID=1251062#comment" title="https://community.nxp.com/message/1251062?commentID=1251062#comment-1251062"&gt;LPC55S69 Secure Boot Failing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;After writing the above CMPA, without re-powering the LPC55S69, receive-sb-file worked fine, but after then re-powering the LPC55S69, receive-sb-file couldn't work with the following error.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Before retrying to reload the sb file are you in secure boot? Did it successfully load when you did it without re powering?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;In addition, I will be checking with our team what is the proper procedure to successfully disable the key code gen.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 15:21:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089477#M41767</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-06-18T15:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089478#M41768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;Hi Sabina,&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&amp;gt;Could you please check the following post, to the last answer that Tomas provides(the one marked correct answer). &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&amp;gt;&lt;/SPAN&gt;Verify this is also done on your end and that is not the issue.&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;A _jive_internal="true" data-containerid="11497" data-containertype="14" data-content-finding="Community" data-objectid="521046" data-objecttype="1" href="https://community.nxp.com/thread/521046?commentID=1251062#comment" style="background-color: transparent; background-image: url(&amp;amp;quot; ../images/jive-icon-forum-12x12.png&amp;amp;quot;); background-position-x: 0px; background-position-y: 50%; background-repeat: no-repeat; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d9ce7; fill: #3d9ce7; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; text-decoration: none; transition-delay: 0s; transition-duration: 0.1s; transition-property: color; transition-timing-function: linear; vertical-align: baseline; padding: 1px 0px 1px calc(0.35ex + 12px); margin: 0px; border: 0px none currentColor;"&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&amp;gt;&lt;/SPAN&gt;LPC55S69 Secure Boot Failing&lt;/A&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;I've verifyed the post, and I think there's no problem in our secure boot configurations and sb2. Our signed boot image (sb2.1) boots successfully.&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&amp;gt;&amp;gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;After writing the above CMPA, without re-powering the LPC55S69, receive-sb-file worked fine, but after then re-&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;powering the LPC55S69, receive-sb-file couldn't work with the following error.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&amp;gt;Before retrying to reload the sb file are you in secure boot? Did it successfully load when you did it without re powering?&lt;/P&gt;&lt;P style="background-color: #ffffff; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; min-height: 8pt; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;I'm sorry, what do you mean "are you in secure boot"?&amp;nbsp; When I wrote CMPA and then I executed receive-sb-file without resetting LPC55S69, this receive-sb-file completed successfully. After then I reset LPC55S69, our signed image written by receive-sb-file booted successfully. However after LPC55S69 resetting, I executed receive-sb-file again, this receive-sb-file failed with &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;kStatus_AbortDataPhase Error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&amp;gt;In addition, I will be checking with our team what is the proper procedure to successfully disable the key code gen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;I've found that this issue should have some relations with PRINCE. We use PRINCE 0 for our signed boot image protection, and the receive-sb-file's loaded area is in this PRINCE 0 region. Experimentally I tried disabling our PRINCE 0 configuration, receive-sb-file worked without error even if the BLOCK_SET_KEY was enabled.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Could you check if receive-sb-file needs BLOCK_SET_KEY disabling when we uses PRINCE?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thasnk in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 00:40:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089478#M41768</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-06-19T00:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089479#M41769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently waiting for our team's update on this matter. I will let you know as soon as I receive a response.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 17:19:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089479#M41769</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-06-22T17:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089480#M41770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! We need your help and are waiting for your response of this matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 07:18:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089480#M41770</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-06-23T07:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089481#M41771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks in advance for your patience. Our team is still working on this, I will update you as soon as I can.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 04:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089481#M41771</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-06-24T04:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089482#M41772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you reproduce the issue?&lt;/P&gt;&lt;P&gt;I'm wondering our provisioning step has something wrong or that's LPC55S69's limitation.&lt;/P&gt;&lt;P&gt;We have to fix our CMPA configuration soon, so could you tell me your team's progress for this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 01:06:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089482#M41772</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-07-02T01:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089483#M41773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;I did attempt several ways which now I am unable to recover the board at the moment. The feedback I received form our application team is the following:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;If you follow&amp;nbsp;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12283.pdf" rel="nofollow" style="color: #3d9ce7; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;AN12283&lt;/A&gt;, it will config the CMPA by using elftosb-gui like you mentioned, and then loaded the SBKEK(sb key for sb file decryption) to device. SBKEK provisioning is depending on PUF, it needs PUF to generate key code for SBKEK.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;So&amp;nbsp;if disable PUF key code generation before, then provision SBKEK,&amp;nbsp;this will cause the key&amp;nbsp;provisioning to fail.&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;After each reset, ROM will config PUF based on PFR settings.&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114474iDC4EA27F6B22BFA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;For LPC55S69, it has&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;ONE&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;bit in PUF configuration register to block enroll&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;AND&lt;/STRONG&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;set key, as shown above.W&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;e should provision the key that the ROM needs first, then block the PUF as needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 17:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089483#M41773</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-07-02T17:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089484#M41774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;gt;If you follow&amp;nbsp;&lt;/SPAN&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12283.pdf" rel="nofollow" style="color: #3d9ce7; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;AN12283&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;, it will config the CMPA by using elftosb-gui like you mentioned, and then loaded the &amp;gt;SBKEK(sb key for sb file decryption) to device. SBKEK provisioning is depending on PUF,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;gt;it needs PUF to generate key code for SBKEK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;As mentioned before, I did PUF and SBKEK provisioning before CMPA configuration, so our key provisioning didn't fail.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The following is the detail of our configuration step, and Step 0 to 8 were completed successfully without failure. Only the Step 9 reseive-sb-file was failed by setting BLOCK_SET_KEY in CMPA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;(0) Zero Clear CFPA and CMPA, and Clear Key Store and Write Key Store to Non-volatile, and then reboot LPC55S69 for transition to the initial non-secure and none-PRINCE state.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;(1) Write CFPA with Version field increment and ROTKH_REVOKE field setting&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- write-memory 0x9de00 "CFPA_ROTKH_REVOKE.bin"&lt;/P&gt;&lt;P style="border: 0px;"&gt;(2) Key Enroll&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- key-provisioning enroll&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;(3) Set SB Key&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4-- key-provisioning set_user_key 3 "device_sbkek.bin"&lt;/P&gt;&lt;P style="border: 0px;"&gt;(4) Set PRINCE 0 Key&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- key-provisioning set_key 7 16&lt;/P&gt;&lt;P style="border: 0px;"&gt;(5) Write Key Non-volatile&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- key-provisioning write_key_nonvolatile 0&lt;BR /&gt;(6) Configure PRINCE 0 (Our FW binary is loaded to Addr=00000 to 2FFFFh)&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- fill-memory 0x20034000 4 0x50000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- fill-memory 0x20034004 4 0x00000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- fill-memory 0x20034008 4 0x00030000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- configure-memory 0 0x20034000&lt;/P&gt;&lt;P style="border: 0px;"&gt;(7) Write CPMA by elftosb-gui with the following parameters&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;Secure Boot : Boot signed images&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Watch Dog : Disabled&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Lock device on boot fail : checked&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Disable sensitive ISP commands : Checked&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Disable PUF enrollment : Checked&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; Disable PUF key code generation : Checked&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;TZ-M mode : From image header&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Disable DICE calculation : Checked&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Customer factory area in DICE calculation : Un-checked&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;NXP area in DICE calculation : Un-checked&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Accept RSA4096 keys only : Un-checked&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;RKTH : Our 32bytes ASCII data bytes&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;(8) Reboot LPC55S69&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- reset&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;(9) Download FW and the result was failed&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;blhost.exe -n -p COM4 -- receive-sb-file "lpc55s69.sb2"&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Ping responded in 1 attempt(s)&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Inject command 'receive-sb-file'&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Preparing to send 198400 (0x30700) bytes to the target.&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Successful generic response to command 'receive-sb-file'&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;(1/1) 0%Data phase write aborted by status 0x2712 kStatus_AbortDataPhase&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Possible JUMP or RESET command received.&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Response status = 1 (0x1) Failure.&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Wrote 1536 of 198400 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;If possible, could you build successful PRINCE and SB2 environment first for your reproducing the issue?&lt;/P&gt;&lt;P style="border: 0px;"&gt;On the receive-sb-file workable environment, we change to the BLOCK_SET_KEY configuration in CMPA enabled , and then receive-sb-file become un-workable.&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2020 02:30:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089484#M41774</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-07-03T02:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089485#M41775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your detailed response. We are working on this, I will update you as soon as possible&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2020 19:17:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089485#M41775</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-07-08T19:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089486#M41776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a further update:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The root cause is not PUF. It is because the PRINCE has been enabled, but doesn't follow the flash operation rule mentioned in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12283.pdf" rel="nofollow" style="color: #3d9ce7; background-color: #ffffff; border: 0px; text-decoration: underline; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;AN12283&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/115827i1160572EB6129813/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;We also have&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12527.pdf" rel="nofollow" style="color: #3d9ce7; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;AN12527&lt;/A&gt;&amp;nbsp;for PRINCE.&lt;/P&gt;&lt;P style="border: 0px;"&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;whole&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;flash region covered by PRINCE should be erased and programmed. "&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;receive-sb-file&lt;/SPAN&gt;" command doesn't guarantee that this rule is met.&lt;/P&gt;&lt;P&gt;The problem is that both applications note run the PUF enrollment (-- key-provisioning enroll). But this command must be called only once because the activation code gets re-write; either the SBKEK or PRINCE key is invalid. Therefore, the device cannot get out of the ROM boot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 00:49:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089486#M41776</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-07-15T00:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089487#M41777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, but I think that's beside the point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, we have succeeded in receive-sb-file operation on the PRINCE region. So I think we can follow the flash operation rule and key-provisioning steps you mentioned. When we set BLOCK_SET_KEY=00b, then we can do receive-sb-file operation successfully and the uploaded image can be booted successfully. If we would have any errors or mistakes on the flash operation rule or key provisioning steps, we couldn't do them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my testing, only the changing BLOCK_SET_KEY=00b to 11b in the CMPA, it seems to cause receive-sb-file operation failed on the above successful environment. I don't think that the receive-sb-file operation on the Boot code needs set key operation, so I asked the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you have the testing result of receive-sb-file operaiotn on the PRINCE environment with BLOCK_SET_KEY=11b?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 01:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089487#M41777</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-07-15T01:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089488#M41778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By more testing, I found this issue is caused by an Erase statement in the commandFile.bd for SB2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When deleting the Erase statement in my commandFile.bd, this receive-sb-file aborting error (Response Status = 1) didn't happen.&lt;/P&gt;&lt;P&gt;But this deleting an erase statement causes kStatusMemoryCumlativeWrite error on the next Load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is my testing commandFile.bd file section.&amp;nbsp;Is there any problem in my commandFile.bd?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;section (0)&lt;BR /&gt;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;erase 0x0..0x30000;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;load inputFile &amp;gt; 0x0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to know two things.&lt;/P&gt;&lt;P&gt;(1) In the ISP's receive-sb-file operation, to executing an erase statement for erasing the PRINCE region , is BLOCK_SET_KEY=00b configuration needed?&lt;/P&gt;&lt;P&gt;(2) Is there any way to erase the PRINCE region with BLOCK_SET_KEY=11b configuration?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 01:30:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089488#M41778</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-07-16T01:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089489#M41779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Experimentally, I've changed the Erase statement "erase 0x0..0x30000" to "erase all", and then there's no error on receive-sb-flle operation with BLOCK_SET_KEY=11b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However "erase all" statement erases all flash area and that's not our requirement. We'd like to erase only the PRINCE region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you confirm the difference of receive-sb-file's operation between "erase all" and "erase 0x0..0x30000" with BLOCK_SET_KEY=11b?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 02:25:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089489#M41779</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-07-16T02:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089490#M41780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please answer my questions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2020 01:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089490#M41780</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-07-21T01:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089491#M41781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope you are well. I apologize for the delayed response. However, I am waiting for further feedback from our application team. As soon as I have an update I will provide it for you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2020 02:24:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089491#M41781</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-07-21T02:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55 CMPA BLOCK_SET_KEY and SB2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089492#M41782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sabina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to know if you can reproduce the issue. Or could you execute receive-sb-file operation to the PRINCE region successfully?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't get any information about this issue for two months. I'd like to know what you're doing about this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 23:46:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55-CMPA-BLOCK-SET-KEY-and-SB2/m-p/1089492#M41782</guid>
      <dc:creator>kamii</dc:creator>
      <dc:date>2020-07-27T23:46:29Z</dc:date>
    </item>
  </channel>
</rss>

