[U-Boot] USB Device Port not working in MPC8280 PowerPC

Dear All, am facing problem on writing USB device port driver for MPC8280,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 there in USB busy handler.
below is the output of the snippet in hyperterminal for usb debugging
Debug statements
GetDescriptor request length = 0x40 Device Descriptor... bd status = 3ec0 In TX USB event register = 108 Recieved PID token = 0x3cc0 USB:SetAddress 2 bd status = 3800 bd status = 3ac0 In TX USB event register = 108 GetDescriptor request length = 0x12 Device Descriptor... bd status = 3ec0 In TX USB event register = 109 Recieved PID token = 0x3cc0 In USB_BUSY HANDLER : 0x108
it hangs in usb busy handler , am feeling data pid toggling may be the issue.
please help me out to sort this issue....let me know if any codes are available for USB Device & USB Host testing for MPC8280.
am testing in FreeScale Code Warrior IDE
waiting for the reply ASAP
Regards, Gurumurthy

Dear Gurumurthy Gowdar,
In message adaf92990907170335n3856a492i2b0738aa12af5b23@mail.gmail.com you wrote:
am facing problem on writing USB
device port driver for MPC8280,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 there in USB busy handler.
Which exact version of U-Boot are you running?
Best regards,
Wolfgang Denk

U-boot 1.3.1 ELDK 4.2
currently debugging in Code Warrior IDE. i have taken device port code from u-boot i.e mpc8xx_udc.c & modified to suit mpc8280.
With Regards, Gurumurthy
On Fri, Jul 17, 2009 at 4:22 PM, Wolfgang Denk wd@denx.de wrote:
Dear Gurumurthy Gowdar,
In message adaf92990907170335n3856a492i2b0738aa12af5b23@mail.gmail.com you wrote:
am facing problem on writing USB
device port driver for MPC8280,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 there in USB busy handler.
Which exact version of U-Boot are you running?
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de Every program has at least one bug and can be shortened by at least one instruction - from which, by induction, one can deduce that every program can be reduced to one instruction which doesn't work.

Dear Gurumurthy Gowdar,
please do not top-post / full-quote. Make sure to read http://www.netmeister.org/news/learn2quote.html
In message adaf92990907170415j7da24647r5cdd55180b014021@mail.gmail.com you wrote:
U-boot 1.3.1
How about updating to current code?
Best regards,
Wolfgang Denk

updating to Current code which version? is there any drivers for MPC8280 USB host & Device ports.
regards, gurumurthy
On Fri, Jul 17, 2009 at 4:51 PM, Wolfgang Denk wd@denx.de wrote:
Dear Gurumurthy Gowdar,
please do not top-post / full-quote. Make sure to read http://www.netmeister.org/news/learn2quote.html
In message adaf92990907170415j7da24647r5cdd55180b014021@mail.gmail.com you wrote:
U-boot 1.3.1
How about updating to current code?
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de As long as we're going to reinvent the wheel again, we might as well try making it round this time. - Mike Dennison

Dear Gurumurthy Gowdar,
please do not ignore hints given to you:
Please do not top-post / full-quote. Make sure to read http://www.netmeister.org/news/learn2quote.html
In message adaf92990907171120x22448a1dt24bc2b1f94655076@mail.gmail.com you wrote:
updating to Current code which version? is there any drivers for MPC8280 USB host & Device ports.
Curent code is either v2009.06 or top of tree from git repository.
And no, AFAIKT there are no USB drivers for the MPC8280 in U-Boot.
But why are you asking? I thought you had somethin written yourself - didn't you ask about problems with USB in U-Boot? So you must have had some driver added to U-Boot?
Best regards,
Wolfgang Denk

Dear Sir, sorry for the miss quote. i have written the code for USB device & USB Host from taking reference code of U-boot.
current version is ELDK version 4.2 ppc_6xx: Build 2008-04-01
with regards, gurumurthy
On Sat, Jul 18, 2009 at 12:01 AM, Wolfgang Denk wd@denx.de wrote:
Dear Gurumurthy Gowdar,
please do not ignore hints given to you:
Please do not top-post / full-quote. Make sure to read http://www.netmeister.org/news/learn2quote.html
In message adaf92990907171120x22448a1dt24bc2b1f94655076@mail.gmail.com you wrote:
updating to Current code which version? is there any drivers for MPC8280
USB
host & Device ports.
Curent code is either v2009.06 or top of tree from git repository.
And no, AFAIKT there are no USB drivers for the MPC8280 in U-Boot.
But why are you asking? I thought you had somethin written yourself - didn't you ask about problems with USB in U-Boot? So you must have had some driver added to U-Boot?
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de Any sufficiently advanced technology is indistinguishable from magic. Clarke's Third Law - _Profiles of the Future_ (1962; rev. 1973) ``Hazards of Prophecy: The Failure of Imagination''
participants (2)
-
Gurumurthy Gowdar
-
Wolfgang Denk