AnsweredAssumed Answered

USB on BF548 EZ KIT

Question asked by laeeq on Jun 11, 2012
Latest reply on Jun 13, 2012 by Aaronwu

Dear All,

 

I am working on BF548 Ez Kit with uclinux. The issue is i am unable to get started with the USB. In the kernel options i have chosen ,  

kernel options-> DD ->USB . The kernel i am using is Linux blackfin 3.0.8-ADI-2011R1 #281 Mon Jun 11 18:23:31 IST 2012 blackfin GNU

 

--- USB support                                                                                                                    │ │ 

  │ │                                                             <M>   Support for Host-side USB                                                                                                    │ │ 

  │ │                                                             [*]     USB verbose debug messages                                                                                                 │ │ 

  │ │                                                             [*]     USB announce new devices                                                                                                   │ │ 

  │ │                                                                     *** Miscellaneous USB options ***                                                                                          │ │ 

  │ │                                                             [ ]     USB device filesystem (DEPRECATED)                                                                                         │ │ 

  │ │                                                             [ ]     USB device class-devices (DEPRECATED)                                                                                      │ │ 

  │ │                                                             [ ]     Dynamic USB minor allocation                                                                                               │ │ 

  │ │                                                             [ ]     USB runtime power management (autosuspend) and wakeup                                                                      │ │ 

  │ │                                                             [ ]   Rely on OTG Targeted Peripherals List                                                                                        │ │ 

  │ │                                                             [ ]   Disable external hubs                                                                                                        │ │ 

  │ │                                                             <M>   USB Monitor                                                                                                                  │ │ 

  │ │                                                             < >   Enable Wireless USB extensions (EXPERIMENTAL)                                                                                │ │ 

  │ │                                                             < >   Support WUSB Cable Based Association (CBA)                                                                                   │ │ 

  │ │                                                                   *** USB Host Controller Drivers ***                                                                                          │ │ 

  │ │                                                             < >   Cypress C67x00 HCD support                                                                                                   │ │ 

  │ │                                                             < >   OXU210HP HCD support                                                                                                         │ │ 

  │ │                                                             < >   ISP116X HCD support                                                                                                          │ │ 

  │ │                                                             < >   ISP 1760 HCD support                                                                                                         │ │ 

  │ │                                                             < >   ISP1362 HCD support                                                                                                          │ │ 

  │ │                                                             < >   SL811HS HCD support                                                                                                          │ │ 

  │ │                                                             < >   R8A66597 HCD support                                                                                                         │ │ 

  │ │                                                             < >   Host Wire Adapter (HWA) driver (EXPERIMENTAL)                                                                                │ │ 

  │ │                                                                   *** Enable Host or Gadget support to see Inventra options ***                                                                │ │ 

  │ │                                                             < >   Inventra Highspeed Dual Role Controller (TI, ADI, ...)                                                                       │ │ 

  │ │                                                                   *** USB Device Class drivers ***                                                                                             │ │ 

  │ │                                                             < >   USB Modem (CDC ACM) support                                                                                                  │ │ 

  │ │                                                             < >   USB Printer support                                                                                                          │ │ 

  │ │                                                             < >   USB Wireless Device Management support                                                                                       │ │ 

  │ │                                                             < >   USB Test and Measurement Class support                                                                                       │ │ 

  │ │                                                                   *** NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may ***                                                                 │ │ 

  │ │                                                                   *** also be needed; see USB_STORAGE Help for more info ***                                                                   │ │ 

  │ │                                                             <M>   USB Mass Storage support                                                                                                     │ │ 

  │ │                                                             [*]     USB Mass Storage verbose debug                                                                                             │ │ 

  │ │                                                             < >     Realtek Card Reader support                 

 

and in the library options i have selected lsusb. Further after compiling and booting up when i run

 

find / -name "*usb*"

/sys/bus/usb

/sys/bus/usb/drivers/usbfs

/sys/bus/usb/drivers/usb

/sys/kernel/debug/usb

/sys/kernel/debug/blackfin/usb

/sys/module/usbcore

/sys/module/usbcore/parameters/nousb

/sys/module/usbcore/parameters/usbfs_snoop

/sys/module/usbcore/drivers/usb:usbfs

/sys/module/usbcore/drivers/usb:hub

/sys/module/usbcore/drivers/usb:usb

/usr/bin/lsusb

/usr/share/usb.ids

/lib/modules/3.0.8-ADI-2011R1/kernel/drivers/net/usb

/lib/modules/3.0.8-ADI-2011R1/kernel/drivers/net/usb/usbnet.ko

/lib/modules/3.0.8-ADI-2011R1/kernel/drivers/usb

/lib/modules/3.0.8-ADI-2011R1/kernel/drivers/usb/mon/usbmon.ko

/lib/modules/3.0.8-ADI-2011R1/kernel/drivers/usb/storage/usb-storage.ko

/lib/modules/3.0.8-ADI-2011R1/kernel/drivers/usb/core/usbcore.ko

 

Further the settings,

SW16 PIn3 -- ON

(ADSP-BF548 EZ-KIT Lite Hardware Reference  -- PG 77)

 

Jumper J11

USB Power for ADSP-BF548 processor      JP11 Pins 1 and 3                 JP11 Pins 2 and 4

                                                                         ON                                     ON

I connected a cable from the board to the host PC . Later i plan to check it a pen drive as well ( USB mass storage included) .

and then i run lsusb on the target board, it returns nothing . Then i run lsusb on the HOST PC ,  it displays other things but not anything specific to this board.Again i listed things with modprobe -l on the target board , it dsiplays,

modprobe -l

 

kernel/drivers/base/firmware_class.ko

kernel/drivers/usb/core/usbcore.ko

kernel/drivers/input/ff-memless.ko

kernel/drivers/input/evbug.ko

kernel/fs/nls/nls_iso8859-1.ko

kernel/drivers/net/usb/cdc_ether.ko

kernel/fs/nls/nls_utf8.ko

kernel/drivers/i2c/i2c-mux.ko

misc/twi_smbus_test.ko

kernel/drivers/net/usb/cdc_ncm.ko

kernel/fs/fat/msdos.ko

kernel/drivers/usb/mon/usbmon.ko

kernel/drivers/scsi/scsi_wait_scan.ko

kernel/drivers/char/bfin-dma.ko

kernel/drivers/usb/storage/usb-storage.ko

kernel/drivers/net/usb/asix.ko

kernel/fs/nls/nls_cp936.ko

kernel/drivers/mtd/tests/mtd_nandecctest.ko

kernel/drivers/net/usb/usbnet.ko

kernel/drivers/net/usb/net1080.ko

kernel/fs/fat/fat.ko

misc/simple.ko

kernel/fs/jffs2/jffs2.ko

kernel/drivers/input/evdev.ko

kernel/fs/ext3/ext3.ko

 

If its a loadble module ( LKM) i can load it with modprobe usbcore  ?

 

Am i going somewhere wrong here ?

 

Any help is very much appreciated, Thanks

Outcomes