Datasheet

3
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 blink 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 double-clicking on the project, and then
double-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.