<?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: OTFAD--bootloader for encrypt image in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532278#M32853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first flash access error you see when you try to send program_keys.sb file to K81 is mostly related to you are trying to program the program once field a second time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the error coding for program once command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37101iBC41009E5E79992A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And for why you will can read back 0x30-0x33 program once field and not 0x20-0x23 program once field. Here is description from K81 RM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Program Once Field in the program flash erasable IFR with indexes 0x20 - 0x23 provides 16 bytes of user data storage that can be programmed using the Program Once command but &lt;STRONG&gt;cannot be read using the Read Once command&lt;/STRONG&gt;. The Program Once Field in the program flash erasable IFR with indexes 0x30 - 0x33 provides 16 bytes of user data storage that can be programmed using the Program Once command and read using the Read Once command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what you see is normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 09:45:41 GMT</pubDate>
    <dc:creator>cutworth</dc:creator>
    <dc:date>2016-07-06T09:45:41Z</dc:date>
    <item>
      <title>OTFAD--bootloader for encrypt image</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532274#M32849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Now I have a problem of&lt;BR /&gt;NXP_KINETIS_BOOTLOADER_2_0_0, I want to use encrypt image according to Kinetis&lt;BR /&gt;Bootloader QuadSPI User's Guide.pdf. When I send program_keys.sb to target,&lt;BR /&gt;data can’t be programmed completely, same issue happen in qspi_image_encrypt_0000.sb.&lt;BR /&gt;I try to read those keys in IFR, I can read index 0x30/0x31/0x32/0x33, but&lt;BR /&gt;can’t get data in index 0x20/0x21/0x22/0x23. Could you help to check the&lt;BR /&gt;problem? Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="OTFAD1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32986iA795811EE6D19291/image-size/large?v=v2&amp;amp;px=999" role="button" title="OTFAD1.png" alt="OTFAD1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="OTFAD2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33058iBCF0B1B161EDDFEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="OTFAD2.png" alt="OTFAD2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2016 02:56:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532274#M32849</guid>
      <dc:creator>fredfu</dc:creator>
      <dc:date>2016-07-04T02:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD--bootloader for encrypt image</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532275#M32850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="212696" data-username="fredfu" href="https://community.nxp.com/people/fredfu"&gt;Yanrong Fu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I was wondering if you can tell what chip you use, then I can replicate the issue on the related board.&lt;/P&gt;&lt;P&gt;I'm looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 02:55:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532275#M32850</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-07-05T02:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD--bootloader for encrypt image</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532276#M32851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I used K81 and tested in TWR-K80F150M. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Fred Fu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 04:21:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532276#M32851</guid>
      <dc:creator>fredfu</dc:creator>
      <dc:date>2016-07-06T04:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD--bootloader for encrypt image</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532277#M32852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The status kStatus_FlashAccessError means that "An invalid record index is supplied", you can check the K81 RM to see the valid record index (Table 34-19. Read Once Command FCCOB Requirements)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 09:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532277#M32852</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2016-07-06T09:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD--bootloader for encrypt image</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532278#M32853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first flash access error you see when you try to send program_keys.sb file to K81 is mostly related to you are trying to program the program once field a second time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the error coding for program once command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37101iBC41009E5E79992A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And for why you will can read back 0x30-0x33 program once field and not 0x20-0x23 program once field. Here is description from K81 RM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Program Once Field in the program flash erasable IFR with indexes 0x20 - 0x23 provides 16 bytes of user data storage that can be programmed using the Program Once command but &lt;STRONG&gt;cannot be read using the Read Once command&lt;/STRONG&gt;. The Program Once Field in the program flash erasable IFR with indexes 0x30 - 0x33 provides 16 bytes of user data storage that can be programmed using the Program Once command and read using the Read Once command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what you see is normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 09:45:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-bootloader-for-encrypt-image/m-p/532278#M32853</guid>
      <dc:creator>cutworth</dc:creator>
      <dc:date>2016-07-06T09:45:41Z</dc:date>
    </item>
  </channel>
</rss>

