<?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>i.MX ProcessorsのトピックRe: iMX35 linux UTMI USB?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169964#M5331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try to select the following option:&amp;nbsp;(taken from mx35_linux.pdf):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-family: Times-Roman; "&gt;CONFIG_UTMI_MXC_OTG—USB OTG pin detect support for UTMI PHY, enable UTMI PHY&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-family: Times-Roman; "&gt;for OTG support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Times-Roman; "&gt;By default, this option is N."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-family: Times-Roman; "&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-family: Times-Roman; "&gt;Fabio Estevam&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 16:07:05 GMT</pubDate>
    <dc:creator>fabio_estevam</dc:creator>
    <dc:date>2011-09-16T16:07:05Z</dc:date>
    <item>
      <title>iMX35 linux UTMI USB?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169961#M5328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with a customer who has an iMX35 based design running linux 2.6.31. They are wanting to use the (internal) UTMI USB peripheral in a device-only mode, ultimately, but even attempting to configure this port for host mode appears to cause the processor to hang(!).&amp;nbsp; The following register writes were captured, configuring the peripheral, and the processor hangs instantly upon writing to the 0x0184 (PORTSC1) register:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;======&amp;gt; writel( val=0x00000000, regs=0xc487e148 ) &lt;BR /&gt;Interrupt Enable Register (UOG_USBINTR)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disables all device interrupts&lt;BR /&gt;&lt;BR /&gt;======&amp;gt; writel( val=0x00080b02, regs=0xc487e140 ) &lt;BR /&gt;USB Command Register (UOG_USBCMD)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reset&lt;BR /&gt;&lt;BR /&gt;======&amp;gt; writel( val=0x00000003, regs=0xc487e1a8 ) &lt;BR /&gt;USB Device Mode (UOG_USBMODE)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Host-only mode&lt;BR /&gt;&lt;BR /&gt;======&amp;gt; writel( val=0x10000000, regs=0xc487e184 ) &lt;BR /&gt;Port Status &amp;amp; Control (UOG_PORTSC1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UTMI/UTMI+&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16-bit UTMI&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Full speed&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PHY clock enabled&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;We've been over the reference manual pretty thoroughly and have find nothing that would seem to cause this behavior. We have a Freescale 3-stack evaluation board on order to attempt to see if we can get Freescale's own hardware and distribution can be configured such that it demonstrates the UTMI working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question for the community here is, "Has anyone here gotten the UTMI port working on iMX35 linux?"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;--Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 17:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169961#M5328</guid>
      <dc:creator>JoeBuczek</dc:creator>
      <dc:date>2011-09-14T17:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: iMX35 linux UTMI USB?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169962#M5329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I tested UTMI mode on a MX35PDK board running a mainline kernel (since kernel.org is down you can get it from pengutronix´s git).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From arch/arm/mach-imx/mach-mx35_3ds.c:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN style="font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;/* OTG config */&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;static const struct fsl_usb2_platform_data usb_otg_pdata __initconst = {&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;.operating_mode = FSL_USB2_DR_DEVICE,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;.phy_mode = FSL_USB2_PHY_UTMI_WIDE,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;.workaround = FLS_USB2_WORKAROUND_ENGCM09152,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2; "&gt;&lt;SPAN style=": ; font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 2; "&gt;&lt;SPAN style=": ; font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2; "&gt;&lt;SPAN style=": ; font-size: 2; "&gt;&lt;SPAN style=": ; font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2; "&gt;&lt;SPAN style=": ; font-size: 2; "&gt;&lt;SPAN style=": ; font-size: 2; "&gt;&lt;SPAN style=": ; font-size: 2; "&gt;&lt;SPAN lang="EN" lang="EN"&gt;Fabio Estevam&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 19:51:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169962#M5329</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2011-09-14T19:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: iMX35 linux UTMI USB?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169963#M5330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much for your immediate reply, Fabio. We tried the workaround, but no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The more fundamental issue I see is that simply attempting to write to UOG_PORTSC1 causes the CPU to hang. Period. This appears to me to be a very low level configuration issue, such as an internal clock not being supplied/enabled to the UTMI peripheral cell. Writing to UOG_PORTSC1 consistently hangs the processor, requiring a hard reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone suggest a reason for why writing to UOG_PORTSC1 would cause the mx35 processor to hang?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 06:05:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169963#M5330</guid>
      <dc:creator>JoeBuczek</dc:creator>
      <dc:date>2011-09-15T06:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: iMX35 linux UTMI USB?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169964#M5331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try to select the following option:&amp;nbsp;(taken from mx35_linux.pdf):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-family: Times-Roman; "&gt;CONFIG_UTMI_MXC_OTG—USB OTG pin detect support for UTMI PHY, enable UTMI PHY&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-family: Times-Roman; "&gt;for OTG support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Times-Roman; "&gt;By default, this option is N."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-family: Times-Roman; "&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-family: Times-Roman; "&gt;Fabio Estevam&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 16:07:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169964#M5331</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2011-09-16T16:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: iMX35 linux UTMI USB?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169965#M5332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPDATE: If I write to the PORTSC1 register &lt;EM style="text-decoration: underline; "&gt;once&lt;/EM&gt;, it works, and I can read back what is written. If I write &lt;EM style="text-decoration: underline; "&gt;twice&lt;/EM&gt; to it, the CPU hangs. I have done this from &lt;STRONG&gt;uboot&lt;/STRONG&gt; on the i.MX353 and it fails, but the same experiment on the 3stack evaluation board (an i.MX357) does &lt;EM&gt;not&lt;/EM&gt; fail. Here's the sequence:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mw.l 0x53ff4184 0x1c000804&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;---- this works&lt;/P&gt;&lt;P&gt;mw.l 0x53ff4184 0x1c000804&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;---- this HANGS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same sequence typed into uboot on the MX35PDK (iMX357) works just fine. You can write that register over and over and the processor does not hang.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone with a i.MX353 design out there &lt;STRONG&gt;please&lt;/STRONG&gt; try these commands in uboot on your board and post the results here? Alternatively, can anyone shed light on why writing the same value to PORTSC1 on an i.MX353 would cause the CPU to hang?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 21:30:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169965#M5332</guid>
      <dc:creator>JoeBuczek</dc:creator>
      <dc:date>2011-09-28T21:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: iMX35 linux UTMI USB?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169966#M5333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I know this is old now but did you ever get this sorted out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm seeing the same issue on a MX53 (with both a 2.6.35 and a 3.1 linaro kernel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 10:48:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169966#M5333</guid>
      <dc:creator>mfuzzey</dc:creator>
      <dc:date>2012-09-24T10:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: iMX35 linux UTMI USB?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169967#M5334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, replying to my own post for the benefit of search engines...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem turned out to be a hardware error on our custom i.MX53 board - USBOTG_VDAA25 and USB_OTGVDAA33 were being supplied through 200K resistores instead of 1 Ohm resistors hence the USB module was not supplied correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 11:15:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169967#M5334</guid>
      <dc:creator>mfuzzey</dc:creator>
      <dc:date>2012-10-04T11:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: iMX35 linux UTMI USB?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169968#M5335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever found a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 22:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169968#M5335</guid>
      <dc:creator>ClausStovgaard</dc:creator>
      <dc:date>2012-11-06T22:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: iMX35 linux UTMI USB?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169969#M5336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can recommend to look at RREFEXT also. That the resistor is mounted correct, and its value is inside spec.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX35-linux-UTMI-USB/m-p/169969#M5336</guid>
      <dc:creator>ClausStovgaard</dc:creator>
      <dc:date>2012-11-12T19:51:23Z</dc:date>
    </item>
  </channel>
</rss>

