Hi all,

Provided I use Linux 2.6.16 or earlier, and the changes which have been described in other messages here, I can talk to the TI USB FET tools from Linux. I have now modified the TI DLL code to use cross platform serial port functions, and the library builds and runs OK. I haven't tested it very thoroughly yet, but since there seems to be a lot of interest in seeing this working I have posted some preliminary code. Download

http://www.soft-switch.org/downloads/mspgcc/test/libMSP430.so
http://www.soft-switch.org/downloads/mspgcc/test/libHIL.so
http://www.soft-switch.org/downloads/mspgcc/test/msp430-gdbproxy

and use these files to replace your existing ones. You should then find this new msp430-gdbproxy behaves very much like the Windows software. A command line like:

   ./msp430-gdbproxy --port=3333 msp430 /dev/ttyUSB0

should let you talk to a USB FET installed as device /dev/ttyUSB0. Saying "TIUSB" for the device name won't automatically search for the FET tool right now, as happens with the Windows software. You have to tell the software the exact device name. Updating out of date firmware works, but due to something I still need to sort out, the device name on the command line is ignored, and /dev/ttyUSB0 is always used. As long as your FET is /dev/ttyUSB0, you can update the firmware with a command like:

   ./msp430-gdbproxy --port=3333 msp430 --update-usb-fet /dev/ttyUSB0

I am going on a trip for a couple of weeks. Hopefully tidying up this code won't take too long when I get back.

Regards,
Steve



Reply via email to