You may remember Fetproxy, a free software alternative to msp430-gdbproxy.
Fetproxy never really got beyond the quick hack that Tom and I threw together in the 25C3 hack-centre at the end of 2008. The next stage was going to be a massive upheaval of its architecture, but I never found the time to do this. Enter Daniel Beer with his excellent MSPDebug utility. Daniel has found the time to work on this tool, and has made several releases so far. I’ve tested it with a couple of boards that I had lying around, and it appeared to work quite well.
Go and use it. Its source code is quite legible too, so you should hack on it too ;)
I’ve packaged mspdebug for Fedora, and you’ll find the package in this directory. Maybe I’ll jump through the hoops of getting it included in the repositories soon.
2010-11-04 Update: mspdebug has been in the Fedora repositories for a while now. Install it using:
pkcon install mspdebug
I’ve been hacking away at fetproxy for the past couple of days. I’m now at this stage:
[rob@prefect fetproxy]$ msp430-gdb -n GNU gdb 6.8 Copyright (C) 2008 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-linux-gnu --target=msp430". (gdb) target remote localhost:2000 Remote debugging using localhost:2000 0x0000f800 in ?? () (gdb) info r pc/r0: f800 sp/r1: 7a00 sr/r2: 0000 r3: 0000 fp/r4: 7a00 r5: ff00 r6: 7f00 r7: ff00 r8: ff00 r9: ff00 r10: bf00 r11: f700 r12: bf00 r13: ff00 r14: fd00 r15: 0000 (gdb)
That’s where it’s at right now on my machine. gdb can now read the registers of the target device. The “continue” command’s next…
Site by Robert Spanton. © 2008 - 2018