Texas Instruments MSP-PRGS430 User Manual
Texas Instruments MSP-PRGS430 User Manual

Texas Instruments MSP-PRGS430 User Manual

Msp430 microcontroller serial programming adapter

Advertisement

Quick Links

MSP430™ Microcontroller Serial Programming Adapter
This document describes how to use the MSP430™ Microcontroller Serial Programming Adapter
(MSP430-PRGS430). Instructions include how to install the software and hardware for the programmer
and how to use the programmer to read to and write from MSP MCUs.
1
1.1
1.2
.....................................................................................................................
2
2.1
2.2
2.3
2.4
....................................................................................................................
3
3.1
.................................................................................................................
3.2
3.3
3.4
3.5
3.6
3.7
4
4.1
4.2
..................................................................................................................
5
1
2
3
4
5
6
7
.....................................................................................................................
8
9
10
11
12
13
14
Intel-Hex Object Format
15
16
SLAU048I - August 2000 - Revised October 2018
Submit Documentation Feedback
Contents
.......................................................................................................
..............................................................................................
.............................................................................................
..........................................................................................
.......................................................................................
......................................................................................................
...............................................................................
.........................................................................................................
..........................................................................................
................................................................................................
List of Figures
.....................................................................................................
...............................................................................................
............................................................................................
.........................................................................................
..................................................................................................
...............................................................................
...............................................................................................
.................................................................................
.............................................................................................
...................................................................................................
........................................................................................................
........................................................................................................
Copyright © 2000-2018, Texas Instruments Incorporated
SLAU048I - August 2000 - Revised October 2018
..............................................
..................................................................
.............................................................
..................................................................
.......................................................................
..................................................
MSP430™ Microcontroller Serial Programming Adapter
User's Guide
........................
.....................................
.....................................
3
3
3
5
5
6
11
14
26
26
26
27
29
29
30
31
32
32
33
33
3
4
5
6
9
9
9
9
27
27
29
30
31
32
34
35
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MSP-PRGS430 and is the answer not in the manual?

Questions and answers

Summary of Contents for Texas Instruments MSP-PRGS430

  • Page 1: Table Of Contents

    Programming Adapter Target Connector Signals ................MSP-PRGS430 Circuit Diagrams ..............Location of Components on MSP-PRGS430 ......Interconnection of MSP-PRGS430 to OTP or EPROM-Based MSP430 Devices ........Interconnection of MSP-PRGS430 to Flash-Based MSP430 Devices ......................Hex Object Format ..................Intel-Hex Object Format ....................
  • Page 2 Target Connector Signal Functions ..................Programming Adapter Signal Levels Trademarks MSP430 is a trademark of Texas Instruments. All other trademarks are the property of their respective owners. MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright ©...
  • Page 3: Installation And Setup

    MSP430 family of microcontrollers. Installing the Software To install the MSP-PRGS430 software, perform the following steps. 1. To ensure that you are using the latest version of the MSP-PRGS430 software, download the latest software from http://www.ti.com/lit/zip/slac029 and extract the installation executable (PRGS430_Rxxx.exe).
  • Page 4: Serial Programming Adapter

    Installation and Setup www.ti.com Figure 2. Serial Programming Adapter MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 5: Operation

    2.4). This is the fastest way if the PRGS430 is used in an in- system program and test environment. SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 6: Programming Msp430 Devices With The Gui

    5. Click the Program button to start programming. The status line at the bottom of the window shows the actual or most recent activity (see Figure Figure 4. MSP430 Programmer Dialog Box MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 7: Msp430 Function Buttons And Descriptions

    Operation www.ti.com 2.2.2 Description of the MSP-PRGS430 GUI To program an MSP430 MCU: 1. Select the file that contains the data to program from the MSP430 programmer dialog box (see Figure 2. Select the device. An error message appears on the screen if the device selected is different or not connected.
  • Page 8 • Erase Flash by Device Instead, "Erase Flash by File" or "Erase Flash by Range" should be used. MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 9: Communication Error Box

    When a read error is detected in the input file, such as a format error, the following message is displayed (see Figure Figure 8. Data Error SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 10: 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 VCC! MSP430 Target not connected! MSP430 Wrong JTAG version! MSP430 PUC failed!
  • Page 11: Command Line Options

    Selects supply voltage MSP_VCC of the programming adapter. The voltage is supplied between GND /SVolt:x.x and MSP VCC, for example, /Svolt: 3.0. SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 12 The programming adapter is connected to ComPort 2. The baud rate is not passed with the command line, so the setting in the PRGS430.ini file is used. MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 13 Communication failed! Target not connected! Adapter not connected! Wrong JTAG version! PUC failed! Synchronization with adapter failed! The present adapter is not an MSP-PRGS430! Unknown target! Wrong target! No target selected! Target fuse is blown! Blow fuse failed! Missing setting of VCC!
  • Page 14: Prgs430.Dll Description

    InitCom initializes (opens) the given communications port, establishes communication with the PRGS430 hardware, and sets the baud rate of the MSP-PRGS430. If successful, the MSP-PRGS430 is reset and is set to 0.0 V (the voltage should be set after the first user action to validate the correct value).
  • Page 15 See the device-specific data sheet for further information on preprogrammed calibration data memory locations. SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 16 The function EraseCheck() simply uses PatternCheck(), with 0xFFFF as pattern. EraseCheck(long int wStart, long int wLength) return PatternCheck(wStart, wLength, 0xFFFF); Example lFuncReturn = EraseCheck(long:0xF000, long:0x1000) MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 17 The function returns success or the first address with mismatching data. Example lFuncReturn = VerifyData(long:0xF000, long:0x1000, void* lpData) SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 18 The function returns success or the first address with mismatching data. Example lFuncReturn = VerifyFileRange("test.txt", long:0, long:0xF000, long:0x1000) MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 19 Pointer to the Data to be programmed Flags The bits in Flags control the operation of ProgramData(). Example lFuncReturn = ProgramData(long:0xF000, long:0x1000, void* lpData) SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 20 If an erase or erase-check function reports an error, the function ProgramFile() is aborted before programming is started. MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 21 Example lFuncReturn = ReadOutData(long:0xF000, long:0x1000, void* lpBuffer) SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 22 If the WITH_RELEASE option is selected, the device is released from the JTAG access after the reset. Example lFuncReturn = Reset(long:5) MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 23: Setnotificationwnd Status Codes

    Erase checking target STATUS_PATTERNCHECK Pattern checking target STATUS_VERIFY Verifying target STATUS_PROGRAM Programming target STATUS_READOUT Reading target out STATUS_BLOWFUSE Blowing fuse SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 24 The bits in Flags control the operation of AccessSFR() iFlags SFR_READ (0x00) SFR_Write 0x01) Example IFuncReturn = AccessSFR(long:0x0020, &IpData, 0) MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 25: Return Values And Error Codes

    Pattern checking target STATUS_VERIFY Verifying target STATUS_PROGRAM Programming target STATUS_READOUT Reading out target STATUS_BLOWFUSE Blowing fuse ERR_READOUT_LOCKED −28 Read prohibited SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 26: Hardware

    Because ambient light contains the correct wavelength for erasure, keep the transparent window covered after the device is programmed. MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 27: Programming Adapter Target Connector Signals

    Figure 9. 25-Pin Sub-D at Programming Adapter Figure 10. 14-Pin Connector at End of Interconnect Cable SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 28: Target Connector Signal Functions

    TDO/TDI VSS or VCC_MSP XOUT VSS or VCC_MSP RST/NMI VSS or VCC_MSP Test/VPP VSS or VCC_MSP or VPP MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 29: Msp-Prgs430 Circuit Diagrams

    Hardware www.ti.com MSP-PRGS430 Circuit Diagrams Section 5 for the MSP-PRGS430 circuit diagrams. Location of Components on MSP-PRGS430 Figure 11 shows the locations of the components. NOTE: Do not use J2 pin 9 as RST/NMI pullup. Figure 11. MSP-PRGS430 Components SLAU048I – August 2000 – Revised October 2018 MSP430™...
  • Page 30: Interconnection Of Msp-Prgs430 To Otp Or Eprom-Based Msp430 Devices

    Figure 12 shows the connections required to program OTP (MSP430Pxxx) and EPROM (MSP430Exxx) based MSP430 MCUs with the MSP-PRGS430 programming adapter. Consult the device data sheet for the specific device location of the supply and JTAG pins. Ensure that all positive and negative supply pins are connected together.
  • Page 31: Interconnection Of Msp-Prgs430 To Flash-Based Msp430 Devices

    Figure 13 shows the connections required to program flash-based MSP430 MCUs (MSP430Fxxx) with the MSP-PRGS430 programming adapter. Consult the device data sheet for the specific device location of the power supply and JTAG pins. Ensure that all positive and negative power supply pins are connected together.
  • Page 32: Hex Object Format

    Record type 01, the end-of-file record, also begins with the colon (:) start character. The colon is followed by the byte count, address, record type (01), and sumcheck. Figure 14. Intel-Hex Object Format MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 33: Ti-Txt File Format

    The termination tag q indicates end-of-file is mandatory. Schematics This following figures show the schematic diagrams for the serial programming adapter. SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 34 Schematics www.ti.com Figure 15. Schematics (1 of 2) MSP430™ Microcontroller Serial Programming Adapter SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 35: Schematics (2 Of 2)

    Schematics www.ti.com Figure 16. Schematics (2 of 2) SLAU048I – August 2000 – Revised October 2018 MSP430™ Microcontroller Serial Programming Adapter Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 36 NOTE: Page numbers for previous revisions may differ from page numbers in the current version. Changes from July 27, 2009 to October 8, 2018 ......................Page ................• Formatting and editorial changes throughout document Revision History SLAU048I – August 2000 – Revised October 2018 Submit Documentation Feedback Copyright © 2000–2018, Texas Instruments Incorporated...
  • Page 37 TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products. TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2022, Texas Instruments Incorporated...

Table of Contents