slau358q.pdf - 第75页

www.ti.com Detailed Description of Commands 75 SLAU358Q – September 2011 – Revised October 2019 Submit Documentation Feedback Copyright © 2011–2019, Texas Instruments Incorporated Firmware 3.5.4.10 Display Message on LCD…

100%1 / 142
Detailed Description of Commands
www.ti.com
74
SLAU358QSeptember 2011Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Firmware
3.5.4.3 Read Info Memory From MSP-GANG Command
Tx -> 3E 41 4 4 A1 0 0 0 CKL CKH
Rx -> 80 0 80 80 D1 ... D128 CKL CKH
NOTE: Do not use this command. This command is used by the API-DLL and GUI only.
3.5.4.4 Write to MSP-GANG Info Memory Command
Tx -> 3E 42 84 84 A1 0 80 0 D1 ... D128 CKL CKH
Rx -> ACK
NOTE: Do not use this command. This command is used by the API-DLL and GUI only.
3.5.4.5 Verify Access Key Command
Tx -> 3E 44 4 4 0 0 0 0 CKL CKH
Rx -> ACK or NACK
NOTE: Do not use this command. This command is used by the API-DLL and GUI only.
3.5.4.6 Write to Image Block Command
Tx -> 3E 43 n n A1 A2 A3 0 –6 0 D1 ... Dn-6 CKL CKH
Rx -> ACK or NACK
The Write to Image Block command loads the data bytes into the image buffer of the MSP-GANG. Do not
use this function in your application. Use MSP-GANG GUI and MSP-GANG DLL for writing data into the
internal image buffer.
3.5.4.7 Verify Image Check Sum Command
Tx -> 3E 45 08 08 A1 A2 A3 0 LL LH D1 D2 CKL CKH
Rx -> ACK or NACK
The Verify Image Check Sum command verifies the image check sum of all written image contents. Do
not use this function in your application. Use MSP-GANG GUI and MSP-GANG DLL for writing and
verifying data in the internal image buffer.
3.5.4.8 Read Image Header Command
Tx -> 3E 47 6 6 A1 A2 0 0 n 0 CKL CKH
Rx -> 80 0 n n D1 ... Dn CKL CKH
NOTE: Do not use this command. This command is used by the API-DLL and GUI only.
3.5.4.9 Disable API Interrupts Command
Tx -> 3E 4C 4 4 R R R R CKL CKH
Rx -> ACK
NOTE: Do not use this command. This command is used by the API-DLL and GUI only.
www.ti.com
Detailed Description of Commands
75
SLAU358QSeptember 2011Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Firmware
3.5.4.10 Display Message on LCD Display Command
Tx -> 3E 54 n+4 n+4 A1 A2 n 0 D1 ... Dn CKL CKH
Rx -> ACK
NOTE: Do not use this command. This command is used by the API-DLL and GUI only.
3.5.4.11 Set IO State Command
Tx -> 3E 4E 0C 0C VL VH 08 00 D1 D2 D3 D4 D5 D6 D7 D8 CKL CKH
Rx -> ACK
Modify static levels on the I/O pins (JTAG lines).
Vcc V
CC
level in mV ( V
CC
= VH × 256 + VL)
D1 Open destination buffer for output and transferred data for each target
0 = none
1 = TDI (target1 to target8)
2 = TDOI (target1 to target8)
3 = TMS (target1 to target8)
4 = RST (target1 to target8)
5 = BSL-RX (target1 to target8)
D2 data transferred to the buffer above
b0 to b7 target1 to target8
D3 output enable bits: 0 = high impedance, 1 = output
b2 (0x04) common RST the same state for all eight targets (Note: if the RST buffer above is
selected, then this state is ignored)
b3 (0x08) common TEST the same state for all eight targets
b4 (0x10) common TCK the same state for all eight targets
b5 (0x20) common TMS the same state for all eight targets (Note: if the TMS buffer above is
selected, then this state is ignored)
D4 output level on all targets: 0 = LOW, 1 = HIGH
b2 (0x04) common RST the same level for all eight targets (Note: if the RST buffer above is
selected, then this state is ignored)
b3 (0x08) common TEST the same level for all eight targets
b4 (0x10) common TCK the same level for all eight targets
b5 (0x20) common TMS the same level for all eight targets (Note: if the TMS buffer above is
selected, then this state is ignored)
D5 V
CC
enable bits to each targets
b0 to b7 target1 to target8
D6 I
CC
HI enable: 0 = disable, 1 = enable
D7 spare
D8 spare
Example 1
Generate a short RST pulse on target 1 only and force RST level LOW on targets 2 to 5 and RST level
HIGH on targets 6 and 7. V
CC
on targets 1 to 7 is 3.3 V ( 0x0CE4) and on target 8 is 0 V (disabled).
Tx -> 3E 4E 0C 0C E4 0C 08 00 04 60 00 00 7F 00 00 00 CKL CKH
then
Tx -> 3E 4E 0C 0C E4 0C 08 00 04 61 00 00 7F 00 00 00 CKL CKH
Detailed Description of Commands
www.ti.com
76
SLAU358QSeptember 2011Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Firmware
Example 2
Generate a short RST pulse on all targets. V
CC
on targets 1 to 7 is 3.3 V ( 0x0CE4) and on target 8 is 0 V
(disabled).
Tx -> 3E 4E 0C 0C E4 0C 08 00 00 00 04 00 7F 00 00 00 CKL CKH
then
Tx -> 3E 4E 0C 0C E4 0C 08 00 00 00 04 04 7F 00 00 00 CKL CKH