slau358q.pdf - 第23页
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 NOT…

Programming MSP Flash Devices Using the MSP Gang Programmer
www.ti.com
22
SLAU358Q–September 2011–Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Operation
Figure 2-6 highlights several parts of the GUI. The drop-down menu in the Object in Image memory group
(top right) is used to select which image is used for programming, because up to 96 different images might
be available. In the same group, the Config. from Image option is enabled, meaning that all configurations
options, such as which devices are enabled or power options are being taken from the image.
Sometimes it is useful to use the basic files from an image, such as the MCU type and code files, but also
make a few minor modifications to test a different configuration. Figure 2-7 shows the additional
configuration options available when the Config. from Image button is disabled. These are high-lighted in
red and include which devices are enabled for programming, target V
CC
and current, interface,
communication, and security. However, these changes cannot be committed to the image. If the user
wishes to change the current image's configuration or code files then the image needs to be recreated
using the original project file and procedure described in Section 2.1.9.

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.