This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] Generating and Loading MSP430 Binary Files

How to Generate MSP430 Binary Files

Using IAR

1. Select the project for which the binary files are to be generated and then Open Project -> Options

2. In the Options window select the category Linker

Under the Output tab, check the box “Allow C-SPY specific extra output file”.

Next, under the Extra Output tab, check the box “Generate extra output file” and then select the binary file format from the "Output format" drop box. In the figure below, “msp430-txt” option is selected. Selecting this option generates a .txt binary file.

3. Then click OK to close the Options window.

4. Next select Project -> Rebuild All to generate the binary file. In this case, the .txt file that is generated can be found under the “Output” folder of the project. The file can be located under the folder path: …Project Folder\Debug\Exe\

Using CCS v5.x

1. Select the project for which the binary files are to be generated and then Open Project -> Properties2. In the Properties window select the category Build. Under the Build Steps tab, select the binary file format from the drop box next to "Apply Predefined Step". Either the TI-TXT or INTEL-HEX formats can be selected. In the figure below TI-TXT file format is selected. Selecting this option generates a .txt binary file.3. Then click OK to close the Properties window.4. Next select Project -> Clean.. and Build Project to generate the binary file. In this case, the .txt file that is generated can be found under the “Debug” folder of the project. The file can be located under the folder path: ….Project Folder\Debug\

Using CCS v6.x

1. Open "Project" -> "Properties" -> "Build" -> "MSP430 Hex Utility", check the "Enable MSP430 Hex Utility" option.


2. After enabling the MSP430 Hex Utility, go to Open "Project" -> "Properties" -> "Build" -> "MSP430 Hex Utility" -> "Output Format Options", choose "Output TI-TXT hex format (--ti_txt)" for "Output format".NOTE: When generating an output file in Intel-hex format, in addition to selecting this format one also needs to set the "Specify data ordering (endianess) (--order, order)" parameter to "MS", and the "Specify rom width (--romwidth, -romwidth)" to "16" in the hex utility's "General Options" configuration screen.


Download Binary files based on FET-Pro430

Software Setup

Download the free PC GUI tool from Elprotronic (MSP430 3rd party tools manufacturer). The tool can be downloaded from the following link: Download Now. For downloading the latest tool version, visit www.elprotronic.com/download.html and look for FET-Pro430 Lite Software
The Lite version of the Elprotronic tool supports the following binary file formats:
Open the PC GUI and select appropriate micro-controller group and device
Select the binary file that needs to be downloaded onto the device using “Open Code File ->” button.
Pressing the AutoProg button on the GUI would download the binary file onto the device.
Note: To change between JTAG and SBW options in the GUI tool, open Setup -> Connection/Device Reset and select between JTAG (4 wires) or Spy Bi Wire (2 wires) options in the Target's Connection/Reset Options window.

 

**Attention** This is a public forum