GP32/GP2X/JXD Stuff



Downloads
Links
Screenshots
Projects
Welcome!

Valid HTML 4.01!

Date News
2008-04-22
Still quiet on the JXD front.

Been putting more and more time into improving my debugger, wrote a better
parser for handling expressions so the viewing of variables etc is a whole
lot more intuitive, also setting variables from the debugger.

example:
"marray[somevariable + 100].member"
and
"myarray[someindex] = myarray[someotherindex]"


If you're interested in having a look at it, send a mail and we can work
something out. I'd make the SVN repos public if i only could be arsed
to sort some kind of license and add it to the files.
mithris(at)misantrop.org

2008-02-05
All quiet on the JXD front i'm afraid.
I have been playing with the trace feature in the BF chip, but it hasn't
really given me any useful information so far, but it could potentially
be of value when we discover the general area where the LCD is initialized.
(LCD still beeing the #1 prio)

Other than that:
I have put a few hours into the rally game to save my poor brain from the
JXD disassembly.

And i've been thinking about making some kind of open-source thing out of
the debugger i've been working on. But the licensing etc is bloody annoying.
2007-12-20
Current status:
Almost all debugging functionality is implemented, need to get a
disassembler tho, since it's a pita to use objdump to disasm as i do now.

The LCD is slowly coming along, managed to show some graphics on it, but
there are a few issues like getting it to power on. I suspect the 'mystery'
chip is involved (the sanded chip).

2007-12-10
I saw this page had a bunch of hits, so i figured i should keep updating
for those who are interested in the JXD301 hacking.

Latests news: 
I have successfully added the BF533 target to my debugger
and most things are working, most importantly, i can upload ELF files
to the JXD301's RAM and run them.

I have also been looking into how the LCD is hooked up, and it appears
to be through PPI and Timer2/Timer2, Timer0 seems to be used for the
backlight.

Hopefully i can get control over the LCD in a couple of days and
try to make a proof-of-concept main.ldr file.
2007-12-06
So, thanks to RobBrown we discovered that a suspicious set of testpads on
the JXD301 was in fact the JTAG signals. 

So i quickly soldered some wires to it and hooked it up to my trusty old
wiggler, and within a few hours i managed to read the IDCODE from the
device.

I have now started adding BF53x support to my debugger and it's moving
along nicely, atleast i can halt/start the core, read cpu registers
and read/write RAM.

2007-11-20
I finally recieved my JXD-301, took me an hour to get it charged, and then i
got bored with it, so i fetched a screw driver to have a closer look.

	JXD-301 info:
	CPU: BF533
	USB: CY7C68001 (EZ-USB)
	RAM: HY57V561620CT-6 (32mb, 166Mhz, 16bit)
	FLASH: K9LAG08U0M (2GB Samsung)
	AUDIO: AIC23B  info


And here is a pic of the internals.
HERE

2007-10-18
Robbo assisted me a bit anb i managed to get some stuff running through
the trambapoline, there's still some issues, with the annoying blitter
so it probably won't work, but if anyone wanna have a go, check this out.
Just extract the files to the root of a SD card and try it.
Yes, it's possible and even easy to drive off/through the world, and there is
nothing you can do about it other than restart.
Controls
X: Accelerate
Up: Gear up
Down: Gear down.
Left/Right: Steer.
Select: 'resets' the car and lifts it 2 meters up in the air, useful
if you get stuck on the side or roof, or you fly spinning around.

Atm the car and the ground have a fairly high restitution value,
so it's somewhat like a rubber ball and bounces around a bit. :)
2007-10-13
Breaking news, again. :)
A few weeks ago i were digging around in my old code and found that
racing stuff i were working on a few years ago, and i decided i should
port it to the GP2X, that wasn't too hard. Anyway, i realized all my
old tools were for Lightwave and i had no way of generating new data
anymore, so i once again looked at using heightmaps and i managed to
bodge together some kind of landscape renderer.
wef
As you can see, it still doesn't look very pretty, but it's fun to
drive around and jump and shit, which i aim to be the main goal in 
the game. Something like that old M$ motorcycle game where you just
drive around and make tricks. Going to add some 'thrusters' to the
car so it's controllable in the air etc.
wef
If i'm lucky and have enough CPU cycles left, i'm gonna add some vegetation
to the world aswell, small plants and shit. We'll see.

I can't really put up a demo right now, i know everyone is dying to
play this 'game' :) but without some of my custom software and a JTAG 
cable, there just isn't any way to get it running.
2007-01-30 Breaking news!
Not really, nothing much is happening, i'm slowly working on my debugger, and i have no plans currently for any new public releases.
If someone would need a tool for some JTAG hacking on the gp2x you could toss me a mail or something.
In other news, i wrote a quick AC97 hack for the gp2x, and hopefully Robbo will include it in sdk2x sometime soon. Wouldn't hold my breath tho. :)
2006-04-11 v0.3 of the JTAGTool
I found some bugs, and added some support for different parallel port
devices, since apparently there are a bunch.
2006-04-10 Another JTAG Tool.
Added a new version of the JTAG Tool to the download secion.
This version contains some code to handle ELF files and
some debugging.
2006-03-02 JTAG tool.
I added a little JTAG tool to the download section, it should work with
Linux, the windows executable in there probably don't work, i need to setup
vmware or smth so i can get it running.
2006-02-16 Almost a year later....
I managed to get some spare time, and ordered myself a gp2x finally.
My JTAG code base appears to be working now, and along with some Dwarf2/3
code i wrote i got myself a simple little debugger.
I'll probably release some JTAG tool for gp32/gp2x some time soon which will
work with Wiggler compatible JTAG cables.
I don't really see any reason to write a GDB-Stub for the gp2x atm.
But using a GDB-Stub gives some nice advantage some times.
2005-05-20 I'm still alive....
I have been playing around a bit with JTAG lately, bought a J-Link Segger
USB JTAG thingie, however, the USB device code in it suck pretty hard so
it won't cooperate with Linux or OSX.:(
Which doesn't really matter, since they refuse to give me any information
regarding their protocol.
So instead i got me a paralell port cable (Damn shuttle and their !standard connectors)
and connected the JTAG thingie spiv sent me a while ago.
I have made some progress and hopefully i can soon release
a GDB-server which one can use with the more common paralell port
JTAG cables such as Robsters
2005-02-09 If anyone wonders what i'm up to these days.
  • Sourcelevel debugger, not really GP32 specific but i will use the gp32 as target to test with.
  • Demo for some upcoming demo party, some new FX and stuff, might post some screenies later.
  • Scripting engine for GP32. A subset of C mostly, but with some tight bindings to a graphics engine (2D/3D).
  • WoW, it owns
  • Work.. well.. one has to eat and pay the ISP.
2005-02-09 Added this new page, well, atleast the bg doesn't hurt your eyes anymore..:D
Copyright (C) Bjorn Bosell 2007 mithris(at)misantrop.org