2010-03-12 23:45:53 can't get USB power supply from BF526EZBRD
Zhi Qiang Zhang (CHINA)
Message: 87147
I used the this image( blackfin.uclinux.org/gf/download/frsrelease/473/7287/uImage-bf526-ezbrd-2009R1.1-RC4), it seems the USB HOST driver loaded correctly,
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, musb-dma, host, debug=0
musb_hdrc: USB Host mode controller at ffc03800 using DMA, IRQ 59
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
dma_alloc_init: dma_page @ 0x03e93000 - 256 pages at 0x03f00000
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
I plug an USB disk, but there is no 5V power, I haved turn SW20.2, SW20.5 OFF and SW20.6 ON, is there any setting I have to set?
Regards,
ZhangZQ
QuoteReplyEditDelete
2010-03-12 23:55:27 Re: can't get USB power supply from BF526EZBRD
Zhi Qiang Zhang (CHINA)
Message: 87148
forget to say, I am using an USB converter
the left one, is it ok?
Regards,
ZhangZQ
QuoteReplyEditDelete
2010-03-14 20:07:44 Re: can't get USB power supply from BF526EZBRD
Ian Jeffray (UNITED KINGDOM)
Message: 87190
I don't think you're using the left one - that's not a mini A or B connector there.
What you need is a mini-A to A converter. Be careful that it's mini-A not mini-B, or you'll experience the problem you're seeing. Mini-A connectors have the 5th pin pulled to ground to indicate to the host controller that it should change to host mode rather than device mode. My guess is you've not got a mini-A to A converter plugged in. A mini-B will fit in a mini-AB OTG socket of course. Note the physical differences for identification:
upload.wikimedia.org/wikipedia/commons/thumb/c/c2/Types-usb.svg/300px-Types-usb.svg.png
QuoteReplyEditDelete
2010-03-14 22:09:42 Re: can't get USB power supply from BF526EZBRD
Zhi Qiang Zhang (CHINA)
Message: 87191
The only difference between Mini-A and Mini-B is the 5th pin, right? Let me pullthe 5th pin of my cable to ground to try.
thank you very much!
Regards,
ZhangZQ
QuoteReplyEditDelete
2010-03-15 00:53:13 Re: can't get USB power supply from BF526EZBRD
Zhi Qiang Zhang (CHINA)
Message: 87193
It needs to pull the 4th pin to ground not the 5th pin, right? I tried to pull 4th and 5th to ground, BF526 still can't detect my USB DISK.
Regards,
ZhangZQ
QuoteReplyEditDelete
2010-03-15 12:33:05 Re: can't get USB power supply from BF526EZBRD
Ian Jeffray (UNITED KINGDOM)
Message: 87210
When I said "5th pin" I did not mean "Pin 5". The "extra" pin on a mini USB connector is for role detection. Get the right cable and don't just pull random pins to ground.
QuoteReplyEditDelete
2010-03-15 19:50:44 Re: can't get USB power supply from BF526EZBRD
Zhi Qiang Zhang (CHINA)
Message: 87222
I checked the 4th pin is the ID line, I made 4th and 5th pin in connection, but same problem. And I found no Mini-A to A cable in the market.
Regards,
ZhangZQ