slau358q.pdf - 第24页
Programming MSP Flash Devices Using the MSP Gang Programmer www.ti.com 24 SLAU358Q – September 2011 – Revised October 2019 Submit Documentation Feedback Copyright © 2011–2019, Texas Instruments Incorporated Operation 2.1…

www.ti.com
Programming MSP Flash Devices Using the MSP Gang Programmer
23
SLAU358Q–September 2011–Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Operation
NOTE: This figure shows the From Image Mode (top left corner). The Config. from Image option is disabled in this
example, allowing the user to change various but not all configuration settings from the image. The
configuration options that can be changed are highlighted in red. One of the options that cannot be changed,
for example, is the target processor type.
Figure 2-7. Main MSP Gang Programmer Dialog GUI, From Image Mode and Custom Configuration
Enabled

Programming MSP Flash Devices Using the MSP Gang Programmer
www.ti.com
24
SLAU358Q–September 2011–Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Operation
2.1.3 Programming From Script
Use this option to create a script file to automate more complicated programming procedures. Scripts can
create functions that open message boxes, adjust voltage, target devices, change code files, and any
other sequences of reconfigurations up to a total of 1000 commands. Repeated series of instructions can
be encompassed into functions for easier programming. The stack supports a call depth of up to 50
CALLs (CALL inside CALL inside CALL, and so on), which is sufficient for most nonrecursive programs.
Figure 2-8 shows the main dialog GUI where the From Script option is selected for programming (top left
corner). A script file is selected using the Open Script File button and it specifies all configuration options,
and the code files to be used for programming. A script can be created using any text editor and saved in
a simple text file. Follow these guidelines to create a script.

www.ti.com
Programming MSP Flash Devices Using the MSP Gang Programmer
25
SLAU358Q–September 2011–Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Operation
NOTE: This figure shows the From Script mode (see the Mode section near the top left corner). A script file is
selected using the Open Script File button and it specifies all configuration options, and the code files to be
used for programming. In addition, the script can call individual functions, such as Program or Verify, in the
order specified by the programmer.
Figure 2-8. Main MSP Gang Programmer Dialog GUI, From Script
2.1.3.1 Script Limitations
• Up to a total of 1000 command lines can be used. Empty lines and comments are ignored.
• The stack supports a call depth of up to 50 CALLs (CALL inside CALL inside CALL, and so on).