lpcware

LPC1788 USB support for Uclinux

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by nohabviktor on Mon Dec 15 08:18:00 MST 2014
Hi!

I found this post:
http://www.lpcware.com/content/forum/uclinux-lpc17xx-support-usb-host-interface

and I would like to ask, how you configure the kernel to usb.
I have a custom board.
I downloaded the uclinux and u-boot from emcraft github. I configured the USB clock to 48Mhz and ohci driver and the kernel output is following:

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
lpc178x-ohci lpc178x-ohci.1: LPC178x OHCI
lpc178x-ohci lpc178x-ohci.1: new USB bus registered, assigned bus number 1
lpc178x-ohci lpc178x-ohci.1: irq 24, io mem 0x2008c000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: LPC178x OHCI
usb usb1: Manufacturer: Linux 2.6.33-arm1 ohci_hcd
usb usb1: SerialNumber: lpc178x-ohci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver

The kernel is not found any other device, and not this message:
"usb 1-2: new full speed USB device using lpc178x-ohci and address 2"

My custom board hardware is fine, I followed the LPC178x/x User manual

Something is missing from the emcraft uclinux, or something is missing from my config?
Please give me an advice.

Thank you!

Outcomes