2010-01-14 07:15:22     u-boot and usb bf527

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

2010-01-14 07:15:22     u-boot and usb bf527

gh siregha (RUSSIAN FEDERATION)

Message: 84579   

 

bf527 can not detect mass-storage device

 

say:

 

bfin> usb start                                                               

(Re)start USB...                                                              

USB:   scanning bus for devices... 1 USB Device(s) found                      

       scanning bus for storage devices... 0 Storage Device(s) found

 

bfin> usb start                                                               

(Re)start USB...                                                              

USB:   scanning bus for devices... 1 USB Device(s) found                      

       scanning bus for storage devices... 0 Storage Device(s) found          

bfin> usb info                                                                

1: Hub,  USB Revision 2.0                                                     

-  MUSB Root Hub                                                             

- Class: Hub                                                                 

- PacketSize: 8  Configurations: 1                                           

- Vendor: 0x0000  Product 0x0000 Version 0.0                                 

   Configuration: 1                                                           

   - Interfaces: 1 Self Powered 0mA                                           

     Interface: 0                                                             

     - Alternate Setting 0, Endpoints: 1                                      

     - Class Hub                                                              

     - Endpoint 1 In Interrupt MaxPacket 512 Interval 255ms

what could be wrong?

QuoteReplyEditDelete

 

 

2010-01-14 14:54:45     Re: u-boot and usb bf527

Mike Frysinger (UNITED STATES)

Message: 84586   

 

you need to describe your exact software setup (versions/boot output/etc...) as well the exact hardware you're using (board/cables/etc...).

 

you should also try the device under Linux to see if it works there.

QuoteReplyEditDelete

 

 

2010-01-14 16:21:53     Re: u-boot and usb bf527

gh siregha (RUSSIAN FEDERATION)

Message: 84587   

 

software setup:

 

gcc toolchain 09r1-10

 

u-boot-2008.10-2009R1-rc3.tar.bz2  (configured as bf527-ezkit)

 

hardware setup:

 

custom board with BF527 rev.0.2, like bf527-ezkit

 

usb connection:

 

USBXI, USB_XO - 24MHz crystal oscillator ((works, check oscilloscope)

 

USBRSET - 10k pulldown

 

USBVREF - 3,3V

 

USBVBUS - 5V

 

USBID - GND

 

USBDM - D-

 

USBDP - D+

 

PG13 not used

 

lpt jtag for loading to board.

 

The loading process is normal (gdb+gdbproxy for jtag).  The boot output is typical, only problem with the usb subsystem (until).

 

QuoteReplyEditDelete

 

 

2010-01-14 16:28:34     Re: u-boot and usb bf527

Mike Frysinger (UNITED STATES)

Message: 84588   

 

we've fixed some usb bugs in 2009R1.1, and the difference between 2009R1 and 2009R1.1 is pretty small.  you really should start off with that for your base.

 

have you booted linux yet ?

QuoteReplyEditDelete

 

 

2010-01-14 16:58:55     Re: u-boot and usb bf527

gh siregha (RUSSIAN FEDERATION)

Message: 84589   

 

>have you booted linux yet ?

 

---

 

No.

QuoteReplyEditDelete

 

 

2010-01-18 08:55:56     Re: u-boot and usb bf527

gh siregha (RUSSIAN FEDERATION)

Message: 84716   

 

In linux "dmesg | grep usb" is empty.

 

For USBVREF float:

 

bfin> usb start                                                               

(Re)start USB...                                                              

USB:   scanning bus for devices... 2 USB Device(s) found                      

       scanning bus for storage devices... 1 Storage Device(s) found          

                                                    

bfin> usb info                                                                

1: Hub,  USB Revision 2.0                                                     

-  MUSB Root Hub                                                             

- Class: Hub                                                                 

- PacketSize: 8  Configurations: 1                                           

- Vendor: 0x0000  Product 0x0000 Version 0.0                                 

   Configuration: 1                                                           

   - Interfaces: 1 Self Powered 0mA                                           

     Interface: 0                                                             

     - Alternate Setting 0, Endpoints: 1                                      

     - Class Hub                                                              

     - Endpoint 1 In Interrupt MaxPacket 512 Interval 255ms                   

                                                                              

2: Mass Storage,  USB Revision 2.0                                            

- USBest Technology USB Mass Storage Device 7d035853c535b1                   

- Class: (from Interface) Mass Storage                                       

- PacketSize: 64  Configurations: 1                                          

- Vendor: 0x1307  Product 0x0163 Version 1.0                                 

   Configuration: 1                                                           

   - Interfaces: 1 Bus Powered 80mA                                           

     Interface: 0                                                             

     - Alternate Setting 0, Endpoints: 3                                      

     - Class Mass Storage, Transp. SCSI, Bulk only                            

     - Endpoint 1 Out Bulk MaxPacket 512                                      

     - Endpoint 2 In Bulk MaxPacket 512                                       

     - Endpoint 3 In Interrupt MaxPacket 64 Interval 8ms                      

                                                                              

bfin> usb part                                                                

print_part of 0                                                               

## Unknown partition table                                                    

                                                                              

print_part of 1                                                               

## Unknown partition table                                                    

                                                                              

print_part of 2                                                               

## Unknown partition table                                                    

                                                                              

print_part of 3                                                               

## Unknown partition table                                                    

                                                                              

print_part of 4                                                               

## Unknown partition table                                                    

bfin>

 

what could be wrong?

Attachments

    Outcomes