GP32 Reading Usb Pen Drive From Gamepark Cont.


Instead of hacking a cable, what is wrong with a passive Female Type A - Female Type A gender changer? $5 bucks (AUD) or so.
 
question to squidge,
do you honestly think you could do this?
it would be so awesome, but I dont want to get my hopes up
well, all the luck to ya! hope you make it

~Octavious

im sure ou have everyone in the communtiy cheerijn ya on also :D
 
:D Bit of progress guys. Ported the USB code for the root hub and the USB library across from the U-Boot project after removing all of the code's dependancies on other files in U-Boot. Wrote a quick and dirty console to allow printf to work and tested it out. The first thing was i forgot to unplug my pc-link cable and as soon as a ran my usb test code, windows found a new usb connection and borked about drivers. After running without the cable, the usb code correctly detected the OHCI USB_ROOT_HUB on the gamepark and all diagnostics indicate that it ready to accept new devices. Just waiting on my USB Gender changer and then i can start porting the Mass Storage Driver.
 
question to squidge,
do you honestly think you could do this?
it would be so awesome, but I dont want to get my hopes up
well, all the luck to ya! hope you make it

~Octavious

im sure ou have everyone in the communtiy cheerijn ya on also :D
I reckon so, but I can't start on it for a few weeks yet, so lets see what HalfNelson comes up with in that time.
 
Last edited by a moderator:
OHCI driver is already implemented into the gp32linux kernel, coming from s3c2400 host driver.
The problem is: we need 5v power.
2 solutions:
- build a simple usb adapter with a 5V alim inside
- use existing usb hub 5V alim (need to be confirmed).
And it should work...

Toholl
 
would a keyboard need power too? and a pen drive?

If I understood correctly, with a usb hum we wouldn't need any power?
 
toholl when i go to mod a cheap usb keyboard is there a chance that it works with the current gplinux build?
 
Bit of progress guys. Ported the USB code for the root hub and the USB library across from the U-Boot project after removing all of the code's dependancies on other files in U-Boot. Wrote a quick and dirty console to allow printf to work and tested it out. The first thing was i forgot to unplug my pc-link cable and as soon as a ran my usb test code, windows found a new usb connection and borked about drivers. After running without the cable, the usb code correctly detected the OHCI USB_ROOT_HUB on the gamepark and all diagnostics indicate that it ready to accept new devices. Just waiting on my USB Gender changer and then i can start porting the Mass Storage Driver.

whats that mean in normal english lol

~Octavious
 
whats that mean in normal english lol

~Octavious
it means

Bit of progress guys. Ported the USB code for the root hub and the USB library across from the U-Boot project after removing all of the code's dependancies on other files in U-Boot. Wrote a quick and dirty console to allow printf to work and tested it out. The first thing was i forgot to unplug my pc-link cable and as soon as a ran my usb test code, windows found a new usb connection and borked about drivers. After running without the cable, the usb code correctly detected the OHCI USB_ROOT_HUB on the gamepark and all diagnostics indicate that it ready to accept new devices. Just waiting on my USB Gender changer and then i can start porting the Mass Storage Driver.
 
Last edited by a moderator:
Bit of progress guys. Ported the USB code for the root hub and the USB library across from the U-Boot project after removing all of the code's dependancies on other files in U-Boot. Wrote a quick and dirty console to allow printf to work and tested it out. The first thing was i forgot to unplug my pc-link cable and as soon as a ran my usb test code, windows found a new usb connection and borked about drivers. After running without the cable, the usb code correctly detected the OHCI USB_ROOT_HUB on the gamepark and all diagnostics indicate that it ready to accept new devices. Just waiting on my USB Gender changer and then i can start porting the Mass Storage Driver.

whats that mean in normal english lol

~Octavious
If I read it correctly it means he has his GP32 set up so that at the point it could connect some external memory to it. All he needs is an adaptor to allow the connection to the GP32's port.
 
Last edited by a moderator:
~Octavious
If I read it correctly it means he has his GP32 set up so that at the point it could connect some external memory to it. All he needs is an adaptor to allow the connection to the GP32's port.

Almost. It seems that he's at the point that it will recognise a device attached to that port (eg. a pendrive), but will not actually talk to the device. The talking part would be the "mass storage driv
 
Last edited by a moderator:
Oops. Sorry, I missed the part about the driver because I was at bouncing between things at work. Sorry for any confusion. Thanks for the correction Squidge :)
 
Instead of a female-female cable, would it be possible to connect the normal gp<->USB cable directly to a hub (the end that is normally connected to the PC) ? Would it provide power to USB devices as well?
 
I dont think that would do anything. Most hubs dont work that way. Plus a normal hub is powered by the connection to the PC so you'd need a power adaptor to power the HUB which wouldnt be very portable.(unless it was done with a battery pack of some sort)
 
Hrm.. Upon closer inspection, this might require a special circuit before it can work.
The DP0 and DN0 pins of the usb port in a device are wired differently to a hosts DP0 and DN0 pins (data pins).

A device (in this case our GP32) has one of them pulled to ground with a 470K resistor and the other pulled to 3.3V with a 1.5K resistor.

The way a host is wired up is both pins are pulled to ground via 15k resistors.

Time to hit the old electrical text books again I suppose. there is hope though because the way it sends a one is to make one pin at least 200mV greater than the other, and the other way for a 0 so we dont need to get the pins to be 3volts apart.

(data obtained from smdk2400 reference board circuit diagram and usb 1.1 specification)
 
So, I seem to be confused
will there be a cord from inside the 32 thast goes to a recieving end of a USB port and will that just be a hole in the unit?

I believe thas the deal.. but...

well, luck to ya, I and others hope it works

~Octavious
 
Back
Top