• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » Serial to USB Drivers
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Serial to USB Drivers

Serial to USB Drivers

This question is not answered
Ben Henricksen
Posted by Ben Henricksen
on Aug 14 2012 11:44 AM
Intellectual560 points

I am using a TI/Mistral AM3715 / 3430 EVM. In menuconfig I have enabled

EHCI HCD
Root Hub Transaction Translator
Improved Transaction Translator
Inventra Highspeed Dual ROle Controller - Omap 343x
USB Mass Storage support
USB Modem (CDC ACM) support
USB Serial converter support
USB Generic
USB FTDI
USB Prolific 2303

This all builds and runs fine. Using the ECHI-Host USB port on the EVM:

If I plug in a USB to Serial lead - an FTDI device or Prolific 2303 device - I get the message "hub1-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?"

If I plug in a USB Flash stick it get enumerated and works OK.

If I plug in a USB Hub that gets recognised fine.

If I plug the FTDI and Prolific USB To Serial devices into the hub, they are are both recognised OK and their respective drivers are loaded.

So why don't they work when plugged in directly? It's puzzling!

 

"USB To Serial" Linux OMAP3 EHCI OHCI Errata
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Steve Kipisz
    Posted by Steve Kipisz
    on Aug 14 2012 12:41 PM
    Expert3815 points

    The EHCI port is HS only. You need a HS hub to be able to use LS/FS devices. Mostly likely your USB Serial device is FS so direct connection did not work. Most likely your USB Flash stick is HS so it did work directly connected.

    Steve K.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ben Henricksen
    Posted by Ben Henricksen
    on Aug 15 2012 04:57 AM
    Intellectual560 points

    Thanks for the reply Steve. This may well be the issue. What makes it HS only? The processor datasheet talks about the USB Host ports supporting all speeds, the ULPI connections supporting HS & FS.

    In the USB spec Hosts must be able to switch from EHCI to OHCI if the peripheral requires it. Is the Linux driver the limiting factor?

    If it's hardware, our new boards may be stuffed!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ben Henricksen
    Posted by Ben Henricksen
    on Aug 15 2012 11:40 AM
    Intellectual560 points

    I also noticed an incompatibility in the pin function between the TI and the SMSC3320 PHY. When switching to FS/LS mode, 3pin or 6pin serial; the TI has TX_EN on usb Data[3], DATA on Data[2] & SE0 on Data[1]. The SMSC has TX_EN on Data[0], Data on Data[1] & SE0 on Data[2].

    So that won't be able to switch to FS/LS.

    Is the TI chip compatible with any other PHY chips out there? ( TI's own TUSB1210 PHY doesn't match)

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ben Henricksen
    Posted by Ben Henricksen
    on Aug 15 2012 12:23 PM
    Intellectual560 points

    And also, to really put the nail in the coffin; from the AM3715 Errata:

     

    "Advisory 1.113

    USB HOST: Impossible To Attach a FS Device To An EHCI Port - Handoff To OHCI

    Is Not Functional

    Revision(s) Affected

    1.2, 1.1 and 1.0

    Details

    It is not possible to perform USB transactions with an FS device on port USB_B1/B2.

    EHCI is able to detect the device, reset it, and find that it is a FS device. SW will then

    hand off the port to OHCI by setting the PORTSC[5]:PO (PORT OWNER) bit.

    OHCI is able to detect the connection, but then cannot communicate with the device.

    When the PHY switches to FsLsSerialMode, the ULPI DIR signal will go to 1 forever. In

    HS mode, if DIR is 1, then the ULPI DATA switches to input only mode. This input only

    configuration is wrongly kept after switching to FsLsSerialMode, so USB transactions

    cannot occur.

    Attaching a FS device directly to an OHCI port is working fine.

    Workaround(s)

    Only attach FS devices to OHCI ports or use an HS hub to interface between EHCI ports

    and LS/FS/HS devices."

    So I guess that's our boards wiped then.

    If we are to do a quick and dirty mod, can the TUSB1210 be used? It seems to imply that it can do HS, FS and LS comms in ULPI mode. Would the AM3715 be able to support this? Or do we have to use a hub chip so the Host is in HS mode and the hub handles transaction translation?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ben Henricksen
    Posted by Ben Henricksen
    on Aug 16 2012 05:05 AM
    Intellectual560 points

    For others researching this issue there other important threads below:

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/p/94945/345167.aspx#345167

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/122651.aspx

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/94945.aspx

    http://e2e.ti.com/support/dsp/sitara_arm174_microprocessors/f/416/t/43433.aspx

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use