Notices

X50 / X51 Forums Talk about anything related to the X50 / X51 series.

Reply
 
LinkBack Thread Tools
Old 11-24-06, 08:51 AM   #166 (permalink)
Aximsite Veteran
 
Join Date: Mar 2005
Location: Toronto
Posts: 1,093
Device: A1200,Moto-Q
Carrier: Rogers
Thanked 0 Times in 0 Posts
Exclamation Found traces!!

I found a trace from each of the USBH-N (D23) and USBH-P (E22) lines to 15K ohm pulldown resistors just above the CPU, under the shield frame.

At this time, anyone can carry on the search to see if the traces are actually connected outside of the CPU shield. Refer to the photo below with the test points.

There are two pulldown resistors. One is completely under the top corner of the shield. There is a testpad for the USBH-N line so I'm guessing there is probably one for the USBH-P line - maybe on the backside of the PCB.

I still need to find two more lines though - the USBPEN (D22) enable line and the USBHPWR (C23) power supply enable. This is not as simple as the HOST pins as these two GPIO pins can be defined for other purposes. Specifically, the GPIO pin D22 can also be used for AC97_SYSCLK which I think is sound related.

If you plan on soldering a couple of wires to the resistors to make it easier to trace the circuits, make sure to secure the wires to the board using a drop of 5 minute epoxy or some other method. This needs to be done to prevent you from ripping the parts off of the PCB if you pull on the wires. The traces on these boards are only a mil thick and a few mil wide and tear REALLY easily. (One of those "been there - done that" experiences).

Stay tuned :approve:

ps: the references D22, C23, etc refer to the rows and columns of pins on the CPU chip. Refer to the PDF file in Afarre's 1st post for more info.
Attached Images:
File Type: jpg USBH testpoints.JPG (36.5 KB, 139 views)

Last edited by bigbop; 11-24-06 at 10:36 AM.
bigbop is offline   Reply With Quote
Sponsor Ads
Old 11-24-06, 10:47 AM   #167 (permalink)
Aximsite All Star
 
afarre's Avatar
Super Member
 
Join Date: Nov 2005
Location: Cadiz - Spain
Posts: 614
Device: Sony Ericsson K608i
Thanked 3 Times in 3 Posts

Awards Showcase
Aximsite Bronze Reviews 
Total Awards: 1

Originally Posted by bigbop
I found a trace from each of the USBH-N (D23) and USBH-P (E22) lines to 15K ohm pulldown resistors just above the CPU, under the shield frame.

At this time, anyone can carry on the search to see if the traces are actually connected outside of the CPU shield. Refer to the photo below with the test points.

There are two pulldown resistors. One is completely under the top corner of the shield. There is a testpad for the USBH-N line so I'm guessing there is probably one for the USBH-P line - maybe on the backside of the PCB.

I still need to find two more lines though - the USBPEN (D22) enable line and the USBHPWR (C23) power supply enable. This is not as simple as the HOST pins as these two GPIO pins can be defined for other purposes. Specifically, the GPIO pin D22 can also be used for AC97_SYSCLK which I think is sound related.

If you plan on soldering a couple of wires to the resistors to make it easier to trace the circuits, make sure to secure the wires to the board using a drop of 5 minute epoxy or some other method. This needs to be done to prevent you from ripping the parts off of the PCB if you pull on the wires. The traces on these boards are only a mil thick and a few mil wide and tear REALLY easily. (One of those "been there - done that" experiences).

Stay tuned :approve:

ps: the references D22, C23, etc refer to the rows and columns of pins on the CPU chip. Refer to the PDF file in Afarre's 1st post for more info.
You got it!!!!
The worst part is done, now we have the main signals!!!
:cheers: :cheers: :cheers:

If we were to use the USB host all the time with a powered HUB,
do you think we need USBHPEN and USBHPWR?

I know for sure a USB hub does not require to get power from host when used self-powered. I know if because I have a PC with one USB host power burned and it still works when I place a powered hub.

My doubt is if it will be required to force USBHPWR to some state all the time just to let CPU know there is no fault condition.
afarre is offline   Reply With Quote
Old 11-24-06, 11:07 AM   #168 (permalink)
Aximsite All Star
 
afarre's Avatar
Super Member
 
Join Date: Nov 2005
Location: Cadiz - Spain
Posts: 614
Device: Sony Ericsson K608i
Thanked 3 Times in 3 Posts

Awards Showcase
Aximsite Bronze Reviews 
Total Awards: 1

Originally Posted by bigbop
...At this time, anyone can carry on the search to see if the traces are actually connected outside of the CPU shield. Refer to the photo below with the test points...
You are right, any one can do it.
Now I am far away from the place were I have my shop, I will not be there until next month.
But I would like to have with me the required complementary IC's the day I open again my Ax.
But, who knows, maybe nothing else is required
afarre is offline   Reply With Quote
Old 11-24-06, 11:22 AM   #169 (permalink)
Aximsite Veteran
 
Join Date: Mar 2005
Location: Toronto
Posts: 1,093
Device: A1200,Moto-Q
Carrier: Rogers
Thanked 0 Times in 0 Posts
Originally Posted by afarre
If we were to use the USB host all the time with a powered HUB,
do you think we need USBHPEN and USBHPWR?

I know for sure a USB hub does not require to get power from host when used self-powered. I know if because I have a PC with one USB host power burned and it still works when I place a powered hub.

My doubt is if it will be required to force USBHPWR to some state all the time just to let CPU know there is no fault condition.
Close - check the USB host schematics from the Intel eval sheets (pg29) and you will see that there are two control lines going to the MAX1693 USB power control chip. One is the over current sense output to the CPU (USBHPWR) and the other turns on (or off in the case of an overcurrent condition) the 5V to the external device (USBHPEN).

We probably don't need those signals. However, we DO need a signal conditioning/transient-protection device similar to the STF201 USB interface chip between our external device and the CPU.

One interesting observation from those schematics on page 29 - note the 15K pulldown resistors...:approve:
bigbop is offline   Reply With Quote
Old 11-24-06, 11:40 AM   #170 (permalink)
Aximsite All Star
 
afarre's Avatar
Super Member
 
Join Date: Nov 2005
Location: Cadiz - Spain
Posts: 614
Device: Sony Ericsson K608i
Thanked 3 Times in 3 Posts

Awards Showcase
Aximsite Bronze Reviews 
Total Awards: 1

Originally Posted by bigbop
Close - check the USB host schematics from the Intel eval sheets (pg29) and you will see that there are two control lines going to the MAX1693 USB power control chip. One is the over current sense output to the CPU (USBHPWR) and the other turns on (or off in the case of an overcurrent condition) the 5V to the external device (USBHPEN).

We probably don't need those signals. However, we DO need a signal conditioning/transient-protection device similar to the STF201 USB interface chip between our external device and the CPU.

One interesting observation from those schematics on page 29 - note the 15K pulldown resistors...:approve:
Totally agree.
What I am wondering if I CPU needs a HIGH at USBHPWR (LOW means fault) to turn on data flow. I do not think so, CPU should use that input just to set USBHPEN output.

Yeh!, pull down resistors are the same at page 29.
afarre is offline   Reply With Quote
Old 11-24-06, 11:45 AM   #171 (permalink)
Aximsite Minor League
 
Join Date: Jan 2006
Posts: 190
Thanked 2 Times in 2 Posts
So, forgive me if I am misunderstanding, but the usb host pins from the PXA270 are actually connected to *somewhere* on the board, we just don't know where yet?

Has anybody tried the points down the side of the motherboard?
rohanch is offline   Reply With Quote
Old 11-24-06, 12:43 PM   #172 (permalink)
Aximsite Veteran
 
Join Date: Mar 2005
Location: Toronto
Posts: 1,093
Device: A1200,Moto-Q
Carrier: Rogers
Thanked 0 Times in 0 Posts
Originally Posted by rohanch
So, forgive me if I am misunderstanding, but the usb host pins from the PXA270 are actually connected to *somewhere* on the board, we just don't know where yet?

Has anybody tried the points down the side of the motherboard?
HUH

Read my posts above.
bigbop is offline   Reply With Quote
Old 11-24-06, 12:45 PM   #173 (permalink)
Aximsite Veteran
 
Join Date: Mar 2005
Location: Toronto
Posts: 1,093
Device: A1200,Moto-Q
Carrier: Rogers
Thanked 0 Times in 0 Posts
USBH-P testpoint found

I found the USBH-P testpoint on the bottom of the PCB under the battery (under the label).

Now both the USBH-N and USBH-P testpoints are known. Unfortunately, at this time, they don't appear to be connected to anything else that I can find - but I'm still looking.

It also looks like pins 18 and 19 on the sync connector are NOT connected to anything - nudge nudge say no more :approve:
Attached Images:
File Type: jpg USBH-P testpoint.JPG (34.0 KB, 97 views)

Last edited by bigbop; 11-24-06 at 12:47 PM.
bigbop is offline   Reply With Quote
Old 11-24-06, 12:49 PM   #174 (permalink)
Aximsite Hall of Fame
 
aximbigfan's Avatar
Addicted Member
 
Join Date: May 2005
Posts: 9,194
Thanked 0 Times in 0 Posts
Blog Entries: 1
alright.... now that we have the hardware bit down shoukldnt it be tiem to start writting usb host drivers?


chris
aximbigfan is offline   Reply With Quote
Old 11-24-06, 01:06 PM   #175 (permalink)
Aximsite All Star
 
afarre's Avatar
Super Member
 
Join Date: Nov 2005
Location: Cadiz - Spain
Posts: 614
Device: Sony Ericsson K608i
Thanked 3 Times in 3 Posts

Awards Showcase
Aximsite Bronze Reviews 
Total Awards: 1

Originally Posted by bigbop
I found the USBH-P testpoint on the bottom of the PCB under the battery (under the label).

Now both the USBH-N and USBH-P testpoints are known. Unfortunately, at this time, they don't appear to be connected to anything else that I can find - but I'm still looking.

It also looks like pins 18 and 19 on the sync connector are NOT connected to anything - nudge nudge say no more :approve:
Could the IC at the middle of the picture be like STF201?
It has 6 pins and it is very near to USB-P test point and sync connector.
afarre is offline   Reply With Quote
Old 11-24-06, 01:38 PM   #176 (permalink)
Aximsite Veteran
 
Join Date: Mar 2005
Location: Toronto
Posts: 1,093
Device: A1200,Moto-Q
Carrier: Rogers
Thanked 0 Times in 0 Posts
Originally Posted by afarre
Could the IC at the middle of the picture be like STF201?
It has 6 pins and it is very near to USB-P test point and sync connector.
Unfortunately, I didn't find any 6 pin chips to be connected in any way to the testpoints - but don't stop testing on your own time - I may have missed something.

Chris - We have the driver for WM2003SE - I'm sure it was in the A02 firmware. It was removed from the newer releases. I have no idea what to use for WM5 though. Something would need to be scarfed from another WM5 PDA with a USB host interface.

I'm going to pull apart some cheap USB hubs this weekend to see if I can get the transient suppression interface chip needed for this.
bigbop is offline   Reply With Quote
Old 11-24-06, 01:38 PM   #177 (permalink)
Aximsite All Star
 
afarre's Avatar
Super Member
 
Join Date: Nov 2005
Location: Cadiz - Spain
Posts: 614
Device: Sony Ericsson K608i
Thanked 3 Times in 3 Posts

Awards Showcase
Aximsite Bronze Reviews 
Total Awards: 1

Originally Posted by aximbigfan
alright.... now that we have the hardware bit down shoukldnt it be tiem to start writting usb host drivers?

chris
Better if we get more information, like if driver circuit is present, power lines, etc.
But I think we already have enough information to test a setup like this.
Of course, sofware will be required :rolling:

[EDIT] Drawing fixed
Attached Images:
File Type: jpg hack.jpg (26.4 KB, 141 views)

Last edited by afarre; 11-24-06 at 02:10 PM.
afarre is offline   Reply With Quote
Old 11-24-06, 01:53 PM   #178 (permalink)
Aximsite Veteran
 
Join Date: Mar 2005
Location: Toronto
Posts: 1,093
Device: A1200,Moto-Q
Carrier: Rogers
Thanked 0 Times in 0 Posts
Originally Posted by afarre
Better if we get more information, like if driver circuit is present, power lines, etc.
But I think we already have enough information to test a setup like this.
Of course, sofware will be required :rolling:
You'll KILL the device if you use 5V on the interface chip:exc: :exc:

EDIT: No, you won't kill the device - looking at the specs, pin 1 is used for transient suppression of the 5V line, so yes, you CAN connect it to 5V (But no higher).

Look carefully at the schematics - you'll find that the line labelled USBH0_VBUS is NOT connected. This is VERY important. You need to remember that you will be interfacing 3V and 5V signals.

Let me do some research on the interface chips before you start publishing schematics that someone might use and kill their PDA. I know you want to get this figured-out quickly - but you don't want to kill anything either.

Also, have a look at this great reference: http://www.educypedia.be/computer/pc...reportsusb.htm
and here: http://www.usb.org/developers/

Last edited by bigbop; 11-25-06 at 05:10 PM.
bigbop is offline   Reply With Quote
Old 11-24-06, 02:11 PM   #179 (permalink)
Aximsite All Star
 
afarre's Avatar
Super Member
 
Join Date: Nov 2005
Location: Cadiz - Spain
Posts: 614
Device: Sony Ericsson K608i
Thanked 3 Times in 3 Posts

Awards Showcase
Aximsite Bronze Reviews 
Total Awards: 1

Originally Posted by bigbop
You'll KILL the device if you use 5V on the interface chip:exc: :exc:

Look carefully at the schematics - you'll find that the line labelled USBH)_VBUS is NOT connected. This is VERY important. You need to remember that you will be interfacing 3V and 5V signals.

Let me do some research on the interface chips before you start publishing schematics that someone might use and kill their PDA. I know you want to get this figured-out quickly - but you don't want to kill anything either.

Also, have a look at this great reference: http://www.educypedia.be/computer/pc...reportsusb.htm
and here: http://www.usb.org/developers/
In fact I wasn't sure about VBUS.
Just in case I fixed the drawing.

Last edited by afarre; 11-24-06 at 02:19 PM.
afarre is offline   Reply With Quote
Old 11-24-06, 03:00 PM   #180 (permalink)
Aximsite Veteran
 
Join Date: Mar 2005
Location: Toronto
Posts: 1,093
Device: A1200,Moto-Q
Carrier: Rogers
Thanked 0 Times in 0 Posts
Originally Posted by afarre
In fact I wasn't sure about VBUS.
Just in case I fixed the drawing.
Have a look at the STF201 docs: http://www.semtech.com/pc/downloadDocument.do?id=139 particularily figure 4. Pin 1 is used to clamp transients on the 5V line. I believe the actual USB data lines are 3.3V differential signals.

Newark Electronics sells the Semtech STF201-22 for around $2 ea ($25 min order). This is a very small surface mount chip and you need specialized soldering equipment and a good magnifying glass to solder to it.

I just had a GREAT idea :approve: - Instead of building the interface into the Axim, purchase a powered USB hub, wire it into an X50/X51 sync connector and let it be a dedicated interface - with several USB ports! Oh - I am so proud of myself

Of course, we'll still need to place a couple of transient diodes inside the case - just not a whole interface circuit.

Last edited by bigbop; 11-24-06 at 03:12 PM.
bigbop is offline   Reply With Quote
Reply

Tags
hacking, host, internal, pxa270, usb

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What version of programs to use on PXA270 Axim x30 Squelch Windows Mobile 2003 1 05-01-05 10:54 AM
PXA270 Info ctouch Water Fountain 2 12-21-04 06:58 PM
XCPUScalar 2004 v2.84 is out for PXA270 and VGA pocket pc's Immier Mobility Site News 3 11-22-04 09:51 AM
XCPUScalar clocks your Axim X30 & PXA270 XScales upto 741MHz Immier Mobility Site News 6 07-06-04 04:13 PM
Wifi/BT/PXA270/2003SE for $249? No, I''ll take X3i for $30 more! lancie10 X30 / X3 / X3i Forums 4 05-21-04 01:47 PM


All times are GMT -5. The time now is 12:04 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC