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

www.ti.com
Programming MSP Flash Devices Using the MSP Gang Programmer
43
SLAU358Q–September 2011–Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Operation
NOTE: During project creation, the user can select to protect project information using various methods.
Figure 2-19. Image File Security Options
1. Any PC – Configuration can be opened on any computer using MSP Gang Programmer software. It
can be used for programming only.
2. Any PC – Password protected – Configuration can be opened on any computer using the MSP Gang
Programmer software, but only after the desired password has been entered.
3. Selected PC – Hardware Fingerprint number – Image can be opened only on the dedicated
computer with the same hardware fingerprint number as the number entered in the edited line above.
Figure 2-20 shows a window with the hardware fingerprint number. An example usage scenario would
involve calling an intended user to provide the hardware fingerprint number of their computer and
entering it within this configuration window. This restricts opening this image to only the dedicated
computer running MSP Gang Programmer software.
NOTE: The fingerprint can be used to secure the project where, for example, only a computer with a matching
hardware fingerprint can be used to view and edit the project.
Figure 2-20. Hardware Fingerprint of Computer in Use

Programming MSP Flash Devices Using the MSP Gang Programmer
www.ti.com
44
SLAU358Q–September 2011–Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Operation
The image file can be copied to internal MSP Gang Programmer memory and used for programming
target devices. Select the desired image number in the GUI and press the Load Image from File button
(see Figure 2-1). This selected image is subsequently be used for programming target devices.
2.1.10 Programming From Image File
An image file can be used to program target devices from a self-contained read-only file that has all the
necessary configuration options and code files already included. By selecting the "From Image File" Mode
you can use an image file created using the steps described in Section 2.1.9. If the image is password
protected you are prompted to enter the password before you can use the image. Alternatively, if the
image is restricted to be used on a specific PC you are unable to use the image unless your PC matches
the hardware fingerprint (for instructions on how to use images from MSP Gang Programmer internal
memory see Section 2.1.2).
Figure 2-21. Programming From Image File

www.ti.com
Programming MSP Flash Devices Using the MSP Gang Programmer
45
SLAU358Q–September 2011–Revised October 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Operation
Figure 2-22. Password for Image File
2.1.11 Programming From SD Card
The MSP Gang Programmer can program target devices with an image loaded from an external SD card.
To program from an external SD card, copy a binary file (".mspgangbin") created using steps described in
Section 2.1.9 to the root directory of the SD card (preserve the original extension of ".mspgangbin"). If
multiple binary files are present in the root directory of the SD card, the first one found is used (the first
one found is not necessarily the first one alphabetically). To ensure that the desired binary file is used,
verify that only one binary file with the proper extension .mspgangbin is present in the root directory. The
name of the selected file is displayed on the LCD screen of the MSP Gang Programmer.
When the SD card is connected to the MSP Gang Programmer, internal memory is disabled and an image
can only be read from the SD card. This mechanism has been deliberately implemented to aid in
production because inserting an SD card to the MSP Gang Programmer leaves users with only one option
for programming a target device and, therefore, less possibility for misconfiguration errors.
2.1.12 File Extensions
MSP Gang Programmer software accepts the following file extensions:
Code hex files
*.txt Texas Instruments
*.s19,*.s28,*.s37 Motorola
*.hex Intel
*.a43 Intel hex format with extensions specified by IAR
Image files
*.mspgangbin binary file, used for saving data in SD card
*.mspgangimage image file, can be password protected for distribution
Script files
*.mspgangsf script file
Project configuration files
*.mspgangproj keep all configuration, file names, and data for used project