Lonewolf9383
Still Fresh
- Joined
- May 9, 2008
- Messages
- 35
Hello everyone, well i finally got back into GP2x development and am loving the little device. I am however having problems debugging code on the the gp2x. Having the printf statements is ok for most things in hyperterminal but i was wandering if anyone had successfully got gdb and gdbserver running from there windows machine?
I am using the docking station/breakout board and a standard serial cable.
When i run the gdbserver (from the wiki/file archive) on the gp2x it seems to start ok and wait as i would expect. However i can not seem to get arm-linux-gdb to connect to it. I have tried using /dev/tty, /dev/ttyS0 and /dev/ttyS1 for the server but im not sure which port it is on the breakout board.
I always get the error ioctl failed or something.
Am i barking up the wrong tree, is it even possible to do this using the serial cable and my F200?
Thanks to anyone who can help me before i tear all my hair out (im too young to go bold... )
I am using the docking station/breakout board and a standard serial cable.
When i run the gdbserver (from the wiki/file archive) on the gp2x it seems to start ok and wait as i would expect. However i can not seem to get arm-linux-gdb to connect to it. I have tried using /dev/tty, /dev/ttyS0 and /dev/ttyS1 for the server but im not sure which port it is on the breakout board.
I always get the error ioctl failed or something.
Am i barking up the wrong tree, is it even possible to do this using the serial cable and my F200?
Thanks to anyone who can help me before i tear all my hair out (im too young to go bold... )