Summary of the content on the page No. 1
User’s Guide
July 2009
SLAU048H
Summary of the content on the page No. 2
EVALUATION BOARD/KIT IMPORTANT NOTICE Texas Instruments (TI) provides the enclosed product(s) under the following conditions:. This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end−product fit for general consumer use. Persons handling the product(s) must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be
Summary of the content on the page No. 3
EVM WARNINGS AND RESTRICTIONS It is important to operate this EVM within the specified input and output ranges described in the EVM User’s Guide. Exceeding the specified input range may cause unexpected operation and/or irreversible damage to the EVM. If there are questions concerning the input range, please contact a TI field representative prior to connecting the input power. Applying loads outside of the specified output range may result in unintended operation and/or possible permanent damag
Summary of the content on the page No. 4
Summary of the content on the page No. 5
Trademarks Preface About This Manual This document describes the MSP430-family hardware, operation, and software installation and setup. How to Use This Manual This document contains the following chapters: Chapter 1 − Installation and Setup Chapter 2 − Operation Chapter 3 − Hardware Appendix A − Hex Object Format Appendix B − Schematics Notational Conventions This document uses the following conventions. Program code and program examples are shown in a special typef
Summary of the content on the page No. 6
FCC Warning FCC Warning This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use. It generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to part 15 of FCC rules, which are designed to provide reasonable protection against radio frequency interference. Operation of
Summary of the content on the page No. 7
Running Title—Attribute Reference
1 Installation and Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.1 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.2 Installing the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 2 Operation . . . . . . .
Summary of the content on the page No. 8
Running Title—Attribute Reference 1−1 ADT430 Program Icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1−2 Serial Programming Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 2−1 MSP430 Programmer Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 2−2 Communication Error Box . . . . . . . . . .
Summary of the content on the page No. 9
Chapter 1 This chapter describes the process of installing and programming the hardware and software for the MSP430-PRGS430 programming adapter used with the MSP430 family of microcontrollers. Topic Page 1.1 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.2 Installing the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 Installation and Setup 1-1
Summary of the content on the page No. 10
Installing the Software 1.1 Installing the Software To install the MSP-PRGS430 software, perform the following steps: NOTE: To ensure that you are using the latest version of the MSP-PRGS430 software, you must download the installation executable from the TI web site. 1) Browse to the MSP-PRGS430 page on www.ti.com (http://www.ti.com/prgs430). 2) Go to the Support Software section and click on the link to the MSP-PRGS430 Software (the latest version of this software can also be downloaded from t
Summary of the content on the page No. 11
Installing the Hardware 1.2 Installing the Hardware To install the programming adapter hardware, perform the following steps: 1) Using the 9-pin SUB-D connector, connect the programming adapter to the serial port (COM1−COM4) of the PC. 2) Connect an external power supply to the programming adapter. The voltage of the power supply must be between 14 V and 20 V dc and must provide a minimum of 200 mA of power. The center terminal of the supply connector at the programming adapter is the plus pole.
Summary of the content on the page No. 12
1-4
Summary of the content on the page No. 13
Chapter 2 This chapter describes the programming procedure for MSP430 devices and the error messages you may encounter during the procedure. Topic Page 2.1 Software/Hardware Layers of the PRGS430 Environment . . . . . . . . . 2-2 2.2 Programming MSP430 Devices With the GUI . . . . . . . . . . . . . . . . . . . . 2-3 2.3 Command Line Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10 2.4 PRGS430.DLL—Description . . . . . . . . . . . . . . . . . .
Summary of the content on the page No. 14
Software/Hardware Layers of the PRGS430 Environment 2.1 Software/Hardware Layers of the PRGS430 Environment PC − Software GUI PRGS430.EXE PRGS430.INI CommandLine Function DEVICE.CFG PRGS430.DLL [Project] .INI RS232 Serial Programming Adapter PRGS430 JTAG Target Socket or Application MSP430 There are three ways to handle and communicate with the PRGS430 hardware: Using the graphical user interface (see Section 2.2) Using command line parameters (see Section 2.3) Using the PRGS430.dll (see S
Summary of the content on the page No. 15
Programming MSP430 Devices With the GUI 2.2 Programming MSP430 Devices With the GUI 2.2.1 Basic Procedure The following steps should be used to program the MSP430 devices: 1) Click on the Program Device icon during the installation-selected program group (default: ADT430). The MSP430 programmer dialog box appears. The status line at the bottom of the window shows the actual or the most recent activity (see Figure 2−1). The status line displays the message Connecting to adapter... until the progr
Summary of the content on the page No. 16
Programming MSP430 Devices With the GUI 2.2.2 Description of the MSP-PRGS430 GUI An MSP430 device is commonly programmed as follows: 1) Select the file that contains the data to program from the MSP430 programmer dialog box (see Figure 2−1). 2) Select the device. An error message appears on the screen if the device selected is different or not connected. 3) Set the required supply voltage, communication port COMx, and baud rate. The device configuration and memory type are selected automatically
Summary of the content on the page No. 17
Programming MSP430 Devices With the GUI Table 2−1.MSP430 Function Buttons and Descriptions (Continued) Button Name Sub-Functions Description Verify the data in the MSP430 device according to the selected option. By file A verification of the memory locations vs the selected object file is A verification of the memory locations vs the selected object file is performed. (By file and by device are the same functions.) By device V Verify erify By range Verify memory locations defined in the range fi
Summary of the content on the page No. 18
Programming MSP430 Devices With the GUI 2.2.3 Error Messages One of the following messages may show up if JTAG communication is not established correctly: If the MSP430 device to program can not be found, the message shown in Figure 2−2 appears. This problem can be caused by the PRGS430 not being connected to the hardware, the device not inserted or incorrectly inserted into the socket, or the device not powered. The problem could be that the PRGS430 is not connected to the hardware, the device
Summary of the content on the page No. 19
Programming MSP430 Devices With the GUI Figure 2−5. Data Error Operation 2-7
Summary of the content on the page No. 20
Programming MSP430 Devices With the GUI Table 2−2.Error Messages Error Type Error Message Communication Communication failed! Communication Adapter not connected! Communication Synchronization with adapter failed! Communication The present adapter is not an MSP-PRGS430! Communication Missing setting of V ! CC MSP430 Target not connected! MSP430 Wrong JTAG version! MSP430 PUC failed! MSP430 Wrong target! MSP430 Target fuse is blown! MSP430 Blown fuse failed! MSP430 Supply voltage to low! MSP430 F