Доброго всем времени суток!
Проблема в следующем: при соединении msp430-gdb с msp430-gdbproxy связь обрывается сразу же после соединения. ОС - Windows XP Sp3 32bit.
Последовательность действий:
1) Запускаю msp430-gdbproxy
msp430-gdbproxy++ v1.4 [http://gnutoolchains.com/msp430/gdbproxy]
Successfully initialized MSP430.DLL on USB
Listening on port 2000.
Run "msp430-gdbproxy --help" to learn about command line options.
To start debugging:
1. Start "msp430-gdb <yourfile.elf>"
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.
2) Далее во второй консоли запускаю msp430-gdb и пытаюсь соединиться с проксей.
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from D:\_Libraries\Software\msp430_GNU_toolchain\mspdebug/test.elf...done.
(gdb) target remote :2000
Remote debugging using :2000
3) А оно мне и говорит:
msp430-gdbproxy:
Incoming connection from GDB. Starting session...
Found a device: MSP430FG4618
Number of hardware breakpoints: 8
118528 bytes of FLASH memory (0x3100-0x1ffff)
2048 bytes of RAM (0x0200-0x09ff)
8192 bytes of RAM2 (0x1100-0x30ff)
256 bytes of INFO memory (0x1000-0x10ff)
GDB Disconnected. Releasing MSP430 interface.
msp430-gdb:
Remote communication error. Target disconnected. : No such file or directory.
При повторных попытках соединения сообщение меняется на
Remote communication error. Target disconnected. : No error.
Что я делаю не так? Какой файл ему нужен?