Resumen del contenido incluido en la página 1
MSP-FET430 FLASH Emulation Tool (FET)
(For use with IAR Workbench Version 3.x)
Us e r 's G u i d e
User's Guide
2004 SLAU138A
Mixed Signal
Products
Resumen del contenido incluido en la página 2
IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, pate
Resumen del contenido incluido en la página 3
Resumen del contenido incluido en la página 4
Us e r 's G u i d e July 2004
Resumen del contenido incluido en la página 5
Preface Read This First About This Manual This manual documents the Texas Instruments MSP-FET430 Flash Emulation Tool (FET). The FET is the program development tool for the MSP430 ultra low power microcontroller. Both available interfaces, the Parallel-Port-Interface and the USB-Interface, are described here. How to Use This Manual Read and follow the Get Started Now! chapter. This chapter will enable you to inventory your FET, and then it will instruct you to install the software
Resumen del contenido incluido en la página 6
Information About Cautions and Warnings This book may contain cautions and warnings. This is an example of a caution statement. A caution statement describes a situation that could potentially damage your software or equipment. CAUTION This is an example of a warning statement. A warning statement describes a situation that could potentially cause harm to you. WARNING The information in a caution or a warning is provided for your protection. Read each caution and warning
Resumen del contenido incluido en la página 7
If You Need Assistance Support for the MSP430 device and the FET is provided by the Texas Instruments Product Information Center (PIC). Contact information for the PIC can be found on the TI web site at www.ti.com. Additional device- specific information can be found on the MSP430 web site at www.ti.com/sc/msp430. Note: Kickstart is supported by Texas Instruments Although Kickstart is a product of IAR, Texas Instruments provides the support for it. Therefore, please do not request suppo
Resumen del contenido incluido en la página 8
vi
Resumen del contenido incluido en la página 9
Contents Read This First................................................................................................................iii About This Manual .....................................................................................................iii How to Use This Manual ............................................................................................iii Information About Cautions and Warnings ................................................................ iv R
Resumen del contenido incluido en la página 10
Frequently Asked Questions....................................................................................... A-1 A.1 Hardware........................................................................................................ A-2 A.2 Program Development (Assembler, C-Compiler, Linker)................................. A-3 A.3 Debugging (C-SPY) ........................................................................................ A-5 Hardware.....................................
Resumen del contenido incluido en la página 11
Figures Figure 3-1. Signal connections for MSP-FET430X110. ...............................................3-5 Figure 3-2. JTAG Signal Connections .........................................................................3-7 Figure A-1. Modification to FET Interface module ..................................................... A-7 Figure B-1. MSP-FET430X110, Schematic.................................................................. B-2 Figure B-2. MSP-FET430X110, PCB Pictorials ..........
Resumen del contenido incluido en la página 12
Resumen del contenido incluido en la página 13
Chapter 1 Get Started Now! This chapter will enable you to inventory your FET, and then it will instruct you to install the software and hardware, and then run the demonstration programs. Topic Page 1.1 Kit Contents, MSP-FET430X110 1-2 1.2 Kit Contents, MSP-FET430Pxx0 (‘P120, ‘P140, ‘P410, ‘P430, 1-2 ‘P440) 1.3 Kit Contents, MSP-FET430UIF 1-3 1.4 Software Installation 1-3 1.5 Hardware Installation, MSP-FET430X110 1-3 1.6 Hardware Installation, MSP-FET430Pxx0 (‘P120, ‘P140, ‘P410,
Resumen del contenido incluido en la página 14
Get Started Now! 1.1 Kit Contents, MSP-FET430X110 One READ ME FIRST document. One MSP430 CD-ROM. One MSP-FET430X110 Flash Emulation Tool. This is the PCB on which is mounted a 20-pin ZIF socket for the MSP430F11xIDW, MSP430F11x1AIDW, or MSP430F11x2IDW device. A 25-conductor cable originates from the FET. One small box containing two MSP430F1121AIDW device samples. 1.2 Kit Contents, MSP-FET430Pxx0 (‘P120, ‘P140, ‘P410, ‘P430, ‘P440) One READ ME FIRST document. One MSP430 CD-ROM. On
Resumen del contenido incluido en la página 15
Get Started Now! MSP-FET430P430: Eight PCB 1x20 pin headers (Four male and four female). MSP-FET430P440: Eight PCB 1x25 pin headers (Four male and four female). One small box containing two or four MSP430 device samples. MSP-FET430P120: MSP430F123IDW and/or MSP430F1232IDW MSP-FET430P140: MSP430F149IPM and/or MSP430F169IPM MSP-FET430P410: MSP430F413IPM MSP-FET430P430: MSP430F437IPN and/or MSP430FG439 MSP-FET430P440: MSP430F449IPZ Consult the device data sheets for device specifica
Resumen del contenido incluido en la página 16
Get Started Now! 1.6 Hardware Installation, MSP-FET430Pxx0 (‘P120, ‘P140, ‘P410, ‘P430, ‘P440) 1) Use the 25-conductor cable to connect the FET Interface module to the parallel port of your PC. 2) Use the 14-conductor cable to connect the FET Interface module to the supplied Target Socket module. 3) Ensure that the MSP430 device is securely seated in the socket, and that its pin 1 (indicated with a circular indentation on the top surface) aligns with the “1” mark on the PCB. 4) Ensur
Resumen del contenido incluido en la página 17
Get Started Now! 3) Click on the tab at the bottom of the workspace window that corresponds to your tool (FETxxx) and desired language (assembler or C). 4) Use PROJECT->OPTIONS->FET Debugger->Setup->Connection to select the appropriate port: LPTx for the parallel FET Interface or TI USB FET for 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 so
Resumen del contenido incluido en la página 18
Get Started Now! 1.9 Important MSP430 Documents on the CD-ROM and WEB The primary sources of MSP430 information are the device specific data sheet and User’s Guide. The most up to date versions of these documents available at the time of production have been provided on the CD-ROM included with this tool. The MSP430 web site (www.ti.com/sc/msp430) will contain the latest version of these documents. From the MSP430 main page on the CD-ROM, navigate to: Literature->MSP430 Literature->Da
Resumen del contenido incluido en la página 19
Chapter 2 Development Flow This chapter discusses how to use Kickstart to develop your application software, and how to use C-SPY to debug it. Topic Page 2.1 Overview 2-2 2.2 Using Kickstart 2-2 2.2.1 Project Settings 2-3 2.2.2 Creating a Project from Scratch 2-5 2.2.3 Using an Existing IAR V1.x/V2.x Project 2-6 2.2.4 Stack Management within the .xcl Files 2-6 2.2.5 How to Generate Texas Instrument .TXT (and other format) 2-7 Files 2.2.6 Overview of Example Programs 2-7 2.3 Usi
Resumen del contenido incluido en la página 20
Development Flow 2.1 Overview Applications are developed in assembler and/or C using the Workbench, and they are debugged using C-SPY. C-SPY is seamlessly integrated into the Workbench. However, it is more convenient to make the distinction between the code development environment (Workbench) and the debugger (C-SPY). C- SPY can be configured to operate with the FET (i.e., an actual MSP430 device), or with a software simulation of the device. Kickstart is used to refer to the Workbench