我按照slau157s.pdf《Code Composer Studio™ v4.2 User's Guide for MSP430™ User's Guide》的指导,
1.2 Flashing the LED
This section demonstrates on the FET the equivalent of the C-language "Hello world!" introductory
program. CCSv4.2 includes C and ASM code files as well as fully pre-configured projects. The following
describes how an application that flashes the LED is developed, downloaded to the FET, and run.
1. Start Code Composer Studio Start → All Programs → Texas Instruments → Code Composer Studio
v4.2.4 → Code Composer Studio v4.
2. Create a new Project by selecting File → New → CCS Project.
3. Enter a project name and click next
4. Set Project Type to MSP430
5. Click next twice to get to the CCS Project Settings page. Select the Device Variant used in the project.
6. Add the flashing LED code example to the project by clicking Project → Add Files to Active Project.
Code examples are located in <Installation Root>\ccs4\msp430\examples. Use Table 1-2 to select the
appropriate source code file:
7. If using a USB Flash Emulation Tool such as the MSP-FET430UIF or the eZ430 Development Tool,
they should be already configured by default. The debug interface may be changed by opening the
*.ccxml file in the project. The pull-down menu contains TI MSP430 USBx and TI MSP430 LPTx (in
case support for the MSP430 Parallel Port Tools was selected during the installation) connections.
Select "save file" from the drop down menu or click the “save” icon to ensure configuration changesare correctly saved.
8. To compile the code and download the application to the target device, go to Target → Debug Active
Project.
9. The application may be started by selecting Target → Run (F8) or clicking the Play button on the
toolbar.
See FAQ Debugging #1 if the CCS debugger is unable to communicate with the device.
Congratulations, you have just built and tested an MSP430 application!
Predefined projects, which are located in <Installation Root>\msp430\examples\example projects, can be
imported by selecting Project → Import Existing CCS/CCE Eclipse Project.
.
到第6步,我使用的是hello world,到第8步go to Target → Debug Active Project.出现如图错误信息。