Texas Instruments MSP-FET430 User Manual

Size:
3.01 Mb
Download

MSP-FET430FLASH Emulation Tool (FET)

(For use with IAR Workbench Version 3.x)

U s e r ' s G u i d e

User's Guide

2004

SLAU138A

 

Mixed Signal

 

Products

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, patent infringement, and limitation of liability.

TI warrants performance of its products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements.

Customers are responsible for their applications using TI components.

In order to minimize risks associated with the customer’s applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards.

TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such products or services might be or are used. TI’s publication of information regarding any third party’s products or services does not constitute TI’s approval, license, warranty or endorsement thereof.

Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations and notices. Representation or reproduction of this information with alteration voids all warranties provided for an associated TI product or service, is an unfair and deceptive business practice, and TI is not responsible nor liable for any such use.

Resale of TI’s products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service, is an unfair and deceptive business practice, and TI is not responsible nor liable for any such use.

Also see: Standard Terms and Conditions of Sale for Semiconductor Products. www.ti.com/sc/docs/stdterms.htm

Mailing Address:

Texas Instruments

Post Office Box 655303

Dallas, Texas 75265

Copyright © 2001, Texas Instruments Incorporated

ii

U s e r ' s G u i d e

July 2004

Preface

Read This First

About This Manual

This manual documents the Texas Instruments MSP-FET430Flash

Emulation Tool (FET). The FET is the program development tool for the

MSP430 ultra low power microcontroller. Both available interfaces, the

Parallel-Port-Interfaceand theUSB-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 and hardware, and then run the demonstration programs. Once you’ve been demonstrated how quick and easy it is to use the FET, we suggest that you complete the reading of this manual.

This manual describes the set-upand operation of the FET, but does not fully teach the MSP430 or the development software systems. For details of these items, refer to the appropriate TI and IAR documents listed in Chapter 1.9 Important MSP430 Documents on theCD-ROMand WEB.

This manual is applicable to the following tools (and devices):

MSP-FET430X110(for the MSP430F11xIDW, MSP430F11x1AIDW, and

MSP430F11x2IDW devices)

MSP-FET430P120(for the MSP430F12xIDW and MSP430F12x2IDW

devices)

MSP-FET430P140(for the MSP430F13xIPM, MSP430F14xIPM,

MSP430F15xIPM, MSP430F16xIPM, and MSP430F161xIPM devices)

MSP-FET430P410(for the MSP430F41xIPM devices)

MSP-FET430P430(for the MSP430F43xIPN devices)

MSP-FET430P440(for the MSP430F43xIPZ and MSP430F44xIPZ

devices)

MSP-FET430UIF(debug interface with USB connection, for all MSP430

Flash based devices)

This tool contains the most up-to-datematerials available at the time of packaging. For the latest materials (data sheets, User’s Guides, software, applications, etc.), visit the TI MSP430 web site atwww.ti.com/sc/msp430, or contact your local TI sales office.

iii

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 damageCAUTIONyour software or equipment.

This is an example of a warning statement.

A warning statement describes a situation that could potentially causeWARNINGharm toyou.

The information in a caution or a warning is provided for your protection.

Read each caution and warning carefully.

Related Documentation From Texas Instruments

MSP430xxxx Device Data Sheets

MSP430x1xx Family User’s Guide, SLAU049

MSP430x3xx Family User’s Guide, SLAU012

MSP430x4xx Family User’s Guide, SLAU056

iv

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 devicespecific information can be found on the MSP430 web site atwww.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 support for Kickstart from IAR. Please consult the extensive documentation provided with Kickstart before requesting assistance.

FCC Warning

This equipment is intended for use in a laboratory test environment only. It generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to subpart J of part 15 of FCC rules, which are designed to provide reasonable protection against radio frequency interference. Operation of this equipment in other environments may cause interference with radio communications, in which case the user at his own expense will be required to take whatever measures may be required to correct this interference.

v

vi

 

 

 

Contents

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read This First

................................................................................................................

iii

 

About This Manual .....................................................................................................

iii

 

How to Use This Manual ............................................................................................

iii

 

Information About Cautions and Warnings ................................................................

iv

 

Related Documentation From Texas Instruments......................................................

iv

 

If You Need Assistance ..............................................................................................

v

 

FCC Warning .............................................................................................................

v

Contents

.........................................................................................................................

 

vii

Figures.............................................................................................................................

 

 

ix

Tables ..............................................................................................................................

 

 

ix

Get Started Now!...........................................................................................................

1-1

1.1

Kit Contents, .....................................................................MSP-FET430X110

1-2

1.2

Kit Contents, .............MSP-FET430Pxx0(‘P120, ‘P140, ‘P410, ‘P430, ‘P440)

1-2

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, ‘P430,‘P440)1-4

1.7

Hardware ............................................Installation, USB-IF,MSP-FET430UIF

1-4

1.8

“Flash”ing ...........................................................................................the LED

1-4

1.9

Important ..............................MSP430 Documents on the CD-ROMand WEB

1-6

Development Flow ........................................................................................................

2-1

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) Files

2-7

 

 

2.2.6 .........................................................................Overview of Example Programs

2-7

2.3

Using C ...................................................................................................-SPY

2-9

 

 

2.3.1 ...............................................................................................

Breakpoint Types

2-9

 

 

2.3.2 ..............................................................................................

Using Breakpoints

2-9

 

 

2.3.3 .............................................................................................

Using Single Step

2-10

 

 

2.3.4 .....................................................................................

Using Watch Windows

2-11

Design Considerations ...................................................for In-CircuitProgramming

3-1

3.1

Bootstrap .............................................................................................Loader

3-2

3.2

External ................................................................................................Power

3-2

3.3

Device .................................................................................................Signals

3-3

3.4

Signal Connections for In-SystemProgramming and Debugging, MSP-

 

 

 

 

FET430X110 ...................................................................................................

3-4

3.5

Signal Connections for In-SystemProgramming and Debugging, MSP-

 

 

 

 

FETP430IF, .........................................................................MSP-FET430UIF

3-6

vii

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.......................................................................................................................

 

B-1

B.1 History of changes to MSP-TS430PM64Target Socket module ...................

B-12

FET Specific Menus .....................................................................................................

C-1

C.1

EMULATOR....................................................................................................

C-2

 

C.1.1

EMULATOR->RELEASEJTAG ON GO ...........................................................

C-2

 

C.1.2

EMULATOR->RESYNCHRONIZEJTAG .........................................................

C-2

 

C.1.3

EMULATOR->INITNEW DEVICE ....................................................................

C-2

 

C.1.4

EMULATOR->SHOWUSED BREAKPOINTS ..................................................

C-2

 

C.1.5

EMULATOR->ADVANCED->GENERALCLOCK CONTROL ..........................

C-2

 

C.1.6

EMULATOR->ADVANCED->EMULATIONMODE...........................................

C-2

 

C.1.7

EMULATOR->ADVANCED->MEMORYDUMP................................................

C-3

 

C.1.8

EMULATOR->ADVANCED->BREAKPOINTCOMBINER................................

C-3

 

C.1.9

EMULATOR->STATESTORAGE.....................................................................

C-3

 

C.1.10

EMULATOR->STATESTORAGE WINDOW....................................................

C-3

 

C.1.11

EMULATOR->SEQUENCER ............................................................................

C-3

 

C.1.12

EMULATOR->”POWERON” RESET ...............................................................

C-3

 

C.1.13

EMULATOR->SECURE ....................................................................................

C-3

 

C.1.14

EMULATOR->GIEon/off...................................................................................

C-4

 

C.1.15

EMULATOR->LEAVETARGET RUNNING......................................................

C-4

 

C.1.16

EMULATOR->FORCESINGLE STEPPING.....................................................

C-4

 

C.1.17

EMULATOR->SETVCC ...................................................................................

C-4

80-pinMSP430F44x and MSP430F43x Device Emulation..........................................

D-1

TI to IAR 2.x/3.x Assembler Migration ........................................................................

E-1

E.1

Segment Control.............................................................................................

E-2

E.2 Translating Asm430 Assembler Directives to A430 Directives ........................

E-2

 

E.2.1

Introduction........................................................................................................

E-2

 

E.2.2

Character strings ...............................................................................................

E-2

 

E.2.3

Section Control Directives .................................................................................

E-3

 

E.2.4

Constant Initialization Directives .......................................................................

E-4

 

E.2.5

Listing Control Directives ..................................................................................

E-4

 

E.2.6

File Reference Directives ..................................................................................

E-5

 

E.2.7

Conditional-AssemblyDirectives.......................................................................

E-5

 

E.2.8

Symbol Control Directives .................................................................................

E-6

 

E.2.9

Macro Directives................................................................................................

E-7

 

E.2.10

Miscellaneous Directives...................................................................................

E-7

 

E.2.11

Preprocessor Directives ....................................................................................

E-7

 

E.2.12

Alphabetical Listing and Cross Reference of Asm430 Directives .....................

E-8

 

E.2.13

Additional A430 Directives (IAR).......................................................................

E-8

MSP-FET430UIFInstallation Guide .............................................................................

F-1

F.1

Hardware Installation ......................................................................................

F-2

viii