Detailed Description Of Commands; General; Load Parameters - Texas Instruments MSP430 User Manual

Gang programmer
Hide thumbs Also See for MSP430:
Table of Contents

Advertisement

www.ti.com
Received
MSP-
GANG430
HDR
Firmware
Command
GANG430
responds on
80
Read Target
Selective
Set Target
80
V
CC
Select Image
80
3.5

Detailed Description of Commands

3.5.1 General

After the header byte HDR (0x80) and the command identification byte CMD, the frame length bytes L1
and L2 (which must be equal) hold the number of bytes following L2, excluding the checksum bytes CKL
and CKH.
Bytes A1, A2, A3, A4, LL, LH, and D1 to Dn are command specific. However, the checksum bytes CKL
(low byte) and CKH (high byte) are mandatory.
If the data frame is received correctly and the command execution is successful, the acknowledge byte
ACK is send back by the MSP-GANG430 set to DATA_ACK = 0x90. Incorrectly received data frames,
unsuccessful operations, and commands that are not defined are confirmed with a DATA_NAK = 0xA0.
The data frame should be sent to the MSP-GANG430 within one second after the synchronization
sequence (TX = 0x80, RX = 0x90).

3.5.2 Load Parameters

The Load Parameters command downloads to the MSP-GANG430 the information that the main process
needs for gang programming. It must be invoked before the first gang programming command. The
parameters are stored in the system flash memory.
Data bytes D1 to D6 specify the parameters, as follows:
D1: Flags for process control, in any combination
0x01: Executes erasure of info memory
0x02: Executes erasure of main memory
0x04: Executes erasure of protected info memory
0x07: Executes erasure of main and info memory (including protected info)
0x08: Executes programming of info memory
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
0x3F: Voltage in 100-mV steps (valid values are 18 to 36, and 0 for external supply)
0x80: Switch VCC_MSP off after programming
D3
0x01: Executes erase check of info memory
0x02: Executes erase check of main memory
0x04: Executes erase check of protected info memory
0x07: Executes erase check whole memory
SLAU101O – March 2003 – Revised May 2010
Table 3-1. Data Frame of Firmware Commands
CMD
L1
L2
A1
00
n
n
D1
3E
04
04
D1
50
06
06
D1
Copyright © 2003–2010, Texas Instruments Incorporated
(1) (2)
A2
A3
A4
LL
LH
D2
D3
D4
D2
D3
D4
00
00
00
Detailed Description of Commands
(continued)
D1
D2...Dn
CKL
CKH
D5
D6...Dn
CKL
CKH
CKL
CKH
00
00
CKL
CKH
Firmware
ACK
ACK
ACK
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msp-gang430

Table of Contents