Commands
3.1
Commands
The MSP-GANG430 can be controlled via firmware commands received through its RS-232 serial port.
The following firmware commands are supported:
•
Load Parameters
•
Start
•
Transmit Diagnostics
•
Erase Image
•
Load Image Block
•
Load Image Checksum
•
Erase Firmware
•
Load Firmware Block
•
Finalize Firmware
•
Select Baud Rate
•
Execute Self Test
•
Set Signals (at target connector)
•
Read Target Selective
•
Write Target Selective
•
Set Target V
CC
•
Select Image
3.2
Firmware Interface Protocol
The MSP-GANG430 supports the following UART communication protocol:
•
Baud rates from 9600 to 115200 baud in half duplex mode. The default baud rate at startup is 115200
baud, and is the recommended baud rate.
•
One start bit, eight data bits, even parity bit, and one stop bit
•
Software handshake by (not)acknowledge character
3.3
Synchronization Sequence
To synchronize with the MSP-GANG430, the host serial handler transmits a SYNC character (0x80) to the
MSP-GANG430. The MSP-GANG430 acknowledges successful reception of the SYNC by responding
with a DATA_ACK character (0x90). If the SYNC is not received correctly, a DATA_NAK character (0xA0)
is sent back. This sequence is required to establish the communication channel and/or react immediately
to line faults.
NOTE: The synchronization character is not part of the data frame described in
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
the receiver in
Table
The redundancy of some parameters results from the adaptation of the SSP or to save boot ROM space.
24
Firmware
3-1.
Copyright © 2003–2010, Texas Instruments Incorporated
Section
Section
3.3. The MSP-GANG430 is considered
SLAU101O – March 2003 – Revised May 2010
www.ti.com
3.4.