<?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: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986362#M5482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="348218" data-username="t.thurgood@surepetcare.com" href="https://community.nxp.com/people/t.thurgood@surepetcare.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Tony Thurgood&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;&amp;nbsp; Thanks so much for your effort and the new question post!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;&amp;nbsp; So, your own board issue is mainly related to the HAB close right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;&amp;nbsp; You said, "&lt;SPAN style="color: #51626f;"&gt;&lt;SPAN style="color: #0000ff;"&gt;used the SRK keys and generated image from the MBU and mimicked the download commands using the BLhost application.&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; Please tell me more details about it, SRK keys is dowloaded in the fuses.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;1. Generated image from the MBU, how do you get it? Please give me more details about it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;2. using BLhost application to download commands, please give me the whole commands with BLhost you have tried.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;Just without burn the HAB close fuse, right?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;About your two questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;1. Why does the secure HAB reject the image+csf generated by the Utility tool?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Answer: Because I can't reproduce the problem, then I also need to consider how to find the root problems.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Do you have the failed boot board image with Utility tool? Please share it with me both image and the fuse map.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Your own BLhost download code boots ok, please also share with me your working board image and the fuse map.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I want to review it.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;2. Why does the MBU force the HAB to be closed?&amp;nbsp; (this action is&amp;nbsp;part of the image download).&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Answer: In the previous training by jay, I remember that jay told me, the official BEE also suggest based on the HAB, I think this is why Jay's MBU close the HAB, but Jay also tell us, HAB is not the must item to BEE, no relationship in fact.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;You said, "&lt;SPAN style="color: #51626f;"&gt;&lt;SPAN style="color: #0000ff;"&gt;The documented advice from NXP is to leave the HAB open during developmen&lt;/SPAN&gt;t&lt;/SPAN&gt;"&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Please tell me which document, the BEE related document tell you HAB open?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Please give me the link, I will double check it.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;After you give me the details, I will also try to talk with Jay, find more details about the MBU.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;If I can reproduce your problem, maybe it is&amp;nbsp;better&amp;nbsp;to find the root problem.:(&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;3. About your question, MIMXRT1020-EVK board work, but your own board can't work.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;This is also my interesting point, I also want to know what's the difference caused this interesting result. But I can't reproduce your problem because I don't have your board. Maybe we still need to do more research find the different, I will also consult with our internal expert, whether the hardware point may influence this secure boot action or not.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;BTW, your attached.doc is your own working board which is downloaded with BLhost?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2020 11:45:16 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2020-03-05T11:45:16Z</dc:date>
    <item>
      <title>MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986360#M5480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I am using the (MBU) MCU Boot Utility v2.2.0 with an iMXRT1021 target and the following selections...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Serial Port UART&lt;/LI&gt;&lt;LI&gt;BEE Encrypted Image Boot&lt;/LI&gt;&lt;LI&gt;Boot Device Configuration - Quad mode = "Set StausReg1[6]"&amp;nbsp; (enable write)&lt;/LI&gt;&lt;LI&gt;Fixed Otpmk(SNVS) Key&lt;/LI&gt;&lt;LI&gt;Advanced Key Settings - User Defined region - 0x60002000, 0x3f6000&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the "All-in-one Action", I re-use SRKs etc, generate the signed bootable image, download and blow fuses.&lt;/P&gt;&lt;P&gt;Disconnect serial port and power cycle, at this point the target should boot up, which it fails to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried many things to resolve this issue and found the problem is with the HAB secured boot. To prove this,&amp;nbsp;I used the SRK keys and generated image from the the MBU and mimicked the download commands using the BLhost application. I sent every command with the exception of not blowing&amp;nbsp;SEC_CONFIG_1 fuse i.e. HAB security=open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the target boots up and runs normally with BEE encrypted code, so my questions are...&lt;/P&gt;&lt;P&gt;1. Why does the secure HAB reject the image+csf generated by the Utility tool?&lt;/P&gt;&lt;P&gt;2. Why does the MBU force the HAB to be closed?&amp;nbsp; (this action is&amp;nbsp;part of the image download).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documented advice from NXP is to leave the HAB open during development, so the tool should reflect this and allow for some end user control.&lt;/P&gt;&lt;P&gt;I have run the demo app on the 1020EVK and it boots ok with encryption, so why the problem with my target?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 15:07:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986360#M5480</guid>
      <dc:creator>t_thurgood</dc:creator>
      <dc:date>2020-03-04T15:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986361#M5481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Attached a copy of the download. only the code section was encrypted, ivt, boot etc are readable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 15:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986361#M5481</guid>
      <dc:creator>t_thurgood</dc:creator>
      <dc:date>2020-03-04T15:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986362#M5482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="348218" data-username="t.thurgood@surepetcare.com" href="https://community.nxp.com/people/t.thurgood@surepetcare.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Tony Thurgood&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;&amp;nbsp; Thanks so much for your effort and the new question post!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;&amp;nbsp; So, your own board issue is mainly related to the HAB close right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;&amp;nbsp; You said, "&lt;SPAN style="color: #51626f;"&gt;&lt;SPAN style="color: #0000ff;"&gt;used the SRK keys and generated image from the MBU and mimicked the download commands using the BLhost application.&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; Please tell me more details about it, SRK keys is dowloaded in the fuses.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;1. Generated image from the MBU, how do you get it? Please give me more details about it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;2. using BLhost application to download commands, please give me the whole commands with BLhost you have tried.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;Just without burn the HAB close fuse, right?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;About your two questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;1. Why does the secure HAB reject the image+csf generated by the Utility tool?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Answer: Because I can't reproduce the problem, then I also need to consider how to find the root problems.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Do you have the failed boot board image with Utility tool? Please share it with me both image and the fuse map.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Your own BLhost download code boots ok, please also share with me your working board image and the fuse map.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I want to review it.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;2. Why does the MBU force the HAB to be closed?&amp;nbsp; (this action is&amp;nbsp;part of the image download).&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Answer: In the previous training by jay, I remember that jay told me, the official BEE also suggest based on the HAB, I think this is why Jay's MBU close the HAB, but Jay also tell us, HAB is not the must item to BEE, no relationship in fact.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;You said, "&lt;SPAN style="color: #51626f;"&gt;&lt;SPAN style="color: #0000ff;"&gt;The documented advice from NXP is to leave the HAB open during developmen&lt;/SPAN&gt;t&lt;/SPAN&gt;"&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Please tell me which document, the BEE related document tell you HAB open?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Please give me the link, I will double check it.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;After you give me the details, I will also try to talk with Jay, find more details about the MBU.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;If I can reproduce your problem, maybe it is&amp;nbsp;better&amp;nbsp;to find the root problem.:(&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;3. About your question, MIMXRT1020-EVK board work, but your own board can't work.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;This is also my interesting point, I also want to know what's the difference caused this interesting result. But I can't reproduce your problem because I don't have your board. Maybe we still need to do more research find the different, I will also consult with our internal expert, whether the hardware point may influence this secure boot action or not.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;BTW, your attached.doc is your own working board which is downloaded with BLhost?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 11:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986362#M5482</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-03-05T11:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986363#M5483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay, I was tasked with other development issues, but now I can re-visit this problem.&lt;/P&gt;&lt;P&gt;To answer your questions...&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the MBU, I did...&lt;UL style="color: #51626f; background-color: #ffffff; border: 0px; margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Serial Port UART&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;BEE Encrypted Image Boot&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Boot Device Configuration - Quad mode = "Set StausReg1[6]"&amp;nbsp; (enable write)&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Fixed Otpmk(SNVS) Key&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Advanced Key Settings - User Defined region - 0x60002000, 0x3f6000&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;All-In-One Action&amp;nbsp; &amp;nbsp;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Having done the above, I then&amp;nbsp;accessed&amp;nbsp;NXP-MCUBootUtility\gen\bootable_image\ivt_filename_extracted_dcd_signed_nopadding.bin&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2. blhost commands...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// set memory parameters&lt;/P&gt;&lt;UL style="color: #51626f; background-color: #ffffff; border: 0px; margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;blhost -t 5242000 -p COM3 fill-memory 538976256 4 3221225735 word&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;blhost -t 5242000 -p COM3 fill-memory 538976260 4 0 word&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;blhost -t 50000 -p COM3 configure-memory 9 538976256&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;blhost -t 2048000 -p COM3 flash-erase-region 1610612736 192512 9&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;blhost -t 5242000 -p COM3 fill-memory 538984448 4 3759210496 word&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;blhost -t 5242000 -p COM3 fill-memory 538984452 4 1610620928 word&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;blhost -t 5242000 -p COM3 fill-memory 538984456 4 4153344 word&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;blhost -t 50000 -p COM3 configure-memory 9 538984448&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;blhost -t 5242000 -p COM3 fill-memory 538980352 4 4026531855 word&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; // Blow 8 x SRK fuse registers&lt;/EM&gt;&lt;BR /&gt; blhost -t 50000 -p COM3 efuse-program-once 24 c5ae10bb&lt;BR /&gt; blhost -t 50000 -p COM3 efuse-program-once 25 627bf7b1&lt;BR /&gt; blhost -t 50000 -p COM3 efuse-program-once 26 523e7627&lt;BR /&gt; blhost -t 50000 -p COM3 efuse-program-once 27 52c34eee&lt;BR /&gt; blhost -t 50000 -p COM3 efuse-program-once 28 ff74507f&lt;BR /&gt; blhost -t 50000 -p COM3 efuse-program-once 29 264446be&lt;BR /&gt; blhost -t 50000 -p COM3 efuse-program-once 30 226ab53b&lt;BR /&gt; blhost -t 50000 -p COM3 efuse-program-once 31 a1395b04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;blhost -t 50000 -p COM3 efuse-program-once 6 00002010&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&amp;lt; BEE_KEY0_SEL, BT_FUSE_SEL, Hab open&lt;BR /&gt; blhost -t 50000 -p COM3 efuse-program-once 5 00000001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&amp;lt; EncryptedXIP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// write memory 0x60001000 encrypted_image&lt;/EM&gt;&lt;BR /&gt; blhost -t 5242000 -p COM3 write-memory 1610616832 C:\NXP-MCUBootUtility\gen\bootable_image\ivt_filename_extracted_dcd_signed_nopadding.bin 9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-size: 11.5pt;"&gt;&lt;EM&gt;"Jay also tell us, HAB is not the must item to BEE, no relationship in fact."&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-size: 11.5pt;"&gt;This is true, the HAB has no influence on the inner workings of the BEE.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-size: 11.5pt;"&gt;But the HAB will stop the encrypted code from executing because there is some authentication problem. The reason that the HAB refuses to boot is not given, so difficult to diagnose and remedy.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white; margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; font-size: 11.5pt;"&gt;&lt;EM&gt;Do you have the failed boot board image with Utility tool? Please share it with me both image and the fuse map.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white; margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; font-size: 11.5pt;"&gt;&lt;EM&gt;Your own BLhost download code boots ok, please also share with me your working board image and the fuse map.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white; margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; font-size: 11.5pt;"&gt;&lt;EM&gt;I want to review it.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white; margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; font-size: 11.5pt;"&gt;I have attached images, but there is absolutely no difference in image or other fuse settings between the board that starts and the board that doesn't. The only difference is the non setting of&amp;nbsp;&lt;SPAN&gt;SEC_CFG_1 (hab).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white; margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="color: #51626f; font-size: 11.5pt; font-family: 'Arial',sans-serif;"&gt;&lt;EM&gt;Please tell me which document, the BEE related document tell you HAB open?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;STRONG&gt;AN12681 - How to use HAB secure boot in i.MX RT10xx&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5.2 Program image during development&lt;BR /&gt;In Development phase, the device may be under HAB open mode for most use cases.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;STRONG&gt;Security Reference Manual for the i.MX RT1050 Processor&lt;/STRONG&gt;&amp;nbsp;3.3.6 Boot security settings&amp;nbsp;&lt;STRONG&gt;Open:&lt;/STRONG&gt; This level is intended for use in non-secure products or during the development phases of a secure product.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;STRONG&gt;i.MX MCU Manufacturing User's Guide&lt;/STRONG&gt;&amp;nbsp;6.3 Program bootable image during development&lt;BR /&gt;In development phase, the device may be in HAB open mode for most use cases.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;STRONG&gt;How to use i.MXRT Security Boot&lt;/STRONG&gt;&amp;nbsp;4.2. Program image during development In Development phase, the device may be under HAB open mode&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;STRONG&gt;Secure Boot on i.MX25, i.MX35, and i.MX51 using HABv3&lt;/STRONG&gt;&amp;nbsp;3.2.2 Non-Secure Boot Image Layout&amp;nbsp;This is the final configuration for Non-Secure products as described above. The Engineering&lt;BR /&gt;configuration should also be used for development purposes of secure products where CSFs and other data&lt;BR /&gt;components for secure boot can be debugged.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;STRONG&gt;i.MX RT1020 Processor Reference Manual&lt;/STRONG&gt;&amp;nbsp;8.3.6 Boot security settings&amp;nbsp;&lt;STRONG&gt;Open:&lt;/STRONG&gt; This level is intended for use in non-secure products or during the development phases of a secure product.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;So I have a BEE encrypted board that starts and can be run with the j-link IAR Workbench debugger, is it possible to find out what step of the HAB is failing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;br,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt; background: white; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Tony&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 14:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986363#M5483</guid>
      <dc:creator>t_thurgood</dc:creator>
      <dc:date>2020-03-20T14:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986364#M5484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Do you have any answers for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:05:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986364#M5484</guid>
      <dc:creator>t_thurgood</dc:creator>
      <dc:date>2020-03-24T17:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986365#M5485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="348218" data-username="t.thurgood@surepetcare.com" href="https://community.nxp.com/people/t.thurgood@surepetcare.com"&gt;Tony Thurgood&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks for your detail updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please give me more time, I will check the details, then give you feedback, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 00:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986365#M5485</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-03-25T00:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986366#M5486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="348218" data-username="t.thurgood@surepetcare.com" href="https://community.nxp.com/people/t.thurgood@surepetcare.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Tony Thurgood&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sorry for my later reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Could you please check the following point:&lt;/P&gt;&lt;P&gt;1. Don't use the code relocated offset 0x2000, you can use the 0XA000.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Eg, use the&amp;nbsp;led_blinky_0x6000a000.srec, then in your own board which HAB is closed and try again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Do you use the MIMXRT1020 sample chip?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I have contacted with Jay&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;In fact, the MCUbootUtility tool can choose the Hab open or close ,it is this option:&lt;/P&gt;&lt;P&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/101040iC200C812CCF521D2/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&gt;But, when customer use the key as OTPMK, then the item can't be modified to no, because using this key,&amp;nbsp;the HAB must close, otherwise, otpmk will use all 0 as the key to encrypt the image.&lt;/P&gt;&lt;P&gt;So, if using the otpmk as BEE key, and HAB is open, it means you use all 0 as the key, not the real SNVS key. as you know, all 0 is also one type of key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;When choosing the user key, then the "Enable Certificate for HW encryption" can be modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your question, Jay just told me you can't use 0X2000 as the app startpoint, and he is very busy, I still didn't get the details. So, could you please in your own HAB closed board, try the other app point code, like 0XA000, any difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 07:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986366#M5486</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-03-31T07:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986367#M5487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going through your numerated points...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1. Don't use the code relocated offset 0x2000, you can use the 0XA000.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;My code isn't located at offset 0x2000.&amp;nbsp; &amp;nbsp;If you look at the first 2 lines of the srecs....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;STRONG&gt;led_blinky_0x6000a000.srec&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;S01200006C65645F626C696E6B792E73726563F5&lt;BR /&gt;S113&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;A000&lt;/STRONG&gt;&lt;/SPAN&gt;0000012029AF00003FAA000073AC00004B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my srec&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;S00D00006865726D65732E73313963&lt;BR /&gt;S315&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;6000&lt;/STRONG&gt;&lt;/SPAN&gt;00004643464200040156000000000103030017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see my code is linked to the normal 0x60000000 base address.&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the first few lines of my .icf are...&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define symbol m_interrupts_start = 0x60002000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define symbol m_interrupts_end = 0x600023FF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define symbol m_text_start = 0x60002400;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define symbol m_text_end = 0x60007FFF;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P&gt;If you are referring to... &lt;EM&gt;Advanced Key Settings/User Defined...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Region start: 0x60002000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Region Length: 0x3f6000&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then I don't understand the problem. That is my choice of flash memory region that I want to be encrypted. I chose 0x2000 offset because I want to see the IVT and Boot&amp;nbsp; data...&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 12px; color: red; background: white;"&gt;0x60001000&amp;nbsp;&amp;nbsp;&amp;nbsp; d1 00 20 40 c9 a6 02 60 00 00 00 00 40 10 00 60&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .. @...`....@..`&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 12px; color: red; background: white;"&gt;0x60001010&amp;nbsp;&amp;nbsp;&amp;nbsp; 20 10 00 60 00 10 00 60 00 d0 02 60 00 00 00 00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..`...`...`....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 12px; color: lime; background: white;"&gt;---------------------------------Boot Data--------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 12px; color: lime; background: white;"&gt;0x60001020&amp;nbsp;&amp;nbsp;&amp;nbsp; 00 00 00 60 00 f0 02 00 00 00 00 00 00 00 00 00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...`............&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 12px; color: black; background: white;"&gt;0x60001030&amp;nbsp;&amp;nbsp;&amp;nbsp; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ................&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 90px;"&gt;&lt;SPAN style="font-size: 12px; color: #c9d200; background: white;"&gt;------------------------------------DCD-----------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;that's readable, so I can confirm correct placement. It has nothing to do with... "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;EM&gt;Jay just told me you can't use 0X2000 as the app startpoint&lt;/EM&gt;".&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2.&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;EM&gt;Do you use the MIMXRT1020 sample chip?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yes, our product is designed with the iMXRT1021&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;3.&amp;nbsp;&lt;EM&gt;In fact, the MCUbootUtility tool can choose the Hab open or close ,it is this option:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Sorry to disagree, but that is not an option, more of a mutual exclusion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I want to use &lt;EM&gt;"Fixed Otpmk (SVNS) Key"&lt;/EM&gt; AND keep the HAB open for development. I know this is possible, because I have working board with those settings. Its the MCU Boot Utility Tool that is not allowing that choice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Does Jay agree with the NXP documentation that says the HAB can be open for development?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;With regard to my previous post, I still have this unanswered question...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-size: 15.3333px;"&gt;&lt;STRONG&gt;I have a BEE encrypted board that starts and can be run with the j-link IAR Workbench debugger, is it possible to find out what step of the HAB is failing?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-size: 15.3333px;"&gt;To elaborate on that question;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-size: 15.3333px;"&gt; The &lt;STRONG&gt;HAB is closed&lt;/STRONG&gt; and with a normal power on, the board fails to start. The same code and keys are loaded to anther board, with the &lt;STRONG&gt;HAB open&lt;/STRONG&gt; and it will start and run normally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-size: 15.3333px;"&gt;So with the first example,&amp;nbsp; the HAB runs confidence checks at boot, something is detected as wrong and the boot process is halted. Can we&amp;nbsp;determine the cause of the HAB failure?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-size: 15.3333px;"&gt;br,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-size: 15.3333px;"&gt;Tony&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 21:07:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986367#M5487</guid>
      <dc:creator>t_thurgood</dc:creator>
      <dc:date>2020-03-31T21:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986368#M5488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="348218" data-username="t.thurgood@surepetcare.com" href="https://community.nxp.com/people/t.thurgood@surepetcare.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Tony Thurgood&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;1. Maybe I didn't describe it very clear, I mean try the code reset handler not with 0X2000.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; You can try other address, eg, 0xa000.&lt;/P&gt;&lt;P&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/101052i2278B6D0433FB72E/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&gt;You can relocate your code:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define symbol m_interrupts_start = 0x6000a000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define symbol m_interrupts_end = 0x6000a3FF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define symbol m_text_start = 0x6000a400;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;define symbol m_text_end = 0x6000FFFF;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;Then try it in your own board which already fuse the HAB close.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;After you test it, please tell me the result, thank you.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;2. You mentioned:&lt;SPAN&gt;I want to use&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="border: 0px; padding: 0px;"&gt;"Fixed Otpmk (SVNS) Key"&lt;/EM&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;AND keep the HAB open for development.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;As Jay told me, if the HAB open, the code won't read the real OTPMK key as the BEE key, it may use all 0 as the BEE encryption, but just the MCUBootUtility tool didn't allow you choose the HAB close as no.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;You can do it like your way, choose SNVS key, and with HAB open, it also can boot, just the encryption key is all 0, not the real OTPMK&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&amp;nbsp; From the reference manual, I find this description may also demonstrate Jay's description:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/101003iEA8CD1C3EA7BD619/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&amp;nbsp; &amp;nbsp;When the HAB is open, the HAB secure won't work, then it also can't use the master secret key selected by SNVS, and may use 0X00 as the default key.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&lt;EM&gt;3.&amp;nbsp;Does Jay agree with the NXP documentation that says the HAB can be open for development?&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&amp;nbsp; Yes, Jay agree that you can leave HAB open, it also can boot with BEE.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 60px;"&gt;&lt;EM&gt;4.&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 15.3333px; padding: 0px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 15.3333px; padding: 0px;"&gt;I have a BEE encrypted board that starts and can be run with the j-link IAR Workbench debugger, is it possible to find out what step of the HAB is failing?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 0.0001pt; padding: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To be honest, I still didn't find the detailed way to find out the HAB failing, that's why I can't confirm it now. I will still try to find help from our internal side, and try to reproduce your problem with some of our other boards(not EVK).&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 0.0001pt; padding: 0px;"&gt;Anyway, I suggest you follow Jay's suggestion, don't relocate the reset handler to offset 0x2000, you can try 0XA000, any improvement?&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 0.0001pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 0.0001pt; padding: 0px;"&gt;After your test, please give me your test result, thanks!&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 0.0001pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px; margin: 0px 0px 0.0001pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; margin: 0px;"&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2020 00:26:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986368#M5488</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-04-01T00:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986369#M5489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am surprised that the position of the Interrupt vector table could be the cause of my problems. Our project started with the EVK-MIMXRT1020 and the bundled software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The demo-apps, e.g. led_blinky/iar/MIMXRT1021xxxxx_flexspi_nor.icf have...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_interrupts_start = 0x60002000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_interrupts_end = 0x600023FF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_text_start = 0x60002400;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_text_end = 0x607FFFFF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_data_start = 0x20000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_data_end = 0x2000FFFF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_data2_start = 0x20200000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_data2_end = 0x2021FFFF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;define exported symbol m_boot_hdr_conf_start = 0x60000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_boot_hdr_ivt_start = 0x60001000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_boot_hdr_boot_data_start = 0x60001020;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;define symbol m_boot_hdr_dcd_data_start = 0x60001030;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is the standard flash memory configuration from NXP, so there seems to be some conflicting viewpoints?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I am currently working from home and have limited resources (no evk boards). Travel to the office is very restricted. I have one target device that has a fresh MCU, but I will need check with our manager to see how we can proceed.&lt;/P&gt;&lt;P&gt;You could try running your EVK with the blinky app+BEE at 0x2000 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is offset 0xA000 fundamental to the HAB/BEE execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2020 07:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986369#M5489</guid>
      <dc:creator>t_thurgood</dc:creator>
      <dc:date>2020-04-01T07:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Boot Utility, iMXRT1021, BEE Encryption - boot issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986370#M5490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="348218" data-username="t.thurgood@surepetcare.com" href="https://community.nxp.com/people/t.thurgood@surepetcare.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Tony Thurgood&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Hopes you are fine!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Today, I really test my BEE RT1020-EVK board with app+bee relocated the offset at 0x2000, it is still working.&lt;/P&gt;&lt;P&gt;So, this point&amp;nbsp;is not the root problem of your can't working customer board.&amp;nbsp;Then I double check with jay, it is a mistake of my understanding, he means the non-XIP, XIP code shoud no influence. So, to XIP code, please ignore my last suggestion, sorry about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please check the following information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;1 &amp;nbsp;About your another customer board which didn't close the HAB, do you also burn the OTPMK?&lt;/P&gt;&lt;P&gt;&amp;nbsp;2, About your working MIMXRT1020-EVK board, and your can't working customer BEE Hab close board.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Do you totally use the same BEE burn configuration, the same app firmware?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Do you also read out your MIMXRT1020-EVK board BEE image, and compare with your HAB close customer board's image, any difference?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;About the firmware, do you use the simple project like just led_blinky to test the BEE boot in your HAB closed customer board?&amp;nbsp; could you please use the totally the same simple app in both your customer board and the EVK board, then readout the image, and compare the difference? Mainly compare&amp;nbsp;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;EKIB area.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3. If you have interest, you also can try user key(&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;SW_GP2 &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;key&lt;/SPAN&gt;), this mode can select the HAB close or open freely in the MCUBootUtility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 03:12:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MCU-Boot-Utility-iMXRT1021-BEE-Encryption-boot-issue/m-p/986370#M5490</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-04-02T03:12:28Z</dc:date>
    </item>
  </channel>
</rss>

