This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3517 USB Mouse connection problem

Other Parts Discussed in Thread: AM3517

Hello,

I am using AM35x-OMAP35x-PSP-SDK-03.00.00.05 sdk with my AM3517 EVM board. When I connect a usb mouse, I am getting:

hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
hub 1-0:1.0: unable to enumerate USB device on port 1

 

errors, and mouse is not recognized. I ve tried various kinds of mouses(including very standart 2 button mouses), none worked.

But I can connect usb flash disk on the board, No problem with it.

To solve the problem, I tried disabling EHCI and enabling OHCI on kernel. But this time, the board also didn't recognize any plug-in action.

What is the problem with USB connection?

 

Thanks in advance.

Yigit

 

 

  • The host port is EHCI so that is correct.  Are you trying to connect the mouse directly to the board? The EHCI port only supports High Speed devices (USB 2.0).  If you connect a HS-USB hub to the port and then the mouse to the hub, that should work.

    Steve K.

  • Yigit,

    I don't believe the AM3517 Host port supports OHCI. Is it possible for you to connect a 4 port USB HUB then connect the mouse through the hub.  The hub should take care of the translation between the low speed mouse and the high speed EHCI host on  the AM3517. Most likely the USB Flash disk worked becuase it is high speed USB 2.0.

    Regards,

    Jeff Lance

  • Ok, i will try a hub , and will inform you.

     

    Thanks..

  • It works with a self powered hub without any problem. Thanks..

  • Normal 0 false false false EN-AU X-NONE X-NONE MicrosoftInternetExplorer4

    Normal 0 false false false EN-AU X-NONE X-NONE MicrosoftInternetExplorer4

    From the errata document http://focus.ti.com.cn/cn/lit/er/sprz306b/sprz306b.pdf.

    Advisory 1.1.29 HS USB: ECHI and OHCI Controllers Cannot Work Concurrently

    Revision(s) Affected 1.1 and earlier

    Details An issue in the USBHOST memory access arbiter prevents EHCI and OHCI Host Controllers from working simultaneously. As a result one cannot connect a HS and a FS USB devices on the USBHOST.

    Workaround(s) No workaround exists for the generic use-case. For low-throughput requirement a SW arbitration scheme can be implemented.

     

    This implies that  OHCI should work on the HOST port - just not at the same time.

  • David,

     

    To clarify, the AM3517 EVM host port is wired only for EHCI (High Speed) so on the EVM only EHCI works.  Any customer designing a OHCI Host port can use OHCI, but as the Advisory states, OHCI and EHCI do not work together. 

     

    Regards,

     

  • Hi Jeff,

     

    I don't very clearly understand your meaning.

     

    (1) AM3517 EVM port 1 that OHCI cannot work since the TI chipset issue?

    (2) How does the customer design a OHCI port for full speed device except adding the hub?

    (3) I use the AM3517 crane board. After I test the git: omap-2.6 (3.0.0 rc7), the port 1 still cannot detect the full speed. Is the result right?

     

    Thanks,

    regards.

     

    Ted

     

  • Hi Ted,

    There are multiple issues with the port 1 Host USB.  AM37x and AM35x USB Host port have the same issue.  For 1 and 2, please see this other article on the AM37x:  http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/p/122651/437253.aspx#437253

    #3 Crane Board is the same as the AM3517 and would have the same issue.

    Please let me know if this does not answer your questions.

  • Dear Sir,

    I have similar case on my AM3505 platform, the design is following to Mistral Crane board

    1. USB Host port cannot connect to any USB1.1 device directly, if through a USB hub it is work, seems this is AM3505 chip design issue and no work arround,right?

    2.  For USB OTG port I expexcted it can automatically config to a host or a device, once the external USB product (maybe host or device) connected, but now , I found it is not able to change the config after system boot up, that means if I connected a device to this OTG port and the bott up system then it is work, but if disconnect this device and then connect to other Host product this port cannot change to device automatically.

    Any ideal? on item 1 & 2, it is very urgent case I need to built demo to customer if item 1 is chip design issue any document mention it?

    BR

    Edwin

  • Dear Sir,

     

    We have a similar case on the EVM of AM389x processor made by Spectrum DIgital.

    We are working under linux kernel 2.6.37 and SDK 5_01_01_80.

    The USB mouse stops after some minutes and doesn't work anymore if not disconnected and re-connected again.

    The USB keyboard stops complitely the matrix-gui interface.

    So, following the suggestions we tried to insert an USB hub. 

    After that, if we explore the USB bus with /proc/bus/usb/devices we will see the two host cores MUSB and the hub device but no USB devices connected to the HUB.

    This is true for HID devices or mass storage ones.

    Some idea ? We didn't check it with the previous kernel/SDK release. Some configuration is missing in the kernel ?

     

    BR

    Alberto Baroncelli

  • Hi Alberto

    please  see errata of AM389x  silicon 1.0 and 1.1  advisory  1.1.15   ,   USB hub  is not working when Host  :

    "The USB controller does not support devices connected through a hub when operating

    as USB host"

    bye

    Carlo

     

  • Hi Carlo,

     

    Yes, you are right. I missed that point.

    Anyway this is a big problem. It seems there is no other workaround, when more than two USB ports are needed,  than having an external USB controller.

    Is there any plan to correct this problem in the next silicone release ?

    Regarding USB mouse and keyboard instability , the problem is somewhere on QT/matrix GUI.

    The /dev/input/event0 and /dev/input/mouse0 are still sending data outside so the problem is definitively not located on USB but somewhere else.

     

    Alberto