<?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 OTFAD Feature Verification Fail in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-Feature-Verification-Fail/m-p/788115#M47982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using FRDMK82F board. I am trying to check the OTFAD feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have used Bubble project and changed the linker file settings as follows&lt;/P&gt;&lt;P&gt;define symbol m_interrupts_start = 0x0000A000;&lt;BR /&gt;define symbol m_interrupts_end = 0x0000A3BF;&lt;/P&gt;&lt;P&gt;define symbol m_bootloader_config_start = 0x0000A3C0;&lt;BR /&gt;define symbol m_bootloader_config_end = 0x0000A3FF;&lt;/P&gt;&lt;P&gt;define symbol m_flash_config_start = 0x0000A400;&lt;BR /&gt;define symbol m_flash_config_end = 0x0000A40F;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Generated .srec file and processed .srec file using&amp;nbsp;otfad.py file using python and output is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\Python27&amp;gt;python otfad.py K82_bubble_A000.srec K82_bubble_A000_otfad.srec&lt;BR /&gt;1056&lt;BR /&gt;Processing successfully!"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In "factory_otfad.bd" file boot_sec_init and boot_sec_progress changes done. Using elftosb sb file is generated. Below is the command.&lt;/P&gt;&lt;P&gt;"elftosb -V -c factory_otfad.bd -o K82_bubble_A000_otfad.sb"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. K82_bubble_A000_otfad.sb file is loaded and the output is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;blhost -u -- receive-sb-file K82_bubble_A000_otfad.sb&lt;BR /&gt;Inject command 'receive-sb-file'&lt;BR /&gt;Preparing to send 19040 (0x4a60) bytes to the target.&lt;BR /&gt;Successful generic response to command 'receive-sb-file'&lt;BR /&gt;(1/1)6%usb hid detected receiver data abort&lt;BR /&gt;Data phase write aborted by status 0x2712 kStatus_AbortDataPhase&lt;BR /&gt;Possible JUMP or RESET command received.&lt;BR /&gt;Response status = 403 (0x193) QSPI Flash Command Failure.&lt;BR /&gt;Wrote 1216 of 19040 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;factory_otfad.bd(this file is causing the issue,needs some update) and log file is attached for reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need support for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;R.Dhanapal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2018 07:56:16 GMT</pubDate>
    <dc:creator>dhanapal_rajend</dc:creator>
    <dc:date>2018-09-24T07:56:16Z</dc:date>
    <item>
      <title>OTFAD Feature Verification Fail</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-Feature-Verification-Fail/m-p/788115#M47982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using FRDMK82F board. I am trying to check the OTFAD feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have used Bubble project and changed the linker file settings as follows&lt;/P&gt;&lt;P&gt;define symbol m_interrupts_start = 0x0000A000;&lt;BR /&gt;define symbol m_interrupts_end = 0x0000A3BF;&lt;/P&gt;&lt;P&gt;define symbol m_bootloader_config_start = 0x0000A3C0;&lt;BR /&gt;define symbol m_bootloader_config_end = 0x0000A3FF;&lt;/P&gt;&lt;P&gt;define symbol m_flash_config_start = 0x0000A400;&lt;BR /&gt;define symbol m_flash_config_end = 0x0000A40F;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Generated .srec file and processed .srec file using&amp;nbsp;otfad.py file using python and output is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\Python27&amp;gt;python otfad.py K82_bubble_A000.srec K82_bubble_A000_otfad.srec&lt;BR /&gt;1056&lt;BR /&gt;Processing successfully!"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In "factory_otfad.bd" file boot_sec_init and boot_sec_progress changes done. Using elftosb sb file is generated. Below is the command.&lt;/P&gt;&lt;P&gt;"elftosb -V -c factory_otfad.bd -o K82_bubble_A000_otfad.sb"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. K82_bubble_A000_otfad.sb file is loaded and the output is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;blhost -u -- receive-sb-file K82_bubble_A000_otfad.sb&lt;BR /&gt;Inject command 'receive-sb-file'&lt;BR /&gt;Preparing to send 19040 (0x4a60) bytes to the target.&lt;BR /&gt;Successful generic response to command 'receive-sb-file'&lt;BR /&gt;(1/1)6%usb hid detected receiver data abort&lt;BR /&gt;Data phase write aborted by status 0x2712 kStatus_AbortDataPhase&lt;BR /&gt;Possible JUMP or RESET command received.&lt;BR /&gt;Response status = 403 (0x193) QSPI Flash Command Failure.&lt;BR /&gt;Wrote 1216 of 19040 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;factory_otfad.bd(this file is causing the issue,needs some update) and log file is attached for reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need support for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;R.Dhanapal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 07:56:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-Feature-Verification-Fail/m-p/788115#M47982</guid>
      <dc:creator>dhanapal_rajend</dc:creator>
      <dc:date>2018-09-24T07:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD Feature Verification Fail</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-Feature-Verification-Fail/m-p/788116#M47983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;OTFAD is used to cowork with QSPI to decrypt ciphertext stored in external flash. But it seems your bubble demo runs in internal flash. You can see the response to blhost command "Response status = 403 (0x193) QSPI Flash Command Failure".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 10:02:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-Feature-Verification-Fail/m-p/788116#M47983</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-09-25T10:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD Feature Verification Fail</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-Feature-Verification-Fail/m-p/788117#M47984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following changes already done in linker file to run bubble from QSPI&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;define symbol m_text_start = 0x68001000;&lt;BR /&gt;define symbol m_text_end = 0x69000000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flash config area is also changed to select ROM as boot source.&lt;/P&gt;&lt;P&gt;__FlashConfig&lt;BR /&gt; DCD 0xFFFFFFFF&lt;BR /&gt; DCD 0xFFFFFFFF&lt;BR /&gt; DCD 0xFFFFFFFF&lt;BR /&gt; DCD 0xFFFFBDFE&lt;BR /&gt;__FlashConfig_End&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI: I have already booted bubble project from QSPI. Please refer the below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/1059780?commentID=1059780&amp;amp;et=watches.email.thread#comment-1059780"&gt;Success Bubble QSPI link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;R.Dhanapal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 12:42:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OTFAD-Feature-Verification-Fail/m-p/788117#M47984</guid>
      <dc:creator>dhanapal_rajend</dc:creator>
      <dc:date>2018-09-25T12:42:08Z</dc:date>
    </item>
  </channel>
</rss>

