
USB Host controller on LPC24xx
I'm trying to write some drivers for the USB host controller for
LPC2468, using an IAR Kickstart board.
I have the USB HC operational and have interrupts every msec (start of
frame interrupts) but I don't see any SOF activity when I connect a
device. Also the root hub does not show that something is connected to
it. The D+ and D- minus lines change their voltage according to the
speed of the device connected, but after that they are quiet.
Everything was set correctly (I think) and I have power on the USB
connector (controlled by Hub).
I also looked (and followed) the Keil example for USB host.
Did anyone successfully used the host controller on LPC processors?
Any hint?
Thank you
USB Host, Device drivers are all working in the uCLinux
environment?
Tom
--- In l..., "Adrian Bica" wrote:
>
> Hi,
>
> I'm trying to write some drivers for the USB host controller for
> LPC2468, using an IAR Kickstart board.
> I have the USB HC operational and have interrupts every msec
(start of
> frame interrupts) but I don't see any SOF activity when I connect a
> device. Also the root hub does not show that something is
connected to
> it. The D+ and D- minus lines change their voltage according to the
> speed of the device connected, but after that they are quiet.
> Everything was set correctly (I think) and I have power on the USB
> connector (controlled by Hub).
> I also looked (and followed) the Keil example for USB host.
>
> Did anyone successfully used the host controller on LPC processors?
> Any hint?
>
> Thank you
>
http://www.ghielectronics.com/details.php?id3
Gus
--- In l..., "Adrian Bica" wrote:
>
> Hi,
>
> I'm trying to write some drivers for the USB host controller for
> LPC2468, using an IAR Kickstart board.
> I have the USB HC operational and have interrupts every msec (start
of
> frame interrupts) but I don't see any SOF activity when I connect a
> device. Also the root hub does not show that something is connected
to
> it. The D+ and D- minus lines change their voltage according to the
> speed of the device connected, but after that they are quiet.
> Everything was set correctly (I think) and I have power on the USB
> connector (controlled by Hub).
> I also looked (and followed) the Keil example for USB host.
>
> Did anyone successfully used the host controller on LPC processors?
> Any hint?
>
> Thank you
>
Any plans to add support for USB cameras?
Jan
--- In l..., "Gus" wrote:
>
> Yes we have all working just fine and not using linux
> http://www.ghielectronics.com/details.php?id3
>
> Gus
>
> --- In l..., "Adrian Bica" wrote:
> >
> > Hi,
> >
> > I'm trying to write some drivers for the USB host controller for
> > LPC2468, using an IAR Kickstart board.
> > I have the USB HC operational and have interrupts every msec
(start
> of
> > frame interrupts) but I don't see any SOF activity when I connect
a
> > device. Also the root hub does not show that something is
connected
> to
> > it. The D+ and D- minus lines change their voltage according to
the
> > speed of the device connected, but after that they are quiet.
> > Everything was set correctly (I think) and I have power on the USB
> > connector (controlled by Hub).
> > I also looked (and followed) the Keil example for USB host.
> >
> > Did anyone successfully used the host controller on LPC
processors?
> > Any hint?
> >
> > Thank you
>
LPC24xx available for download somewhere?
--- In l..., "Dezheng Tang" wrote:
>
> Have you seen/tried the Embedded Artists LPC24xx boards, the
> USB Host, Device drivers are all working in the uCLinux
> environment?
>
> Tom
have it going on our low priority thread. I am assuming you are
talking about USB web-cams
Gus
--- In l..., "Jan Szymanski" wrote:
>
> Hi Gus,
>
> Any plans to add support for USB cameras?
>
> Jan
>
> --- In l..., "Gus" wrote:
> >
> > Yes we have all working just fine and not using linux
> > http://www.ghielectronics.com/details.php?id3
> >
> > Gus
> >
> > --- In l..., "Adrian Bica" wrote:
> > >
> > > Hi,
> > >
> > > I'm trying to write some drivers for the USB host controller for
> > > LPC2468, using an IAR Kickstart board.
> > > I have the USB HC operational and have interrupts every msec
> (start
> > of
> > > frame interrupts) but I don't see any SOF activity when I
connect
> a
> > > device. Also the root hub does not show that something is
> connected
> > to
> > > it. The D+ and D- minus lines change their voltage according to
> the
> > > speed of the device connected, but after that they are quiet.
> > > Everything was set correctly (I think) and I have power on the
USB
> > > connector (controlled by Hub).
> > > I also looked (and followed) the Keil example for USB host.
> > >
> > > Did anyone successfully used the host controller on LPC
> processors?
> > > Any hint?
> > >
> > > Thank you
> > >
>
> Also the root hub does not show that something is connected to
it.
I stumbled into a same kind of problem. After desperate debugging I found out that USB_PWRD signal must be inverted. The circuit examples in user manual doesn't work.
So you should pull USB_PWRD signal down when you have power on the connector or ignore it by programming it as GPIO pin.
--
Timo
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
I put the pin in GPIO mode (I cannot pull it down without modifying
the board) and now the connection bit and the speed bit are showing
the correct values.
Strange, in Gus example the USB_PWRD pin is used in USB function.
Probably, the Embedded Artists board has the Power status line
inverted. Can anybody confirm this?
Adrian
--- In l..., tike64 wrote:
>
> Adrian Bica wrote:
> > Also the root hub does not show that something is connected to
> it.
>
> I stumbled into a same kind of problem. After desperate debugging I
found out that USB_PWRD signal must be inverted. The circuit examples
in user manual doesn't work.
>
> So you should pull USB_PWRD signal down when you have power on the
connector or ignore it by programming it as GPIO pin.
>
> --
>
> Timo
>
>
____________________________________________________________________________________
> Never miss a thing. Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>
LPC2468FBD208
S60847.6W08
ZSG0632-Y
However if I set the pin to USB_PWRD function and keep it high, it
does not work.
--- In l..., "Gus" wrote:
>
> NXP inverted this pin on version A but was never listed in the
> errata!!! I was going to shoot myself trying to see why this pin
> doesn't work on the new circuit that have rev A vs. rev '-'
> Gus
> --- In l..., tike64 wrote:
> >
> > Adrian Bica wrote:
> > > Also the root hub does not show that something is connected to
> > it.
> >
> > I stumbled into a same kind of problem. After desperate debugging I
> found out that USB_PWRD signal must be inverted. The circuit examples
> in user manual doesn't work.
> >
> > So you should pull USB_PWRD signal down when you have power on the
> connector or ignore it by programming it as GPIO pin.
> >
> > --
> >
> > Timo
> >
> >
> >
> >
> >
> >
> ______________________________________________________________________
> ______________
> > Never miss a thing. Make Yahoo your home page.
> > http://www.yahoo.com/r/hs
>
errata!!! I was going to shoot myself trying to see why this pin
doesn't work on the new circuit that have rev A vs. rev '-'
Gus
--- In l..., tike64 wrote:
>
> Adrian Bica wrote:
> > Also the root hub does not show that something is connected to
> it.
>
> I stumbled into a same kind of problem. After desperate debugging I
found out that USB_PWRD signal must be inverted. The circuit examples
in user manual doesn't work.
>
> So you should pull USB_PWRD signal down when you have power on the
connector or ignore it by programming it as GPIO pin.
>
> --
>
> Timo
>
>
______________________________________________________________________
______________
> Never miss a thing. Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>
