Hello All,

I have a particular problem at this point of time ...

Problem :-
------------
I have managed to get the USB Host controller working and all the
client drivers are also working,i.e. Keyboard,mouse,mass storage etc
...
Now I have started working on the CF-card ... but I came to a problem
as soon as I inserted the CF-card ... on investigation I found that the
CF-card detect pin(Configured on a GPIO) that we have on our platform
goes low as soon as we insert the CF-card ... now the problem is that
this GPIO takes care of the USB over current indicator pin(Mostly
configured in the USB drivers) ... so as soon as I insert the CF-card
the USB DLL's get un-loaded indicating the over current flag ...
So now I want to remove the over current protection for the USB ... If
anyone could provide any pointers in that regard it wouldbe a great
help ...!

Regards,
Swapnil.

Re: USB Over current Query ... ? by WindowsCE_Developer

WindowsCE_Developer
Tue Jan 03 03:04:00 CST 2006

Hello All,

Any pointers in this regard .... ?

Regards,
Swapnil.


Re: USB Over current Query ... ? by Piet

Piet
Tue Jan 03 10:33:20 CST 2006


What CPU? PXA?
Can you change the USB driver?

You just have to tell it not to use this indicator, either by changing
the code or, if possible, using a registry setting.

Maybe it would be possible to just change the pin configuration.

Give some more information first.

Regards,
Piet


Re: USB Over current Query ... ? by Henrik

Henrik
Tue Jan 03 12:46:37 CST 2006

You're using a PXA270/MainstoneII based custom board, right? Look at
the hcd code. You cannot miss it. The easiest fix is probably to ommit
setting up gpio88 alternate function 1.

However, you should probably think twice about having the CF card
detect on gpio88 in later hw revisions because I'm not sure you can
have the usb host over current sense input on any other pin.

Henrik Viklund


Re: USB Over current Query ... ? by WindowsCE_Developer

WindowsCE_Developer
Wed Jan 04 02:49:31 CST 2006

Hello Henrik and Piet,

Thanks a lot for your reply ...!

I am using a PXA270/MainstoneII based custom board. However, I have not
configured the GPIO88 as alternate function in the xlli_mainstone_defs
file. Most probably the Host controller driver should be configuring
that GPIO as alternate function. I will remove that particular piece of
code and see what happens ... also I will have to tell the Hardware
department to incorporate the suggestion given by Henrik ...!

Regards,
Swapnil.