MSP-FET430 FLASH Emulation Tool (FET) (For use with IAR Workbench Version 3.x) 2004 SLAU138A Mixed Signal Products User&
viii Frequently Asked Questions... A-1 A.1 Hardware...
ix Figures Figure 3-1. Signal connections for MSP-FET430X110...3-5 Figure 3-2. JTAG Signal Connections .
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
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
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
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
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
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
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
ii IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or
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
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
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
Development Flow 2-5 Note: Avoid the use of absolute pathnames when referencing files. Instead, use the relative pathname keywords $TOOLKIT_DIR$
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
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
Development Flow 2-8 Note: Some example programs require a 32KHz crystal on LFXT1, and not all FETs are supplied with a 32KHz crystal.
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
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
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.
3-1 Chapter 3 Design Considerations for In-Circuit Programming This chapter presents signal requirements for in-circuit programming of the MSP430. T
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
Design Considerations for In-Circuit Programming 3-3 levels accordingly). Again, refer to the Target Socket module schematic in Appendix B.
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
Design Considerations for In-Circuit Programming 3-5 3.4 Signal Connections for In-System Programming and Debugging, MSP-FET430X110 With the prop
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
Design Considerations for In-Circuit Programming 3-7 3.5 Signal Connections for In-System Programming and Debugging, MSP-FETP430IF, MSP-FET430UIF
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
A-1 Appendix A Frequently Asked Questions This appendix presents solutions to frequently asked questions regarding hardware, program development, an
July 2004 User's Guide
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
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
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
Frequently Asked Questions A-5 Optimization: NONE is supported within PROJECT->OPTIONS->C/C++ COMPILER->CODE->OPTIMIZATIONS. Alternati
Frequently Asked Questions A-6 software can prevent the C-SPY/FET driver from accessing the parallel port, and, hence, communicating with the device
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
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
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
Frequently Asked Questions A-10 (RESYNCHRONIZE JTAG)) and before C-SPY has regained control of the device that the device will execute normally. Thi
Frequently Asked Questions A-11 26) On devices equipped with a Data Transfer Controller (DTC), the completion of a data transfer cycle will preemp
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
Frequently Asked Questions A-12 35) Special Function Registers (SFRs) – or the peripheral registers – are now displayed in VIEW->REGISTER; there
B-1 Appendix B Hardware This appendix contains information relating to the FET hardware, including schematics and PCB pictorials. Topic Page Figure
Hardware B-2 Figure B-1. MSP-FET430X110, Schematic
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.
Hardware B-4 Figure B-3. MSP-FET430IF FET Interface module, Schematic
Hardware B-5 Figure B-4. MSP-FET430IF FET Interface module, PCB Pictorial R6 Ensure value is 82 ohms
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
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
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
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
iv Information About Cautions and Warnings This book may contain cautions and warnings. CAUTION WARNING The information in a caution or a warning is
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
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
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
Hardware B-13 Figure B-11. MSP-TSPN80 Target Socket module, Schematic
Hardware B-14 Figure B-12. MSP-TSPN80 Target Socket module, PCB Pictorials Connector J5 External power connection Remove R8 and jumper R9 Orien
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
Hardware B-16 Figure B-14. MSP-TSPZ100 Target Socket module, PCB Pictorials Connector J5 External power connection Remove R8 and jumper R9 Ori
Hardware B-17 Figure B-15. MSP-FET430UIF USB Interface schematics
Hardware B-18
Hardware B-19
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
Hardware B-20
Hardware B-21
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
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
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
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-&
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
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
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
vi
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
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
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
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
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
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)
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
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
TI to IAR 2.x/3.x Assembler Migration E-9 LSTPAG (+/-) #if, #else, #elif COMMON LSTXREF (+/-) #ifdef, #ifndef STACK #endif ALIGN #include OR
vii Contents Read This First...iii Ab
F-1 Appendix F MSP-FET430UIF Installation Guide This section describes the hardware installation process of the MSP-FET430UIF USB debug interface o
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
MSP-FET430UIF Installation Guide F-3 Figure F-3. WinXP Driver Location Selection Folder 6) The Wizard should generate a message that an appropr
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
MSP-FET430UIF Installation Guide F-5 Figure F-5. Device Manager
Commentaires sur ces manuels