gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Debugging on Hardware.

#17624 - idries - Thu Mar 11, 2004 9:30 am

Hi all,

I have just got hold of the MBV2 cable. I've got it loading Multiboot ROM's onto the GBA, and the printf thing works too. However, I was hoping that I could use it for a gdb (or other debugger) seesion to actually debug on the hardware. I was told that this was possible, but I can't find any real info on how to set it up. Except for this:

Quote:
It also allows remote debugging over a serial port (with a proper ARM/Thumb GBA-side stub) which is ideal for embedded systems such as the GBA. eCos comes with GDB stub ROMs for ARM targets that can be modified for GBA use. You can get eCos from here: http://sources.redhat.com/ecos/


On one of the homebrew sites (I forget which). However, I don't really know what eCos is, and I don't know how to modify a gdb stub :(

Can anyone tell me if this is possible, and how/where to get the software that I need to set it up.

BTW - I'm using the latest devkitadvance on Windows.

Thanx in advance.
Idries

#37618 - herrjones - Mon Mar 14, 2005 8:50 am

Hi,

I saw your post of about 1 year ago. Did you get any private responses on that one? Have you tried out something?
I'd also be interested in using something like the GDB remote for ARM or the ARM Angel protocol, but it seems not that easy to implement...

Kind regards,

Jan

#38055 - idries - Mon Mar 21, 2005 3:56 am

I didn't get any replies at all I'm afraid :(

I did manage to get the MBV2 cable, which allowed me to put printf's into my ROM, run it from the hardware, and have the printf's output to a console on my PC.

That's about it tho :(