BRIAN OTT wrote:
All,
Just subscribed to the list.
I have the MSP430 tools installed and working(GCC, GDBProxy, and
Insight). I was just wondering if there was a method in Insight to
perform a "Run and Exit"? That is use insight to download and start
the program, but then leave the debugger with the device programmed
and running.
Regards,
Brian Ott
Miller Electric Mfg.
You don't say if you are using Win32, Linux or BSD. On Win32 you need a
gdb.ini file. On Linux and BSD yuo need a .gdbinit file. In those file
you can put some GDB commands to be run at startup. Something like:
file my_buggy_msp430_code
target remote localhost:3333
monitor erase all
load
continue
will do the sort of thing you are looking for. Although you will need to
edit this file to change programs, this isn't normally a problem. You
can put a gdb.ini or .gdbinit file in the project directory. As you move
between projects, and therefore usually between project directories, you
will pick up the relevant gdb.ini file as GDB or Insight starts up.
Since as of last week there is actually something resembling a real
manual on line, I could have said RTMF. Since, its not fully linked on
the web site, maybe that's a little premature. :-) However, see
http://mspgcc.sourceforge.net/manual/book1.html and
http://mspgcc.sourceforge.net/faq/t2.html
Regards,
Steve