Artaylor's Ext Pinout And Usb Voltages


CCmachined

Member
Joined
Nov 3, 2007
Messages
347
very simple problem - I bought the artaylor's EXT connector from http://artaylor.co.uk/gp2x and I've lost the pinout sheet >_<
does anyone else have it? is it the same as "gp2x TV out cable rear view" on http://wiki.gp2x.org/wiki/EXT_Port_Connectors on the wiki? i notice it's the same shape, but can't be sure...

another question, if i use the two +5v lines from the gp2x in parallel with an external power supply(4xAA batteries) to power USB devices, could i blow up my gp2x's circuitry due to the different parrallel voltages? i notice my batteries vary from 5.6v~4.7v (4xAA in series).

notes: i have a F100 Mk2 gp2x.
thanks in advance for answering my stupid questions :lol:
 
CC_machine said:
very simple problem - I bought the artaylor's EXT connector from http://artaylor.co.uk/gp2x and I've lost the pinout sheet >_<
does anyone else have it? is it the same as "gp2x TV out cable rear view" on EXT_Port_Connectors on the wiki? i notice it's the same shape, but can't be sure...

No it is a different pin out:

CODE
_______ _______

3 7 11 15 19 23
1 5 9 13 17 21
4 8 12 16 20 24
2 6 10 14 18 22
________


I also added this to the wiki.

CC_machine said:
another question, if i use the two +5v lines from the gp2x in parallel with an external power supply(4xAA batteries) to power USB devices, could i blow up my gp2x's circuitry due to the different parrallel voltages? i notice my batteries vary from 5.6v~4.7v (4xAA in series).
I would not do it like that, since the GP2X isn't giving 5V, even an MK2, i have one and have tested it, it is only 3.3V. So i don't think it would be ideal for you to add that voltage in parallel. Make a switch that you can switch between the voltages. BTW Some USB devices work with 3.3V, some devices really need 5V.
 
Last edited by a moderator:
CC_machine said:
ok thanks so much!
are all Mk2's 3.3v or only most? i bought mine around early 2006 :s
I think all MK2's have 3.3V.
 
Last edited by a moderator:
Lithosphere said:
I would not do it like that, since the GP2X isn't giving 5V, even an MK2, i have one and have tested it, it is only 3.3V. So i don't think it would be ideal for you to add that voltage in parallel. Make a switch that you can switch between the voltages. BTW Some USB devices work with 3.3V, some devices really need 5V.
You CAN have 5V in an MK1, as I already mentioned here:
http://www.gp32x.de/board/index.php?s=&am...st&p=551464

You can't draw a lot of current from it though...
 
Last edited by a moderator:
cheap-plastic said:
You CAN have 5V in an MK1, as I already mentioned here:
http://www.gp32x.de/board/index.php?s=&am...st&p=551464

You can't draw a lot of current from it though...


Lithosphere is talking about EXT. Of course there is 5V inside somewhere, but not on the EXT connector. In fact, I said exactly the same thing right below you on that thread you linked to.
 
Last edited by a moderator:
new problem: doesnt work :(
I connected everything up, soldered the correct pins, found my gp2x outputs 3.3v. tried it, it lights up my usb hub but not my memory key. So i use a battery box connected to the power lines of USB, with GND still connected to the gp2x (not the 3.3v.) 4xAAs gave me 5.3v. USB drive lights up, but still nothing when i go into "external storage". I know it's connected up correctly because my usb drive light goes out when i turn on my gp2x, and when it's finished booting the usb drive's light only comes back on if i have USB host and storage enabled. i tried copying a file to the external storage and it copied there, showing only the single song that i copied. I can listen to this song, but when i disconnect the drive from my 2x the song is still there under external storage, and not on the usb drive when i plug it into my computer.
I tried this:

#!/bin/sh
umount /mnt/sd

in a file called umount.gpu on my SD card and running it with utilities, to try and umount and hence flush the cache from the gp2x. I only get a black screen forever, so I have to reboot my gp2x and nothing is changed. I am running Ubuntu Linux, so there shouldn't be any filetype issues.

possible problems:
- I connected to pins 9 and 10 on my ext pinout: H1+ and H1- - as shown on http://wiki.gp2x.org/wiki/USB_Host_BoB_Schematic and those connected as shown in http://wiki.gp2x.org/wiki/Image:Bob_usb_filter.png . Should i use USBD+ and USBD- on the EXT instead, or as well? what do the small grey squares mean on the BoB schematic next to these pins? they're the only ones not connected.
- The entire circuit is open. should i have some grounded shielding around it or something?
- The connections are not soldered, only twisted together.
 
CC_machine said:
possible problems:
- I connected to pins 9 and 10 on my ext pinout: H1+ and H1- - as shown on http://wiki.gp2x.org/wiki/USB_Host_BoB_Schematic and those connected as shown in http://wiki.gp2x.org/wiki/Image:Bob_usb_filter.png . Should i use USBD+ and USBD- on the EXT instead, or as well? what do the small grey squares mean on the BoB schematic next to these pins? they're the only ones not connected.
- The entire circuit is open. should i have some grounded shielding around it or something?
- The connections are not soldered, only twisted together.



Dou you have a terminal like sterm installed? You should check what happens when you do a "dmesg|more" after connecting the USB hdd. If it doesn't mention the connection of a new device, the wiring might be wrong.
(You could also put "dmesg>output.txt" in a .gpu file instead of using a terminal...)
 
Last edited by a moderator:
downloaded STerm and ran dmesg>filename.txt a few times:
without circuit or key attached, just gp2x on it's own:

QUOTE
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-2, assigned address 4
usb.c: USB device not accepting new address=4 (error=-110)
mice: PS/2 mouse device common for all mice
fclk 100MHZ
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-2, assigned address 5
usb.c: USB device not accepting new address=5 (error=-110)
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s


with circuit attached, usb drive not attached:

QUOTE
hub.c: new USB device <NULL>-2, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-2, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
fclk 100MHZ


with circuit and usb drive attached:

QUOTE
fclk 100MHZ
hub.c: port 1, portstatus 100, change 1, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 100, change 1, 12 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-1, assigned address 6
usb.c: USB device not accepting new address=6 (error=-110)
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-1, assigned address 7
usb.c: USB device not accepting new address=7 (error=-110)
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s


with circuit nd usb drive attached, this time the drive light flashed twice then went out:

QUOTE
hub.c: new USB device <NULL>-2, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-2, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
fclk 100MHZ


confusing, hmm.. any help?

EDIT: ok, this could be more useful: [i swapped the USBH-/+ wires and got this instead, after a small freeze when booting (i presume when trying to mount my disk :))

QUOTE
nnel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 2
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 4
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 6
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: usb-storage driver claimed interface c1e82cc0
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
fclk 100MHZ
MMC/SD Card Detected
mmcsda: p1
Register SD: 1964MB
MSDOS FS: IO charset utf8
 
CC_machine said:
QUOTE
nnel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 2
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 4
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 6
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: usb-storage driver claimed interface c1e82cc0
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
fclk 100MHZ
MMC/SD Card Detected
mmcsda: p1
Register SD: 1964MB
MSDOS FS: IO charset utf8
What filesystem is your USB hdd formatted in? NTFS or FAT32? NTFS is a no-go on the gp2x
Maybe also doublecheck that little filter from http://wiki.gp2x.org/wiki/USB_Host_BoB_Schematic

Also, i'm not completely sure that it's electrically correct to supply that 5V independant of the GP2X. I mean, that way, the USB device and the GP2X don't have a common ground it seems to me...
 
Last edited by a moderator:
cheap-plastic said:
What filesystem is your USB hdd formatted in? NTFS or FAT32? NTFS is a no-go on the gp2x
Maybe also doublecheck that little filter from http://wiki.gp2x.org/wiki/USB_Host_BoB_Schematic

Also, i'm not completely sure that it's electrically correct to supply that 5V independant of the GP2X. I mean, that way, the USB device and the GP2X don't have a common ground it seems to me...



I uploaded a picture to http://www.clearcrystal.co.uk/hitech/00001.jpg
I have both the negative pole of the battery (-) and gp2x's GND (as shown on BoB schematic on wiki; pin 13) connected to the GND on USB side, twisted together, but gp2x's +3.3v line isn't conencted to the VUSB. Only the (5.3v) + pole of batteries is connected to the 5v VUSB line. I've checked the circuit over, components are the correct values as shown on the USB filtering circuit on the wiki, and there are no bridged connections. my USB drive is fat32; it's only a small 1gb pen :p

P.S. sorry for unclear pic but the topleft capacitor does contact the topmost terminal connector, not the middle one.
 
Last edited by a moderator:
CC_machine said:
cheap-plastic said:
What filesystem is your USB hdd formatted in? NTFS or FAT32? NTFS is a no-go on the gp2x
Maybe also doublecheck that little filter from http://wiki.gp2x.org/wiki/USB_Host_BoB_Schematic

Also, i'm not completely sure that it's electrically correct to supply that 5V independant of the GP2X. I mean, that way, the USB device and the GP2X don't have a common ground it seems to me...



I uploaded a picture to http://www.clearcrystal.co.uk/hitech/00001.jpg
I have both the negative pole of the battery (-) and gp2x's GND (as shown on BoB schematic on wiki; pin 13) connected to the GND on USB side, twisted together, but gp2x's +3.3v line isn't conencted to the VUSB. Only the (5.3v) + pole of batteries is connected to the 5v VUSB line. I've checked the circuit over, components are the correct values as shown on the USB filtering circuit on the wiki, and there are no bridged connections. my USB drive is fat32; it's only a small 1gb pen :p

P.S. sorry for unclear pic but the topleft capacitor does contact the topmost terminal connector, not the middle one.


Hmm, I can't see anything really wrong with it. Looking at the previous output it looks like USB 'works' but the signal is messy or so. Maybe you could try to use shorter wires and remove that white 'quickfastener block'. Such things are desastrous for high speed signals :) Also, solder it up instead of just 'wiring' it together. You want clean signals all the way :p
 
Last edited by a moderator:
Back
Top