EmbeddedRelated.com
Forums

gdb-proxy disconnecting

Started by Amer March 3, 2013
Hello all,
Maybe someone has come across this before and is able to help. As soon as I start my gdb session in WinXP, gdb-proxy automatically disconnects. Any ideas?

gdbproxy gives the following:
------------------
C:\Documents and Settings\amer>msp430-gdbproxy --spy-bi-wire
msp430-gdbproxy++ v1.0 [http://gnutoolchains.com/msp430/gdbproxy]
Run "msp430-gdbproxy --help" to get help.
Listening on port 2000.
To start debugging:
1. Start "msp430-gdb "
2. Run the "target remote :2000" command in GDB.
3. Run "load" to program the FLASH memory.
4. In case of GDB errors, see this window for more info.
If you don't have msp430-gdb, visit http://gnutoolchains.com/msp430 to get it.

Found a device: MSP430G2xx3
Number of hardware breakpoints: 2
16384 bytes of FLASH memory (0xc000-0xffff)
512 bytes of RAM (0x0200-0x03ff)
256 bytes of INFO memory (0x1000-0x10ff)
New GDB debugging session started.
GDB Disconnected. Releasing MSP430 interface.
-------------------

gdb gives the following:
-------------------
C:\Temp>msp430-gdb hello_world.elf
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-mingw32 --target=msp430".
For bug reporting instructions, please see:
...
Reading symbols from C:\Temp/hello_world.elf...done.
(gdb) target remote :2000
Remote debugging using :2000
Remote communication error. Target disconnected.: No such file or directory.

Beginning Microcontrollers with the MSP430