贴一些过来大家看了~
3. Software Installation
1. Insert the MSP430 CD-ROM into your computer. It should start
automatically, and the MSP430 start page will then be displayed.
You can also use a browser to open “index.htm” that is located in the
root directory of the MSP430 CD-ROM.
The eZ430-F2013 is compati××e with Windows 2000 and XP.
2. Select Software → IAR Workbench Kickstart and follow the
instructions.
3. Respond to the prompts to install the software. The installation
procedure will install IAR and TI files. Finish the installation.
Read the file C:\Program Files\IAR Systems\Embedded Workbench
4.0\430\doc\readme.htm from IAR for the latest information about the
Workbench. The term Kickstart is used to refer to the function-limited
version of Embedded Workbench including the C-SPY debugger.
Kickstart is supplied on the CD-ROM included with each MSP430 tool.
The latest version is ××aila××e from the MSP430 web site at www.ti.com/msp430.
The above documents are accessi××e using: Start → Programs → IAR
Systems → IAR Embedded Workbench Kickstart for MSP430 V3
4. Hardware Installation
1. Connect the eZ430-F2013 to a USB port of your PC.
2. If the Hardware Wizard starts, respond to the prompts and point the
wizard to the drivers located in the following directory on a default
installation:
C:\Program Files\IAR Systems\Embedded Workbench
4.0\430\drivers\TIUSBFET\WinXP
Two devices will be detected; however, the same directory is used
for both devices. Section 11 of the eZ430-F2013 User’s Guide gives
detailed instructions on how to install the USB drivers under
Windows 2000 and XP.
5. Flashing the LED Demo
This section demonstrates how to setup a project for the eZ430-F2013
and download the application to the MSP430F2013. The sample
program will ××ink the LED on the MSP-EZ430D target board.
Start the Workbench (Start → Programs → IAR Systems → IAR
Embedded Workbench Kickstart for MSP430 V3 → IAR Embedded
Workbench).
1. Use File → Open Workspace to open the file at C:\Program
Files\IAR Systems\Embedded Workbench 4.0\430\
FET_examples\Flashing the LED.eww. The workspace window will
open.
2. Click the msp430x2xx (C ? SpyBiWire) tab at the bottom of the
workspace window that corresponds to the eZ430-F2013.
3. Set the correct device by clicking on Projects → Options →
General Options → Target and select the MSP430F2013 from the
device list.
4. In the Options windows, go to FET Debugger → Setup →
Connection → TI USB FET to use the USB Interface.
5. Use Project → Rebuild All to build and link the source code. You
can view the source code by dou××e-clicking on the project, and then
dou××e-clicking on the displayed source file.
6. Use Project → Debug to start the C-SPY debugger. C-SPY will
erase the device Flash, and then download the application object file
to the device Flash.
7. Use Debug → Go to start the application. The LED should flash!
8. Use Debug → Stop Debugging to stop debugging, to exit C-SPY
and to return to the Workbench.
9. Use File → Exit to exit the Workbench.
Congratulations, you’ve just built and tested your first MSP430
application.
6. Using the MSP430F2013 Target Board & Debugging Interface
Independently
The eZ430-F2013 may be used as a stand-alone development board.
Additionally, the MSP-EZ430D target board may also be detached from
the debugging interface and integrated into another design.
The plastic enclosure can be removed to expose the MSP-EZ430U
debugging interface and the MSP-EZ430D target board. The MSPEZ430D
target board is disconnected from the debugging interface by
gently pulling the two boards apart.
The target board can be used in a stand-alone design by interfacing to
the 14-pins of the MSP430F2013. Holes in the MSP-EZ430D target
board provide direct access to each pin of the MSP430F2013. Please
refer to the MSP430F2013 Data Sheet for descriptions of each pin’s
function.
The MSP-EZ430U debugging interface may also be used as a standard
Flash Emulation Tool for all devices in the MSP430F20xx family of
microcontrollers. Target boards using other supported MSP430F20xx
devices may be designed and flashed using the MSP-EZ430U
debugging interface.