Texas Instruments MSP-FET430 Manuale Utente

Navigare online o scaricare Manuale Utente per no Texas Instruments MSP-FET430. Texas Instruments MSP-FET430 User's Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - User's Guide

MSP-FET430 FLASH Emulation Tool (FET) (For use with IAR Workbench Version 3.x) 2004 SLAU138A Mixed Signal Products User&

Pagina 2 - IMPORTANT NOTICE

viii Frequently Asked Questions... A-1 A.1 Hardware...

Pagina 3

ix Figures Figure 3-1. Signal connections for MSP-FET430X110...3-5 Figure 3-2. JTAG Signal Connections .

Pagina 5 - Read This First

1-1 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 hardwar

Pagina 6

Get Started Now! 1-2 1.1 Kit Contents, MSP-FET430X110 One READ ME FIRST document. One MSP430 CD-ROM. One MSP-FET430X110 Flash Emulation Tool. This

Pagina 7 - FCC Warning

Get Started Now! 1-3 MSP-FET430P430: Eight PCB 1x20 pin headers (Four male and four female). MSP-FET430P440: Eight PCB 1x25 pin headers (Four male

Pagina 8

Get Started Now! 1-4 1.6 Hardware Installation, MSP-FET430Pxx0 (‘P120, ‘P140, ‘P410, ‘P430, ‘P440) 1) Use the 25-conductor cable to connect the FE

Pagina 9 - Contents

Get Started Now! 1-5 3) Click on the tab at the bottom of the workspace window that corresponds to your tool (FETxxx) and desired language (assem

Pagina 10

Get Started Now! 1-6 1.9 Important MSP430 Documents on the CD-ROM and WEB The primary sources of MSP430 information are the device specific data sh

Pagina 11 - Figures

2-1 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. T

Pagina 12

ii IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or

Pagina 13 - Get Started Now!

Development Flow 2-2 2.1 Overview Applications are developed in assembler and/or C using the Workbench, and they are debugged using C-SPY. C-SPY is

Pagina 14

Development Flow 2-3 The simulator will input a maximum of 4K bytes of code. A “Full” (i.e., unrestricted) version of the software tools can be pu

Pagina 15 - 1.4 Software Installation

Development Flow 2-4 Enable the Device Description file. This file makes C-SPY “aware” of the specifics of the device it is debugging. This file wil

Pagina 16 - 1.8 “Flash”ing the LED

Development Flow 2-5 Note: Avoid the use of absolute pathnames when referencing files. Instead, use the relative pathname keywords $TOOLKIT_DIR$

Pagina 17

Development Flow 2-6 Note: How to add assembler source files to your project The default file type presented in the Add Files window is “C/C++ Files

Pagina 18

Development Flow 2-7 system stack within C programs. CSTACK can also be used in assembler programs [MOV #SFE(CSTACK), SP]. CSTACK is defined to ex

Pagina 19 - Development Flow

Development Flow 2-8 Note: Some example programs require a 32KHz crystal on LFXT1, and not all FETs are supplied with a 32KHz crystal.

Pagina 20 - 2.2 Using Kickstart

Development Flow 2-9 2.3 Using C-SPY Refer to Appendix C for a description of FET-specific menus within C-SPY. 2.3.1 Breakpoint Types The C-SPY br

Pagina 21 - 2.2.1 Project Settings

Development Flow 2-10 The RUN TO CURSOR operation temporarily requires a breakpoint. Consequently, only N-1 breakpoints can be active when RUN TO CU

Pagina 22

Development Flow 2-11 2.3.4 Using Watch Windows The C-SPY Watch Window mechanism permits C variables to be monitored during the debugging session.

Pagina 25

3-1 Chapter 3 Design Considerations for In-Circuit Programming This chapter presents signal requirements for in-circuit programming of the MSP430. T

Pagina 26

Design Considerations for In-Circuit Programming 3-2 3.1 Bootstrap Loader The JTAG pins provide access to the Flash memory of the MSP430F device. On

Pagina 27 - 2.3 Using C-SPY

Design Considerations for In-Circuit Programming 3-3 levels accordingly). Again, refer to the Target Socket module schematic in Appendix B.

Pagina 28 - 2.3.3 Using Single Step

Design Considerations for In-Circuit Programming 3-4 3.3 Device Signals The following device signals should be brought out (i.e., made accessible) s

Pagina 29 - 2.3.4 Using Watch Windows

Design Considerations for In-Circuit Programming 3-5 3.4 Signal Connections for In-System Programming and Debugging, MSP-FET430X110 With the prop

Pagina 30

Design Considerations for In-Circuit Programming 3-6 Note: Connection to XOUT is not required No JTAG connection is required to the XOUT pin of th

Pagina 31 - Programming

Design Considerations for In-Circuit Programming 3-7 3.5 Signal Connections for In-System Programming and Debugging, MSP-FETP430IF, MSP-FET430UIF

Pagina 32 - 3.2 External Power

Design Considerations for In-Circuit Programming 3-8 TDO/TDI 1 13 11 9 7 5 3 2 14 12 10 8 6 4 V CC(FromTool) GND TCK TMS TDI Test V CC(Local Sen

Pagina 33

A-1 Appendix A Frequently Asked Questions This appendix presents solutions to frequently asked questions regarding hardware, program development, an

Pagina 34 - 3.3 Device Signals

July 2004 User's Guide

Pagina 35 - FET430X110

Frequently Asked Questions A-2 A.1 Hardware 1) The state of the device (CPU registers, RAM memory, etc.) is undefined following a reset. Exceptions

Pagina 36

Frequently Asked Questions A-3 low power mode is restored (using GO). This behavior appears to happen on all devices except the MSP430F12x. 12) Th

Pagina 37 - FETP430IF, MSP-FET430UIF

Frequently Asked Questions A-4 9) It is possible to mix assembler and C programs within the Workbench. Refer to the Assembler Language Interface ch

Pagina 38

Frequently Asked Questions A-5 Optimization: NONE is supported within PROJECT->OPTIONS->C/C++ COMPILER->CODE->OPTIMIZATIONS. Alternati

Pagina 39 - Frequently Asked Questions

Frequently Asked Questions A-6 software can prevent the C-SPY/FET driver from accessing the parallel port, and, hence, communicating with the device

Pagina 40 - A.1 Hardware

Frequently Asked Questions A-7 For revisions 1.0, 1.1, and 1.2 of the FET Interface module, install a 0.1uF capacitor between the indicated points

Pagina 41

Frequently Asked Questions A-8 2) C-SPY can download data into RAM, INFORMATION, and Flash MAIN memories. A warning message is output if an attempt

Pagina 42

Frequently Asked Questions A-9 the JTAG pins and the measurements will be erroneous. Refer to FAQ, Debugging #12) and Hardware #11). 11) Most C-SP

Pagina 43 - A.3 Debugging (C-SPY)

Frequently Asked Questions A-10 (RESYNCHRONIZE JTAG)) and before C-SPY has regained control of the device that the device will execute normally. Thi

Pagina 44

Frequently Asked Questions A-11 26) On devices equipped with a Data Transfer Controller (DTC), the completion of a data transfer cycle will preemp

Pagina 45

iii Preface Read This First About This Manual This manual documents the Texas Instruments MSP-FET430 Flash Emulation Tool (FET). The FET is the pr

Pagina 46

Frequently Asked Questions A-12 35) Special Function Registers (SFRs) – or the peripheral registers – are now displayed in VIEW->REGISTER; there

Pagina 47

B-1 Appendix B Hardware This appendix contains information relating to the FET hardware, including schematics and PCB pictorials. Topic Page Figure

Pagina 48

Hardware B-2 Figure B-1. MSP-FET430X110, Schematic

Pagina 49

Hardware B-3 J2 J3 P2.1 RST XOUT P2.5 TST P2.4 P1.1 P1.3 P1.5 P1.7 P2.2 P2.0 XIN Vss Vcc P2.3 P1.0 P1.2 P1.4 P1.6 Figure B-2.

Pagina 50

Hardware B-4 Figure B-3. MSP-FET430IF FET Interface module, Schematic

Pagina 51 - Hardware

Hardware B-5 Figure B-4. MSP-FET430IF FET Interface module, PCB Pictorial R6 Ensure value is 82 ohms

Pagina 52

Hardware B-6 Note: Connections between the JTAG header and pins XOUT and XIN are no longer required, and should not be made. Figure B-5. MSP-TS430D

Pagina 53

Hardware B-7 Figure B-6. MSP-TS430DW28 Target Socket module, PCB Pictorials Jumper J4 Open to disconnect LED Orient Pin 1 of MSP430 device

Pagina 54

Hardware B-8 Note: Connections between the JTAG header and pins XOUT and XIN are no longer required, and should not be made. Figure B-7. MSP-TS430P

Pagina 55

Hardware B-9 Figure B-8. MSP-TS430PM64 Target Socket module, PCB Pictorials, Rev. 1.0 LED connected to pin 12 Jumper J7Open to measure

Pagina 56

iv Information About Cautions and Warnings This book may contain cautions and warnings. CAUTION WARNING The information in a caution or a warning is

Pagina 57

Hardware B-10 Note: Connections between the JTAG header and pins XOUT and XIN are no longer required, and should not be made. Figure B-9. MSP-TS430

Pagina 58

Hardware B-11 Figure B-10. MSP-TS430PM64 Target Socket module, PCB Pictorials, Rev. 1.1 Connector J5 External power connection Remove R8 and ju

Pagina 59 - Open to measure current

Hardware B-12 B.1 History of changes to MSP-TS430PM64 Target Socket module Changes from Rev. 0.1 to 1.0: Connector J5 for external power was added

Pagina 60

Hardware B-13 Figure B-11. MSP-TSPN80 Target Socket module, Schematic

Pagina 61 - Orient Pin 1 of MSP430 device

Hardware B-14 Figure B-12. MSP-TSPN80 Target Socket module, PCB Pictorials Connector J5 External power connection Remove R8 and jumper R9 Orien

Pagina 62

Hardware B-15 Note: Connections between the JTAG header and pins XOUT and XIN are no longer required, and should not be made. Figure B-13. MSP-TS

Pagina 63

Hardware B-16 Figure B-14. MSP-TSPZ100 Target Socket module, PCB Pictorials Connector J5 External power connection Remove R8 and jumper R9 Ori

Pagina 64

Hardware B-17 Figure B-15. MSP-FET430UIF USB Interface schematics

Pagina 65

Hardware B-18

Pagina 66

Hardware B-19

Pagina 67

v If You Need Assistance Support for the MSP430 device and the FET is provided by the Texas Instruments Product Information Center (PIC). Contact info

Pagina 68

Hardware B-20

Pagina 69

Hardware B-21

Pagina 71

C-1 Appendix C FET Specific Menus This appendix describes the C-SPY menus that are specific to the FET. Topic Page C.1 EMULATOR C-2 C.1.1 EMULAT

Pagina 72

FET Specific Menus C-2 C.1 EMULATOR The current device type is displayed. C.1.1 EMULATOR->RELEASE JTAG ON GO C-SPY uses the device JTAG signals

Pagina 73 - FET Specific Menus

FET Specific Menus C-3 Refer to Appendix D. C.1.7 EMULATOR->ADVANCED->MEMORY DUMP Write the specified device memory contents to a specified

Pagina 74 - C.1 EMULATOR

FET Specific Menus C-4 C.1.14 EMULATOR->GIE on/off Enables or disables all interrupts. Needs to be restored manually before GO. C.1.15 EMULATOR-&

Pagina 75

D-1 Appendix D 80-pin MSP430F44x and MSP430F43x Device Emulation 80-pin MSP430F44x and MSP430F43x devices can be emulated by the 100-pin MSP430F449

Pagina 76 - C.1.17 EMULATOR->SET VCC

80-pin MSP430F44x and MSP430F43x Device Emulation D-2 Table D-1. F4xx/80-pin Signal Mapping F4xx/80-pin Signal F4xx/80-pin Pin Number MSP430-TS43

Pagina 77 - Device Emulation

80-pin MSP430F44x and MSP430F43x Device Emulation D-3 P5.5/R13 49 57 P5.6/R23 50 58 P5.7/R33 51 59 DVcc2 52 60 DVss2 53 61 P2.5/URXD0 54 7

Pagina 80

E-1 Appendix E TI to IAR 2.x/3.x Assembler Migration Texas Instruments made a suite of development tools for the MSP430, including a comprehensive

Pagina 81 - Appendix E

TI to IAR 2.x/3.x Assembler Migration E-2 E.1 Segment Control RSEG defines a Relocatable SEGment. A relocatable segment means that the code that fol

Pagina 82 - E.1 Segment Control

TI to IAR 2.x/3.x Assembler Migration E-3 consecutive backslashes (\\). In Asm430 syntax, a quote is represented by two consecutive quotes (“”). S

Pagina 83

TI to IAR 2.x/3.x Assembler Migration E-4 E.2.4 Constant Initialization Directives Description Asm430 Directive (TI) A430 Directive (IAR) Initia

Pagina 84

TI to IAR 2.x/3.x Assembler Migration E-5 E.2.6 File Reference Directives Description Asm430 Directive (TI) A430 Directive (IAR) Include sourc

Pagina 85

TI to IAR 2.x/3.x Assembler Migration E-6 X SET X+1 ; Increment counter ENDR ENDM Additional A430 Directives (IAR) A430 Directive (IAR)

Pagina 86

TI to IAR 2.x/3.x Assembler Migration E-7 E.2.9 Macro Directives Description Asm430 Directive (TI) A430 Directive (IAR) Define a macro .macro

Pagina 87 - E.2.9 Macro Directives

TI to IAR 2.x/3.x Assembler Migration E-8 Additional A430 Directives (IAR) A430 Directive (IAR) Assign a value to a preprocessor symbol #define U

Pagina 88

TI to IAR 2.x/3.x Assembler Migration E-9 LSTPAG (+/-) #if, #else, #elif COMMON LSTXREF (+/-) #ifdef, #ifndef STACK #endif ALIGN #include OR

Pagina 89 - #error

vii Contents Read This First...iii Ab

Pagina 91 - Appendix F

F-1 Appendix F MSP-FET430UIF Installation Guide This section describes the hardware installation process of the MSP-FET430UIF USB debug interface o

Pagina 92 - F.1 Hardware Installation

MSP-FET430UIF Installation Guide F-2 F.1 Hardware Installation 1) Connect the MSP-FET430UIF USB Debug Interface with a USB cable to a USB port of

Pagina 93

MSP-FET430UIF Installation Guide F-3 Figure F-3. WinXP Driver Location Selection Folder 6) The Wizard should generate a message that an appropr

Pagina 94

MSP-FET430UIF Installation Guide F-4 Figure F-4. WinXP Driver Installation 8) In the next step the Wizard installs the driver files. 9) The Wiza

Pagina 95 - Figure F-5. Device Manager

MSP-FET430UIF Installation Guide F-5 Figure F-5. Device Manager

Commenti su questo manuale

Nessun commento