<?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: i.MX6 USB Certification Test via JTAG debugger in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-Certification-Test-via-JTAG-debugger/m-p/773641#M120119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;Attached file is iMX6_Platform_SDK binary which build by my environment.&lt;/P&gt;&lt;P&gt;I am trying that it execute on SABRE-SD board with jtag.&lt;/P&gt;&lt;P&gt;At first, I checked ELF header via readelf command to understand binary structure.&lt;/P&gt;&lt;P&gt;then, I tried sdk_unit_test_ALL.elf load&amp;amp;execute via jtag with several settings.&lt;/P&gt;&lt;P&gt;But, I could not execute this application successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Could you teach me the right load and start address?&lt;/P&gt;&lt;P&gt;I failed following settings.&lt;/P&gt;&lt;P&gt;Load to 0x900000 (OCRAM space). binary file is bigger than OCRAM space.&lt;/P&gt;&lt;P&gt;Load to 0x10000420 (DRAM space) execute from 0x10000420 based on following thread.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/444072"&gt;run standalone bare-metal application on u-boot on the iMX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load to 0x10000000 execute from 0x10000790 based on ELF header analysis.&lt;/P&gt;&lt;P&gt;Load to 0x10000000 execute from 0x100006d0 based on ELF header analysis. etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kazuma Sasaki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2018 13:49:07 GMT</pubDate>
    <dc:creator>Kazuma_Sasaki</dc:creator>
    <dc:date>2018-02-27T13:49:07Z</dc:date>
    <item>
      <title>i.MX6 USB Certification Test via JTAG debugger</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-Certification-Test-via-JTAG-debugger/m-p/773639#M120117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are developing original board with i.MX6D.&lt;/P&gt;&lt;P&gt;Then, I would like to execute USB certification test via JTAG debugger to check the USB signal quality.&lt;/P&gt;&lt;P&gt;Can we set the USB test mode from JTAG debugger without any USB drivers?&lt;/P&gt;&lt;P&gt;If yes, please teach me register's settings to set the USB test mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can execute the USB certification test if U-BOOT or Linux is working.&lt;/P&gt;&lt;P&gt;But, we are early development stage. therefore, we have not finished U-BOOT development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kazuma Sasaki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 07:12:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-Certification-Test-via-JTAG-debugger/m-p/773639#M120117</guid>
      <dc:creator>Kazuma_Sasaki</dc:creator>
      <dc:date>2018-02-26T07:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 USB Certification Test via JTAG debugger</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-Certification-Test-via-JTAG-debugger/m-p/773640#M120118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kazuma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some simple tests can be performed with jtag, please look on&lt;/P&gt;&lt;P&gt;sdk/../usb/test/usb0_host_testmodes_test&lt;/P&gt;&lt;P&gt;Github SDK&lt;BR /&gt;&lt;A href="https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK"&gt;https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105609"&gt;https://community.nxp.com/docs/DOC-105609&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USB Sertification Guide&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cache.freescale.com/files/microcontrollers/doc/user_guide/IMXUSBCGUG.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/user_guide/IMXUSBCGUG.pdf"&gt;http://cache.freescale.com/files/microcontrollers/doc/user_guide/IMXUSBCGUG.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Mon, 26 Feb 2018 08:12:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-Certification-Test-via-JTAG-debugger/m-p/773640#M120118</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-02-26T08:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 USB Certification Test via JTAG debugger</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-Certification-Test-via-JTAG-debugger/m-p/773641#M120119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;Attached file is iMX6_Platform_SDK binary which build by my environment.&lt;/P&gt;&lt;P&gt;I am trying that it execute on SABRE-SD board with jtag.&lt;/P&gt;&lt;P&gt;At first, I checked ELF header via readelf command to understand binary structure.&lt;/P&gt;&lt;P&gt;then, I tried sdk_unit_test_ALL.elf load&amp;amp;execute via jtag with several settings.&lt;/P&gt;&lt;P&gt;But, I could not execute this application successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Could you teach me the right load and start address?&lt;/P&gt;&lt;P&gt;I failed following settings.&lt;/P&gt;&lt;P&gt;Load to 0x900000 (OCRAM space). binary file is bigger than OCRAM space.&lt;/P&gt;&lt;P&gt;Load to 0x10000420 (DRAM space) execute from 0x10000420 based on following thread.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/444072"&gt;run standalone bare-metal application on u-boot on the iMX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load to 0x10000000 execute from 0x10000790 based on ELF header analysis.&lt;/P&gt;&lt;P&gt;Load to 0x10000000 execute from 0x100006d0 based on ELF header analysis. etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kazuma Sasaki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 13:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-Certification-Test-via-JTAG-debugger/m-p/773641#M120119</guid>
      <dc:creator>Kazuma_Sasaki</dc:creator>
      <dc:date>2018-02-27T13:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 USB Certification Test via JTAG debugger</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-Certification-Test-via-JTAG-debugger/m-p/773642#M120120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, I could run the stand alone app via JTAG debugger.&lt;/P&gt;&lt;P&gt;Here is my conclusion.&lt;/P&gt;&lt;P&gt;1) Should be use sdk_unit_test_ALL.bin instead of .elf file&lt;/P&gt;&lt;P&gt;2) Check entry address from Image Vector Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ hexdump -C sdk_unit_test_ALL.bin | more&lt;BR /&gt;00000000&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; |................|&lt;BR /&gt;*&lt;BR /&gt;00000400&amp;nbsp; d1 00 20 40 d0 06 00 10&amp;nbsp; 00 00 00 00 30 04 00 10&amp;nbsp; |.. @........0...|&lt;BR /&gt;00000410&amp;nbsp; 20 04 00 10 00 04 00 10&amp;nbsp; 00 00 40 10 00 00 00 00&amp;nbsp; | .........@.....|&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above case,&lt;/P&gt;&lt;P&gt;0xd1 = IVT Header Tag&lt;/P&gt;&lt;P&gt;0x0020 = IVT Header Length&lt;/P&gt;&lt;P&gt;0x40 = IVT version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0x100006d0 = Absolute address of the first instruction to execute from the image. = entry address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) JTAG debugger lunch, and initialize i.MX6 with DCD table.&lt;/P&gt;&lt;P&gt;4) Program load to DDR (0x10000000) then execute from entry address (0x100006d0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kazuma Sasaki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 13:17:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-USB-Certification-Test-via-JTAG-debugger/m-p/773642#M120120</guid>
      <dc:creator>Kazuma_Sasaki</dc:creator>
      <dc:date>2018-03-05T13:17:11Z</dc:date>
    </item>
  </channel>
</rss>

