Texas-instruments MSP-FET430 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Hardware Texas-instruments MSP-FET430. Texas Instruments MSP-FET430 User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - User's Guide

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

Strany 2 - IMPORTANT NOTICE

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

Strany 3

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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$

Strany 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

Strany 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

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

Strany 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

Strany 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

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

Strany 25

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

Strany 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

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

Strany 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

Strany 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

Strany 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

Strany 31 - Programming

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

Strany 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

Strany 33

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

Strany 34 - 3.3 Device Signals

July 2004 User's Guide

Strany 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

Strany 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

Strany 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

Strany 38

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 46

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

Strany 47

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

Strany 48

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

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

Strany 50

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

Strany 51 - Hardware

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 60

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

Strany 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

Strany 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

Strany 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

Strany 64

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

Strany 65

Hardware B-18

Strany 66

Hardware B-19

Strany 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

Strany 68

Hardware B-20

Strany 69

Hardware B-21

Strany 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

Strany 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

Strany 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

Strany 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-&

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

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

Strany 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

Strany 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

Strany 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

Strany 89 - #error

vii Contents Read This First...iii Ab

Strany 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

Strany 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

Strany 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

Strany 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

Strany 95 - Figure F-5. Device Manager

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

Komentáře k této Příručce

Žádné komentáře