I managed to fix it, It seems to be the crt0.o stage of the make file. I was using the crt0.S and init2.c from an example directory in the sdk along with the make file (just copied from the font example)
For some reason my compiler generates a dud crt0.o file in certain situations (who knows...
Gday Guys,
I'm having a little trouble spotting a bug while using Mr Mirko's fantastic SDK. Im trying to use the gp_drawString() function but am having mixed results.
#undef fixit
#include <gp32.h>
unsigned short *framebuffer;
void main () {
framebuffer = (u16*) FRAMEBUFFER...
Dunno if this has been posted but GeePee was updated on the 20th of June to version 0.34
fixed:
DirectX joystick/gamepad code is now anti-polling proof.
smartmedia file/directory corruption.
flash verify failure at address 0x2AAA.
added:
automatic refresh option for memory editor...
The reason you got timeouts is, that with the device setup of the gp32, one of the data pins is always pulled to 3.0v
now when this is plugged in to another device which also has this rail pulled to 3.0v
there is no route to ground. No current flows, the total voltage difference is 0v and no...
With some mass storage devices drawing as little as 36-45mA, and with the help of kirchoff and Ohm, I might be able to fudge something up with 2x15KOhm resistors a 9Volt Battery and 2 usb extension cables.
To Tandy!!!
:D
Or I could be way off and about to blow up my gp32.
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...
: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...
Found out how to set the pins to host mode.
MISCELLANEOUS Control Register (MISCCR)
USBPAD[3] 0 - use pads related USB for USB device
1 - use pads related USB for USB Host
Page 243 of s3c2400 manual.
As for Powering. It is an unpowered usb host. which means it puts out max...
I have come across some firmware code from the U-boot (u-boot.sourceforge.net)
project where they have written usb-ohci drivers that can work on the s3c2400 (the gp32 processor) they are only compatible atm with Mass Storage Devices which is good because thats all im interested in.
They also...
Just checked out the spec on the chip used in the GP32. It certainly seems capable only that the people at Gamepark did no provide us with an OpenHCI driver, hence no usb stack. Looking at the linux usb stack and the OpenHCI spec, it shouldn't be too hard to write a driver for the OpenHCI then...
Unpowered for usb means 100mA or less
i assume that the Worm light uses this 100mA for its light. I found a usb pen drive that uses less than the specified 100mA
http://www.memorysuppliers.com/leaddriv12us.html
now i suppose just a driver is needed?