[U-Boot-Users] Help(UHCI in UBoot)

Hi,
I am trying to bring up USB in UBoot for my custom board.I had taken the source from UBoot.1.1.4 mpl board.My board is having MIPS processor.In mpl , they had implemented interrupt in UBoot for USB but I had implemented polling.Will polling work for USB in UBoot.
Now I am facing a problem that is after doing control transfer it should wait for the completion,at this time I am polling for the Status Register but the Status Register Interrupt bit is not set that means Host Controller is not generating an interrupt.I had enabled the Interrupt in the Interrupt Enable Register.
So, can anybody tell me where I am going wrong.
Thanks & Regards, Sashi Bhusan

In message 478c2e070603250139r53002d46waf104b59b0edfc0c@mail.gmail.com you wrote:
I am trying to bring up USB in UBoot for my custom board.I had taken the source from UBoot.1.1.4 mpl board.My board is having MIPS processor.In mpl , they had implemented interrupt in UBoot for USB but I had implemented polling.Will polling work for USB in UBoot.
Yes, it will, if done correctly.
But why are you quoting your own text?
Now I am facing a problem that is after doing control transfer it should wait for the completion,at this time I am polling for the Status Register but the Status Register Interrupt bit is not set that means Host Controller is not generating an interrupt.I had enabled the Interrupt in the Interrupt Enable Register.
Check your code if all necesaary "volatile"s etc. are present.
Content-Type: text/html; charsetÿO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0> px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
And NEVER post HTML here!
Best regards,
Wolfgang Denk

Hi Wolfgang,
But why are you quoting your own text? I am using polling because in UBoot for MIPS interrupt has not been implemented.
Check your code if all necesaary "volatile"s etc. are present I had read the Status Register using a hardware debug tool. But it is not set. The conetents of the Status Register is 0.
I am attaching my log file . So please help me in resolving this issue.
Thanks & Regards, Sashi Bhusan
participants (2)
-
Sashi Bhusan Mohapatra
-
Wolfgang Denk