Support for the MSP430 device and the MSP-GANG430 is provided by the Texas Instruments Product Information Center (PIC). Contact information for the PIC can be found on the Texas Instruments web site at www.ti.com. Additional device-specific information can be found on the MSP430 web site at www.ti.com/msp430.
MSP-GANG430 can be brought out to each of the target devices via an MSP430-standard JTAG connector. The circuit could easily be modified to connect the signals to the target device pins directly (via a socket) if a traditional gang programmer is desired.
3. Attach the expansion board to the 25-pin Sub-D connector on the MSP-GANG430. The expansion board provides connectivity for 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’s PCB, and they are accessed via the JTAG signals.
Chapter 2 SLAU101O – March 2003 – Revised May 2010 Operation This chapter describes how to program MSP430 flash devices using the MSP-GANG430..........................Topic Page ..........Programming MSP430 Flash Devices Using the GUI ........Programming MSP430 Flash Devices in Stand-Alone Mode .....
1. Connect the MSP-GANG430 hardware and the targets as described in Section 1.3. 2. Click on the GANG430 icon located in the program group specified during installation of the software (the default group is ADT430). The MSP430 FLASH Gang Programmer GUI is displayed on the screen (see Figure 2-1).
Programs the image buffer into the target’s flash memory Verify Compares the target’s flash memory and the image buffer Makes MSP430 devices secure after successful completion of the selected Secure Device operations (permanently disables device access through JTAG) Supplied by...
Programming MSP430 Flash Devices Using the GUI www.ti.com 2.1.3 Status Messages Table 2-2 shows the status messages that can be displayed in the MSP-GANG430 GUI during operation. Table 2-2. Status Messages Status Type Status Message Executing main process... Erasing image buffer...
Programming MSP430 Flash Devices Using the GUI www.ti.com 2.1.4 Error Messages Table 2-3 shows the error messages that can be displayed in the MSP-GANG430 GUI when an error occurs during operation. Table 2-3. Error Messages Error Type Error Message ERROR: Unable to read Target! ERROR: Unable to open COM port −...
Section [User] The initial settings for the following parameters are in the [User] section and may be modified by the user. CaptionIndexed = 0 (default). The caption of the MSP-GANG430 GUI in the default state is MSP430 FLASH Gang Programmer.
Programming MSP430 Flash Devices Using the GUI www.ti.com Table 2-4. Values for MiscErrors MiscErrors Description Operation successful FATAL ERROR: Image memory could be corrupted or erased ERROR: Main process parameters not yet set ERROR: Could not set target voltage (VCCT) − MSP_VCC_IN pin connected? 2.1.6 Target Connector Functional Check...
Enter 0x010A (0x0002 + 0x0008 + 0x0100) into Set Signal and click Execute. Programming MSP430 Flash Devices in Stand-Alone Mode The MSP-GANG430 supports a stand-alone mode of programming the target MSP430 flash devices. The programming options for the MSP-GANG430 while it operates in stand-alone mode are configured using the GUI.
NOTE: The synchronization character is not part of the data frame described in Section 3.4. Data Frame The data frame format follows the TI MSP430 serial standard protocol (SSP) rules, extended with a preceding synchronization sequence (SS), as described in Section 3.3. The MSP-GANG430 is considered...
All numbers are bytes in hexadecimal notation. ACK is sent by the MSP-GANG430. The synchronization sequence (TX = 0x80, RX = 0x90) is not part of the data frame. It must precede every frame. HDR: DATA_FRAME = 0x80 means data frame expected in accordance with TI MSP430 serial standard protocol (SSP). CMD:...
0x10: Executes programming of main memory 0x18: Executes programming of info and main memory 0x20: Executes verification of info and main memory 0x40: Makes MSP430 devices secure 0x80: Executes programming of RAM memory D2: Flags for target supply voltage VCC_MSP...
GANG430.DLL Description www.ti.com GANG430.DLL Description GANG430.DLL communicates with the MSP-GANG430 programmer unit and the connected MSP430 device(s). GANG430.INI must be in the same directory as GANG430.DLL. The configuration of the MSP-GANG430 should be done with the following sequence. InitCom // Open communication port...
Page 39
Name of the file to be loaded (full path) or NULL if function is only called to set up the target device. lpszDeviceName Name of the device in file Gang430.ini. Take care of the <space> between MSP430 and Fxxx. Example lFuncReturn = GangLoadImage(FileName, "MSP430 F5529");...
Page 42
// executes programming of info and main memory F_VERIFY 0x0020 // executes verification of info and main memory F_SECURE_DEVICE 0x0040 // makes MSP430 devices secure F_PROGRAM_RAM 0x0080 // executes programming of ram memory F_ERASE_CHECK_INFO 0x0100 // executes erase check of info memory...
Recommendations for Target Connections www.ti.com Recommendations for Target Connections The following hardware connections are recommended when connecting the target MSP430 flash devices to the MSP-GANG430 without usage of the expansion board. • The VCC pins of all the targets must be tied together and connected to the positive terminal of the supply.
The programming procedure (handling of the software) is described in Chapter 1 Chapter • The connections from the MSP430 terminals must follow EMI rules, including short trace lengths and use of ground planes. Table 5-3. MSP-GANG430 Signal Levels Signal/Pin Signal/Pin Levels...
C1 should not exceed 2.2 nF. This applies to both TI FET interface modules (LPT/USB FET). The TEST/VPP pin is available only on MSP430 family members with multiplexed JTAG pins. See the device data sheet to determine pin availability.
CD-ROM that is supplied with the MSP430 Development Tools. In particular, new members of the MSP430 family are supported only by the latest version of the GANG430 software. Older devices can still be programmed with older software versions.
Page 79
CPU will not be released for normal operation during programming. Until this time, the options are to either change the MSP430 software according to above code example or to do the programming access through Spy-Bi-Wire instead of 4-wire JTAG.
Page 83
PROGRAMMER IMPORTANT NOTICE Texas Instruments (TI) provides the enclosed product(s) under the following conditions: This Programmer is intended for use for ENGINEERING DEVELOPMENT and PRODUCTION DEVICE PROGRAMMING PURPOSES and is not considered by TI to be a finished end-product fit for general consumer use.