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.

C6A8168(PG2.0) USB issue

Hi, all

 

    My customer have a usb issue on C6A8148(PG2.0).

    His bsp followed the ezsdk 5.01, and has followed the USB part of migration doc from PG1.1 to PG2.0.

     but when plug a u-disk/usb-mouse,  get the following error message, and there is no USB hub connected, VBUS voltage is 5v.

root@MyPBX:~# usb 1-1: new high speed USB device using musb-hdrc and address 6

usb 1-1: device descriptor read/all, error -71

usb 1-1: new high speed USB device using musb-hdrc and address 7

usb 1-1: device descriptor read/all, error -71

usb 1-1: new high speed USB device using musb-hdrc and address 8

usb 1-1: device descriptor read/8, error -71

usb 1-1: device descriptor read/8, error -71

usb 1-1: new high speed USB device using musb-hdrc and address 9

usb 1-1: device descriptor read/8, error -71

usb 1-1: device descriptor read/8, error -71

hub 1-0:1.0: unable to enumerate USB device on port 1

 

So, could anyone give some suggestion for it?

 

Thanks!

Yaoming

 

  • Yaoming

    You need to apply the below 4 patches located at arago.

    1) ti816x: Added CPU check revision for TI816X ES2.0

    http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git;a=commit;h=61fcc607145bbdb62f408b5d912a1fa6e13e96f2

    2)ti816x:musb: Enable musb multipoint support for ti816x PG2

    http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git;a=commit;h=c6d7be5859966227ff21e183d72ca821759d6730

    3) musb: driving usbid pin control through sofware

    http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git;a=commit;h=a62ac6bcd83ebeb07428b17ca0563d3e8e4c2ad8

    4)  ti816x: Fix for CPU check revision for TI816X ES1.x...

    http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git;a=commit;h=1946c1c91b681c7ebb6b13a90671bf9e3e42d57a

     

    Let us know if any issues.

    Regards

    Ravi B

     

  • Ravi

    Thanks for your great help !

            It has been resolved !

    Thanks!

    Yaoming

  • I'm going through this now also.  The board we are building has a USB hub and the PG1.1 parts wouldn't work with it. We upgraded to PG2.0 parts and now the hub isn't detected at all.  I saw in the musb driver where multipoint was being turned off for ti816x and knew that probably wasn't right so I thought I'd check E2E and found this post!  Praise the Lord! I hope this fixes my problem too! :)

    Regards,

    Brian

     

  • I can now report that applying these changes resulted in our PG2.0 part "seeing" our USB hub.  We still can't see things attached to the hub but I'm not sure that is a musb problem ... looking into that now.

    When will these changes make it into the standard Arago repository so that the next git pull/rebase I do includes these changes?

    Thanks!

     

    Brian

     

  • Brian

    You mean USB Hub (onboard) is enumerated successfully, but the devices connected to HUB is not detected.What is the error message you for device connected to HUB.

    Can you send me the dump of dmesg with debug enabled(echo D8 > /proc/driver/musb_hdrc.0 & 1). What is  the device connected to HUB, is it self powered or bus powered HUB. Is the built-in HUB is able to supply VBUS for the device connected.

    Regards

    Ravi B

     

     

  • We figured out what was going on.  Our board used a Cypress USB HUB.  We had a SPI flash attached to it.  If the hub comes up and sees that the flash is blank, it will not enumerate attached devices.  It is waiting for the host to program PID etc. into the flash.  Once we did this and reset, the hub connected to the attached devices.

    We have two USB connectors exposed to the outside and I tested them with USB mass storage devices and we also have on board eUSB disk (Micron) and I was able to partition and create a filesystem on it so we are happy that USB on the PG2.0 parts appears to be working.

    Are these patches in mainline Arago yet?  Is there an estimated time when they will show up in an official PSP?

    Thanks!

    Brian