Skip to contentSkip to conversation

USB problem ..

DISCUSSION navinb 1 participant 1 message May 2, 2002

lore
Share & tools
lore

navinb

author
#0 lore raw

Hello,

I am facing specific problems in getting USB working on mpc823.

sometimes it gets hanged as soon I write to USCOM (usb command) register , also I am not able to set "endpoint->tstate" equal to zero during initialisation.

I can see that it indefinitely keeps awaiting for idle bit set in USBS(usb status register) register.

as per the MPC823 manual I should first operate on cpcr (cpm command register) with usb commands before issuing USCOM but their example code doesn't do that.

I am using only endpoint zero.

should I use my buffers in dpram or host memory?
any issues specific to this...

any pointer on this / known issues or working driver code..

with Regards,
Navin

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/