slau358q.pdf - 第12页

Hardware Installation www.ti.com 12 SLAU358Q – September 2011 – Revised October 2019 Submit Documentation Feedback Copyright © 2011–2019, Texas Instruments Incorporated Introduction CAUTION When an external power supply …

100%1 / 142
www.ti.com
Driver Installation
11
SLAU358QSeptember 2011Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Introduction
1.2 Driver Installation
To install the required drivers:
1. Connect the MSP-GANG programmer to a PC USB port. When the Windows wizard starts, follow the
instructions provided by wizard. When the wizard asks for the USB driver location, browse to the CD-
ROM drive. Drivers are in the main CD-ROM directory location and also in the following directory:
C:\Program Files\Texas Instruments\MSP-GANG\Driver
2. If the RS-232 interface is used for communication with MSP-GANG, the USB driver is not required.
Run the Windows Device Manager to find for the COM port number to use with communication through
RS-232.
1.3 Hardware Installation
To install the MSP Gang Programmer hardware:
1. Attach the expansion board (Gang Splitter) to the 100-pin connector on the MSP Gang Programmer.
The expansion board connects up to eight targets using the included 14-pin cables. The target
MSP430 flash devices can be in stand-alone sockets or can be on an application PCB. The MSP Gang
Programmer can connect to these devices through JTAG, SBW, or BSL signals.
If the target device is an MSP432 MCU, use the adapter kit (MSP-GANG-432ADPTR) to convert from
14-pin JTAG connectors to 20-pin Arm connectors.
2. Connect the MSP Gang Programmer hardware to the computer USB port using a USB A-B cable.
The USB port (5 V, 0.5 A) can supply the programmer.
If the computer does not have a USB port, connect the programmer to a serial port (COM1 to
COM255) using a 9-pin Sub-D connector.
3. If the MSP Gang Programmer is not connected through the USB port, or if the total current
consumption of the programmed target devices exceeds 0.3 A, connect an external power supply to
the programmer.
NOTE: External Power Supply
An external power supply must provide a voltage between 6 V and 10 V DC and must
provide a minimum current of 800 mA. The center post of the power supply connector on the
MSP Gang Programmer is the positive-voltage terminal. The programmer indicates the
status of the power supply connection by using system LEDs and the LCD back light.
NOTE: Maximum Signal Path Length: 50 cm
The maximum length of a signal path between the 14-pin JTAG or SBW connector on the
Gang Splitter and the target device is 50 cm.
4. The MSP Gang Programmer can supply power at a specified voltage V
CC
to each target device (pin 2
on each 14-pin JTAG, SBW, SWD, or BSL cable). The maximum current for each target device is
programmable to 30 mA or 50 mA. If the higher current limit is selected (50 mA) and eight target
devices are connected, then the total current to all devices can reach up to 400 mA. In this case, the
connect an external power supply to the MSP Gang Programmer. The USB cannot supply this current,
because the USB port maximum current is 0.5 A, and the MSP Gang Programmer uses 150 mA,
leaving 350 mA for the target devices.
Hardware Installation
www.ti.com
12
SLAU358QSeptember 2011Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Introduction
CAUTION
When an external power supply is used to power target devices, disconnect V
CC
from the targets to avoid power-supply conflicts that could potentially damage
the MSP Gang Programmer and the target devices.
When target devices are powered from an external power supply, connect the
V
CC
from the target device to V
extin
(pin 4) on the JTAG, SBW, SWD, or BSL
connectors. The MSP Gang Programmer uses this voltage to detect the
presence of an external power supply.
Set the desired V
CC
level in the MSP Gang Programmer to the same voltage
that powers the target device. This information is mandatory to provide correct
I/O levels for the TMS, TCK, TDI, TDO, and RST signals. If the wrong V
CC
is
provided, then the I/O levels between the programmer and target devices can
be too low or too high, and communication can be unreliable.
5. The MSP Gang Programmer can be supplied from an external power supply connected to the DC
connector or through a gang splitter (not populated J10 connector). Because the J10 and DC
connectors are connected in parallel, make sure that only one connector provides an external power
supply to the MSP Gang Programmer.
13
SLAU358QSeptember 2011Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Operation
Chapter 2
SLAU358Q September 2011 Revised October 2019
Operation
This chapter describes how to use the MSP Gang Programmer to program target devices. Various modes
of operation, which allow the user to choose the most convenient method of programming, are described.
In addition, this chapter describes the various windows that are used to configure the programming
procedure for a specific target device. The explanations in this chapter assume that the user has properly
installed the MSP Gang Programmer hardware and software as described in Chapter 1.
2.1 Programming MSP Flash Devices Using the MSP Gang Programmer
The MSP Gang Programmer is capable of quickly and reliably programming MSP flash devices using an
RS-232 or USB interface. There are four ways to use the programmer to achieve this task and these
include:
Interactive
From Image
From Script
Stand Alone
The Interactive mode is selected by default, and is the easiest to get started with, because it requires the
least amount of preparation. After the user has mastered the Interactive mode it can be used to create
images and script files, which can then be used with the From Image and From Script modes,
respectively. Images and scripts are ready-to-go setups than can run with minimal user input. They are
very useful for repetitive programming, for example in a production environment, because they ensure
consistency (because of the re-use of images or scripts, we highly encourage the user to thoroughly test
their images or scripts for correctness before committing them to production). The MSP Gang Programmer
can also be run in Standalone mode to program target devices without a PC. To do this, first create an
image to use for programming, and then save it to internal memory of the MSP Gang Programmer.
Creating images is described in Section 2.1.9.
The following sections describe how to use these modes of operation.