2009-05-04 06:07:19     Bf527 USB Host Problems

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-05-04 06:07:19     Bf527 USB Host Problems

Harbhajan Singh (INDIA)

Message: 73554   

 

Hi,

 

I am working with the uClinux trunk distribution and Bf527 rev 0.2 board.

 

I have enabled the SOC host controller and USB Mass storage driver and I am able to mount the file system and able to do write and read operations.

 

I have disabled the USB Mass storage  driver and after booting the kernel When i connect the Sandisk usb device(USB flash disk)

 

I got the following information.

 

root:/> usb 1-1: new high speed USB device using musb_hdrc and address 2

usb 1-1: configuration #1 chosen from 1 choice

usb 1-1: New USB device found, idVendor=0781, idProduct=5406

usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

usb 1-1: Product: U3 Cruzer Micro

usb 1-1: Manufacturer: SanDisk

usb 1-1: SerialNumber: 4320330EF7C21035

libusual: modprobe for usb-storage succeeded, but module is not present

 

Same kernel after booting if I connect a usb based WiFi card  it is not enumerating and it shows the following details.

 

root:/> usb 1-1: new high speed USB device using musb_hdrc and address 2

usb 1-1: device descriptor read/64, error -110

usb 1-1: device descriptor read/64, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 3

usb 1-1: device descriptor read/64, error -110

usb 1-1: device descriptor read/64, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 4

musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 000a

musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 000a

usb 1-1: device not accepting address 4, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 5

musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 000a

musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 000a

usb 1-1: device not accepting address 5, error -110

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

 

how to resolve this issue, so that soc host controller can do the basic enumration of any class of usb devices.

 

Thanks and Regards,Harbhajan

QuoteReplyEditDelete

 

 

2009-05-04 06:25:52     Re: Bf527 USB Host Problems

Sonic Zhang (CHINA)

Message: 73555   

 

What kernel release do you use?

 

If you disabled the USB Mass storage  driver from kernel, you of course can't find the module.

 

Did you built the USB wifi driver into your kernel?

 

 

QuoteReplyEditDelete

 

 

2009-05-04 06:48:55     Re: Bf527 USB Host Problems

Michael Hennerich (GERMANY)

Message: 73556   

 

Some time ago I debugged this USB Enumeration issues seen with some USB Gadgets on EZKITs.

The problem is that the VBUS Voltage drops below 4.40 Volt during device initialization.

Causing a Blackfin USB VBUS_ERROR and the device on the other end of the side to malfunction.

 

The voltage drop is due to missing capacitance on the VBUS supply.

A simple 100uF Low ESR across VBUS fixes the problems.

 

See atached picture

 

-Michael

 

 

BF527-EZKIT_USB_VBUS.jpg

QuoteReplyEditDelete

 

 

2009-05-04 11:56:29     Re: Bf527 USB Host Problems

Appalayagari Sreedhar (INDIA)

Message: 73574    Hi Micheal and Micheal,

 

Thankyou very much.

 

Could you please tell me is there any USB based WiFi driver in the uClinux

distribution so that I want to test my USB based WiFi card.

With SOC Host Controller in BF527.

 

Best Regards, Harbhajan

QuoteReplyEditDelete

 

 

2009-05-05 03:22:49     Re: Bf527 USB Host Problems

Michael Hennerich (GERMANY)

Message: 73618    I used the Ralink rt2501/rt73 (USB) drivers with Ralink chipset based

adaptors successfully. (for example: D-Link DWL-G122)

The drivers are mainlined and available in our svn trunk.

-Michael

Attachments

Outcomes