Select Baud Rate - Texas Instruments MSP430 User Manual

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

Advertisement

Detailed Description of Commands
Data bytes D1 to D4 hold the parameters, as follows:
D1:
0x80: VPP to TEST
0x00: VPP to TDI
D2: Combination of
0x01: Device is Spy-Bi-Wire capable
0x02: Device has X-CPU
D3: Device ID, corresponds to DevId in GANG430.ini file, LSByte
D4: Device ID, corresponds to DevId in GANG430.ini file, MSByte
D5: Byte 0x0D from ROM device ID, corresponds to DevIdxD
D6: Reserved, should be 0x00
For each memory segment of the device (main memory is treated as one segment), a set of 8 bytes
indicating memory type, start address, length, and checksum follows:
D7: Memory type
0x06: Calibration data
0x05: Protected Info
0x03: Main
0x02: Info
0x01: RAM
0x00: Terminates the list of memory segment descriptions
D8
0x01: Indicates that the memory segment is empty (= 0xFFFF)
0x00: Indicates that the memory segment is not empty
D9: Segment start address, bits 23 to 16
D10: Segment start address, bits 15 to 8
D11: Segment start address, bits 7 to 0
D12: Segment length, bits 23 to 16
D13: Segment length, bits 15 to 8
D14: Segment length, bits 7 to 0
D15: Checksum (PSA) for memory segment, LSByte
D16: Checksum (PSA) for memory segment, MSByte
The list must be terminated by a single byte containing 0x00.
D7 to D14 correspond to the MemDefx=... entries in the GANG430.INI File.
The pseudo signature analysis (PSA) is computed using the following algorithm (using the C language):
for (PSA = StartAddr - 2, i = 0; i < Length; i++) { if (PSA & 0x8000) PSA = ((PSA ^
0x0805) << 1) | 1; else PSA <<= 1; PSA ^= Data[i]; }
Where StartAddr is the beginning address of the memory region, and length is the length of the memory
region data, in words.

3.5.11 Select Baud Rate

The Select Baud Rate command sets the rate of the serial communications. The default is 115200 baud.
Baud rate index 0 to 4, representing the baud rate.
0: 9600 baud
1: 19200 baud
2: 38400 baud
3: 57600 baud
4: 115200 baud
The Select Baud Rate command takes effect (i.e., changes the baud rate) immediately.
30
Firmware
Copyright © 2003–2010, Texas Instruments Incorporated
SLAU101O – March 2003 – Revised May 2010
www.ti.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msp-gang430

Table of Contents