<?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: Debugging i.MX6 ULL USB ROM Bootloader in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1268371#M173225</link>
    <description>&lt;P&gt;Here are images of the beginning of the captures from the Total Phase software in case it is enough to start providing clues (without registering and installing that software). The good board moves right along into getting various descriptors, but the bad board just has a bunch of apparent timeouts and never moves on to those stages, instead appearing to have a bunch of timeouts.&lt;/P&gt;&lt;P&gt;-Michael&lt;/P&gt;</description>
    <pubDate>Mon, 26 Apr 2021 22:23:23 GMT</pubDate>
    <dc:creator>MichaelTB</dc:creator>
    <dc:date>2021-04-26T22:23:23Z</dc:date>
    <item>
      <title>Debugging i.MX6 ULL USB ROM Bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1268370#M173224</link>
      <description>&lt;P&gt;This is on a i.MX6 ULL processor.&lt;/P&gt;&lt;P&gt;I am trying to get the USB ROM Bootloader to work reliably on a set of prototype boards I am working on. I have some boards that will properly enumerate on the USB bus and be detected in Windows while other boards will not be detected.&lt;/P&gt;&lt;P&gt;This looks somewhat like &lt;A href="https://community.nxp.com/t5/i-MX-Processors/imx6ull-HID-detection-issue/m-p/904960" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/imx6ull-HID-detection-issue/m-p/904960&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;I either get the "Freescale SE Blank 6ULL" detected almost immediately in Windows, or it goes for about 10 seconds before saying the device is not recognized. The boards behave similarly in Linux - I can follow (like tail -f) dmesg and see a device detected on the bus but then fail to communicate properly.&lt;/P&gt;&lt;P&gt;In a test a few months ago I turned the OTG1 bus around so it was a host instead of being the bootloader device. That board that had trouble connecting as a bootloader had no trouble playing host to a USB flash drive that U-Boot could detect.&lt;/P&gt;&lt;P&gt;I also have the same boards with bootloader difficulty successfully able to play host to the USB port of a cellular modem on the same board. The modem communication and the USB flash drive test strongly tell me that the USB PHY is properly powered and that the clocking of the processor is working well.&lt;/P&gt;&lt;P&gt;As of today, I now have USB bus captures generated by a Total Phase Beagle USB 480 analyzer that show the behavior on a good and on a bad board. I have attached those files here.&lt;/P&gt;&lt;P&gt;Can anyone spot where the connection process is going wrong based on the capture files?&lt;/P&gt;&lt;P&gt;Are there any windows available into the ROM bootloader's black box, such as status messages printed out to a UART?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;-Michael&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 22:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1268370#M173224</guid>
      <dc:creator>MichaelTB</dc:creator>
      <dc:date>2021-04-26T22:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging i.MX6 ULL USB ROM Bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1268371#M173225</link>
      <description>&lt;P&gt;Here are images of the beginning of the captures from the Total Phase software in case it is enough to start providing clues (without registering and installing that software). The good board moves right along into getting various descriptors, but the bad board just has a bunch of apparent timeouts and never moves on to those stages, instead appearing to have a bunch of timeouts.&lt;/P&gt;&lt;P&gt;-Michael&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 22:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1268371#M173225</guid>
      <dc:creator>MichaelTB</dc:creator>
      <dc:date>2021-04-26T22:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging i.MX6 ULL USB ROM Bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1269124#M173304</link>
      <description>&lt;P&gt;I performed a capture of the ULL Eval Board (700-29364 Rev A + 700-28616 Rev A1 / SCH-29364 Rev A1 + SCH-28616 Rev C3) attaching to my computer (successfully) as "SE Blank 6ULL". The Total Phase Data Center file and screenshot of the capture are attached here.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 20:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1269124#M173304</guid>
      <dc:creator>MichaelTB</dc:creator>
      <dc:date>2021-04-27T20:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging i.MX6 ULL USB ROM Bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1275959#M173956</link>
      <description>&lt;P&gt;I think you need to review the schematics to see if the Power supply of VBUS it is correctly apply all the time, or sometimes the voltage it is not power up at the same time.&amp;nbsp; Since the EVK it is working as expected, it would be good to check schematics to see whats different&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 22:17:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1275959#M173956</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2021-05-12T22:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging i.MX6 ULL USB ROM Bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1277786#M174151</link>
      <description>&lt;P&gt;I have attached a few oscilloscope captures here.&lt;/P&gt;&lt;P&gt;First, the basic board powerup. Yellow is the input voltage from a DC adapter to the board. Blue is the 3.3V supply connected to VDD_HIGH_IN and VDD_SNVS_IN. Purple is 1.35V for VDD_SOC_IN. Green, shown one division higher, is the voltage at USB_OTG1_VBUS, the same port where USB is connected to my computer. You can see that USB_OTG1_VBUS is solid at a touch over 5V the entire time of powerup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Basic Power Rails Powerup.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144881iC7DC2F1095F1171C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Basic Power Rails Powerup.png" alt="Basic Power Rails Powerup.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I have a capture that shows the POR_B signal (green) which is driven by a Texas Instruments TPS3825-33 reset supervisor. The time between VDD_SOC_IN rising and POR_B going high is 172ms.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Powerup with Reset - Reset No Cursors.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144882i2E268BDC4C0EE9D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Powerup with Reset - Reset No Cursors.png" alt="Powerup with Reset - Reset No Cursors.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There is a brief time that POR_B (green) is rising with the 3.3V supply, but it goes low once the reset supervisor has enough voltage to operate. That is shown here, zoomed in from the previous capture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Powersup with Reset - Zoom Early.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144883i4F6AF05872E8BE97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Powersup with Reset - Zoom Early.png" alt="Powersup with Reset - Zoom Early.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With regards to BOOT_MODE[1:0] that should permit getting into serial download mode...&lt;/P&gt;&lt;P&gt;I have probed BOOT_MODE0 (green) and found it to be greater than 3V as long as the 3.3V rail is powered up. Sometime right after 3.3V reaches its maximum, something is applying a weak pull-down to BOOT_MODE0 that can't override the 10K pullup to 3.3V that my board has. 3.0V should be well above the VIH (0.7 * OVDD) for IO.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Powerup with BOOT_MODE0.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144884iFEFF52E330E21ECD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Powerup with BOOT_MODE0.png" alt="Powerup with BOOT_MODE0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;BOOT_MODE1 (green) is more straightforward - I have that stuck at GND directly through a switch. It stays at 0V:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Powerup with BOOT_MODE1.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144885i055FCC178056820C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Powerup with BOOT_MODE1.png" alt="Powerup with BOOT_MODE1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have recently obtained AN12853 "i.MX ROMs Log Events" from our distributor FAE and are working through it to see if that provides some insights on why we can't get to serial download mode.&lt;/P&gt;&lt;P&gt;-Michael&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 21:33:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-i-MX6-ULL-USB-ROM-Bootloader/m-p/1277786#M174151</guid>
      <dc:creator>MichaelTB</dc:creator>
      <dc:date>2021-05-17T21:33:26Z</dc:date>
    </item>
  </channel>
</rss>

