Let's assume you have a fully-linked executable called 'foo'. Type:
Assuming that you set up your "/.gdbinit" file as suggested
above, then nothing special has to be done. Otherwise type the three commands
listed above at the gdb command prompt. It you have
msp430-gdbproxy running in the foreground in its own window you
should see evidence of it starting
to work.
Type:
and the JTAG interface will clear the flash memory of the MSP430. Type:
and after a few seconds you should get confirmation that the flash memory
has been reprogrammed. You need to erase the flash before you can load new code
into it.