Re: USB Hub
- From: "Luc Cool" <luc__cool@xxxxxxxxxxx>
- Date: Wed, 27 Dec 2006 21:28:08 GMT
Hi,
Glad to hear you solved your problem.
You say your Hub has a USBHPWR and USBPEN pin. I think you mean the PXA 270.
It could be possible that the state of the USBHPWR line is reflected in one
of the USB registers. In that case, it could be possible that the OHCI
driver needs a small adaption to ignore this state change. This is purely a
speculation from my site. You say you disabled the overcurrent protection.
How did you do that?
regards,
Luc
"Jeyanthi Jayakumar" <JeyanthiJayakumar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:77159B31-51F5-4A66-AB3C-6AD9FC72C8FC@xxxxxxxxxxxxxxxx
Hi Cool,have
My USB Hub is working fine . But i have a problem in that. The Hub has two
pins USBHPWR and USBPEN for its power switching. I don't want to use those
for its operation so i tried to change the alternate function.USBPEN, i
changed to Alternate function 1 and it is working. I want USBPWR pin (GPIOthen
88) as an GPIO for my application. If i change the Alternate function as
0(actually 1), the Hub itself not working and no power.
Is there any connection with this pin and any other thing. Even i have
disabled the Overcurrent protection. Even then it is not working. If i
disable the overcurrent protection and make the pin for ALT Function 1
it is working. Since In my system i am using it as input to PXA for somelook
other requirement. I want to change that pin function.
Kindly help me. Thanks in Advance.
"Luc Cool" wrote:
Hi,
I just wonder how you use it as USB 2.0 compatible? I just had a quick
devicesat the data sheets, and I thought it was a USB 1.1 compatible device.
Normally, a USB device identifies itself with a 3 word number. Hub
something ishave a unique combination of these numbers, identifiing themself as hub
device. So, if your chip comes up as a unidentified USB device,
windowwrong. If CE sees a unidentified USB device, it will come up with a
Itasking for the driver to install for it. In your case, this might happen
before your gwes is initialised so that you don't see it on your device.
incould be helpfull if you could reset the hub chip alone and observe what
happens afterwards, in debug information and on the screen.
regards.
"Jeyanthi Jayakumar" <JeyanthiJayakumar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
Thatmessage news:7853E72E-A599-452B-B7B3-39667004827F@xxxxxxxxxxxxxxxx
I have tried the USB hub directly to the USB port instead of Mouse.
Hubis
also working but the thing is first i have connected USB2.0 compatible
itit
was not recognising. And after that tested with 1.1 compatible Hub and
everythingwas
recognised and i even connected mouse to that Hub and worked,
seeis
fine.need
And we use the chip compatible to USB2.0 in our H/W. That side also we
to analyse.
"Luc Cool" wrote:
Hi,
Do you see any debug messages during the startup of the OS? If you
andno
build"debug output at all, you should verify the following things:
Under platform, settings, build options, make sure that "Enable ship
(WINCESHIP=1) is unmarked.
Search for the functions OEMWriteDebugByte and OEMInitDebugSerial.
serialmake
sure that these contain the code needed to send the bytes to a
andport
port ison your platform. Also make sure that the windows CE driver for that
not loaded so that it's resources are available for the debug output
searchboth doesn't conflict.
If you only have no debug output from your USB driver, you should
differentin
the sources of that driver for:
the "DBGPARAM dpCurSettings= ...." There you can change the
chip.zones
that show debug output. You might turn them all on in the beginning.
Suspend should indeed go high during normal operation of the hub
ThereAre
runningyou sure the EXTMEM line has the right level, and the oscillator is
as expected?
The USBPWR and overcurrent signals are not needed to test the hub.
ofconsumingpurpose is mainly to protect the supply against excessive power
USB devices. Sometimes, protection is simply done with electronic
(selfreparing)fuses. It all depends of price and expected robustness
havethe
final design.
The hub routines are implemented in the USB host driver. So, if you
well,that one running (And since your mouse is working if you connect it
directly, I assume you have), your platform should see the hub as
canplatform.without the need to add additional catalog items.
Another test you could try, is connecting a external hub to your
That way, you can see if your USB host driver is working fine and
thework
together with a hub. If you get that working, you can concentrate
ports?debugging on the hub chip and it's surrounding circuits. You didn't
accidentaly changed the D+ and D- line in the up or downstream
dollar
I know, it can sometimes be hard to convince your chief that a 20
wrotehub
can save you a lot of debugging time.
regards,
Luc
"Jeyanthi Jayakumar" <JeyanthiJayakumar@xxxxxxxxxxxxxxxxxxxxxxxxx>
within
message news:D325A73E-7DF4-4DB4-9B8A-D99A36B44462@xxxxxxxxxxxxxxxx
U r right. We are working on new H/W platform. And i have tried
coming.Isdebug
build and when i connected mouse to the Hub no messages are
tothere
any other things that has to be done to see the debug messages?
And i have tested the signals in my Hub Chip. The Poweron signals
Actually ifdownstream ports are high(3.3V) and suspens is always Low.
nothe
hub works properly, suspend pin should go High after some time if
addedaction
in the port Right?
And also i doubt in the image what are drivers that has to be
chipand
not
to be added for the Hub?And thanks for ur suggestion to test the
thisseperately. I shall try that also.
And do we really need the USBPWR and Overcurrent signals PXA for
HubHub
to
work. Because these above mentioned functions will be performed by
thebuild,itself
then why we need that one?
thanks and Regards
Jeyanthi.
"Luc Cool" wrote:
Hi,
you really should try to get the debug output. If you do a debug
you
should see some messages the moment you connect your mouse to
andhub.
You
should see the hub connecting as well during the OS startup.
I suppose it could be a hardware issue. Correct me if I am wrong
lines ofif
you
are not working on a new hardware design.
One thing you might try is isolating the upstream port data
gnd) ifthe
chip and connecting them to a pc USB port (together with the
athe
"Devicehub
chip is working correctly, you will find a "USB Root Hub" in the
Manager" under "Universal Serial Bus controllers" You only need
way,usb
cable,
good soldering experience and some patience to do this. This
theyou
can
test the mouse as well on the pc.
Resetting the hub chip alone for a few seconds, and observing
thedebug
output afterwards, could be interesting as well. It depends on
<JeyanthiJayakumar@xxxxxxxxxxxxxxxxxxxxxxxxx>reset
circuit if this is possible.
regards,
Luc
"Jeyanthi Jayakumar"
news:CEDC61D1-EC66-4871-98DB-7D6713C51F6F@xxxxxxxxxxxxxxxxwrote
in
message
ourHi,
Thanks Cool. But the thing is we have the Hub Chip in built in
theH/W
board
and it is very difficult to remove that. So we are tryng with
Itsame
chip
and oreover The mouse is geeting power but not working.
We don't know what to do?
"Luc Cool" wrote:
Hi,
you might check the supply voltage at the output of the hub.
mightmight be
below 5V and to low for proper operation of the mouse. You
hubcheck
the
debug output of your OS when you connect the mouse to the
ofand
when
you
connect the mouse directly to the platform. I am not aware
problemany
brandspecial OS
settings for the use of a USB hub. You might try a different
of
hub as
well, preferrable a external powered hub, to see if the
andis
not
related to the hub. A couple of years ago, I did some tests
havehad
Jayakumar@xxxxxxxxxxxxxxxxxxxxxxxxx>one
hub
working perfect while another refused to cooperate.
hope this helps.
regards,
Luc
"Jeyanthi Jayakumar" <Jeyanthi
news:3F5522A8-98F8-4A52-8359-B9CD7B3984EC@xxxxxxxxxxxxxxxxwrote in
message
Hi,
We have USB Hub TUSB2046 Chip connected to PXA270 and we
accessible.drivertaken
out 4
ports for accessing. I have included the OHCI and USB HID
accessfor
mouse
to
the image and downloaded the image. But we are not able to
the
Hub
using mouse. Mouse is getting power but it is not
to
With the same Image, we have connected the mouse directly
andone
of
the
USB
port of PXA(bypassing Hub) and we are able to access mouse
fora
Hub
of
1.1
compatibility.
Kindly suggest me if any settings to be done in the Image
the
Hub
Chip
or any drivers to be loaded specially for the Hub Chip.
And also pls suggest me any Hardware related issues.
Thanks in advance.
.
- Follow-Ups:
- Re: USB Hub
- From: Jeyanthi Jayakumar
- Re: USB Hub
- References:
- Re: USB Hub
- From: Luc Cool
- Re: USB Hub
- From: Luc Cool
- Re: USB Hub
- From: Jeyanthi Jayakumar
- Re: USB Hub
- From: Luc Cool
- Re: USB Hub
- From: Jeyanthi Jayakumar
- Re: USB Hub
- From: Luc Cool
- Re: USB Hub
- From: Jeyanthi Jayakumar
- Re: USB Hub
- Prev by Date: Re: how to load in a build in driver whose index is greater 10 in Windows CE
- Next by Date: Re: about samsung smdk2440 sd driver questions
- Previous by thread: Re: USB Hub
- Next by thread: Re: USB Hub
- Index(es):