[U-Boot] Query on USB function(device) working in MPC8280

GurumurthyGowdar gurumurthy.gm at rediffmail.com
Thu Jul 23 20:02:05 CEST 2009


Dear All,
                              
        i have written driver for USB function(device) in code warrior for MPC8280,i am facing problem in configuration stage,when i connect it to the host PC through USB cable .device descriptor is happening host is setting the address but device configuration is not happening properly...it hangs in USB busy handler.

below is the output of the snippet in hyperterminal for usb debugging

Debug statements

GetDescriptor request length = 0x40
Device Descriptor...
In TX bd status = 3ec0
In TX USB event register = 109
Recieved PID token = 0xbc40
bd status = 3ec0
USB:SetAddress 10
bd status = 3800
In TX bd status = 3ac0
In TX USB event register = 108
GetDescriptor request length = 0x12
Device Descriptor...
In TX bd status = 3ec0
In TX USB event register = 109
Recieved PID token = 0xbc40
bd status = 3ec0
In USB_BUSY HANDLER : 0x108
In TX bd status = 3ec0
In TX USB event register = 10c
Recieved PID token = 0xbc40
bd status = 3ec0
In USB_BUSY HANDLER : 0x0
In TX bd status = 3ec0
In TX USB event register = 10d
Recieved PID token = 0xbc40
bd status = 3ec0
In USB_BUSY HANDLER : 0x108
In TX bd status = 3ec0
In TX USB event register = 108
Recieved PID token = 0xbc40
bd status = 3ec0


it hangs in usb busy handler , i think am missing somthing in PID data toggling synchronization between MPC8280 and host.

please help me out to sort this issue....

am testing in FreeScale Code Warrior IDE

waiting for the reply ASAP

Regards,
Gurumurthy


More information about the U-Boot mailing list