UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor aodling
Visitor
3,945 Views
Registered: ‎11-12-2012

Zynq USB device/otg doesn't enumerate

Hi guys!

 

I'm trying to use my zedboard as an usb device... I've downloaded the latest kernel (3.5) from xilinx git to try this, compiled and installed the modules on my rootFS (located on mmcblk0p2).

The board powers up correctly and the following output appears during boot-up (only usb-entries posted):

...

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb

...

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Xilinx PS USB Device Controller driver (Apr 01, 2011)

...

usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)

...

usbcore: registered new interface driver usbhid
usbhid: USB HID core driver

...

 

root@digster:~#

 

Then I try to load the module:

# modprobe g_mass_storage file=/str/backing_file

---- output from dmesg:

g_mass_storage gadget: controller 'xusbps-udc' not recognized
g_mass_storage gadget: Mass Storage Function, version: 2009/09/11
g_mass_storage gadget: Number of LUNs=1
 lun0: LUN: removable file: /str/backing_file
g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
g_mass_storage gadget: userspace failed to provide iSerialNumber
g_mass_storage gadget: g_mass_storage ready
xusbps-udc: bind to driver g_mass_storage

 

and I plug the cable into my PC:

and the following output comes from my dmesg on the host:

...

[2415.212220]usb 2-5: new high-speed USB device number 7 using ehci hcd
[2415.282304]hub 2-0:1.0 unable to enumerate USB device on port 5
[2415.544223]usb 2-5: new high-speed USB device number 8 using ehci hcd
[2415.614193]hub 2-0:1.0 unable to enumerate USB device on port 5
[2415.876221]usb 2-5: new high-speed USB device number 9 using ehci hcd
[2415.946815]hub 2-0:1.0 unable to enumerate USB device on port 5

...

Any suggestions what I could do to either debug it or if anyone has a fix for the matter? An user guide for xilinx usb drivers?

 

Please reply if you have any troubleshooting tips for me!

Tags (4)
0 Kudos
1 Reply
Visitor aodling
Visitor
3,940 Views
Registered: ‎11-12-2012

Re: Zynq USB device/otg doesn't enumerate

0 Kudos