Transfer Procedure

To transfer a program to the mcu, you will need:

Windows FET driver
The GCC toolchain for the MSP430

  1. Install mspgcc, with a full installation (including gdb, gdbproxy giveio etc.)
  2. Compile program using information from another page
  3. Then get a responsible senior member of the team to accompany you to the test board (if you are a senior member then ensure that you are not the using the equipment alone)
  4. Connect the board up to the power supply and connect the programmer up to the usb socket on a windows machine (ensuring that an anti-esd bracelet is being worn when in the proximity of the board)
  5. When the windows machine detects it, tell it not to search and instead tell it to look into the windows fet driver directory (which will have to be extracted), it should install everything without any problems (it may prompt that it hasn't been signed, just ignore the warnings and tell it to install)
  6. Navigate to the bin directory in the mspgcc directory (by default this is C:\mspgcc\bin\)
  7. Find the file msp430-downloader.exe and run it
  8. Navigate to the compiled program and open it (you might and probably will have to rename the file to a .elf)
  9. You will then be able to copy the program across, you will be given the option to erase and erase all - you do not need to erase all only erase what you are writing over - this final step will be explained to a greater extent when I get a chance to program the board again so the options can be explained better.

This above procedure was tested on a windows vista laptop, the fet driver is a windows xp driver but still works on vista (as the part of the drive structure it uses has not drastically changed).

If anyone has any questions or needs any help, feel free to contact me (ig40).

Windows 7 work around

It seems pretty common that everyone has got hold of a copy of Windows 7 and subsequently found that the FET drivers no long work, there is however a long winded work around (other than installing xp or vista alongside 7). If you install virtual box - available freely - you can then install a version of Windows server (I've chosen 2003 R2) - also available freely, via the dreamspark program. You can then follow the above procedure inside the virtual machine. When connecting the FET to the computer right click the usb icon in the corner of the virtual machine window and select the Texas Instruments FET etc. (I can't remember what it says, but you'll know ;) ), the FET will then connect to the virtual machine (and it will disconnect from the host(Windows 7)) and you will be able to program the board. One quick note - to get the usb to function correctly in the virtual machine, you have to go in to the settings of the virtual machine and disable usb 2 support, otherwise the virtual machine can not talk to the FET - it's a strange bug. This is quite a complex procedure and occasionally doesn't work straight away, so if you do need any help with it please email me (ig40).

Using GDB

Start msp430-gdbproxy (USB) from start menu.

Start msp430-gdb

Type target remote 127.0.0.1:PORTNUM
PORTNUM is given by gdbproxy, mine is 3333.
Then you can use gdb as you normally would - like on ultra.

To update - this is rarely needed

msp430-gdbproxy msp430 —update-usb-fet tiusb

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.