MSP430F149 uses JTAG and BSL to download configuration diagram
[Copy link]
1. Use JTAG to download the configuration diagram
1. Use IAR to open a new or existing project, as shown in the figure below.
Right-click *****-Debug and select Option, and a dialog box as shown below will appear.
2. Select the General Options column in the Category option column, and select the MSP430 model used in the Device column under Target on the right. Since I am using MSP430F149, the configuration is as shown in the figure below.
3. Select the Linker item in the Category option column. The configuration result is shown in the figure below.
4. Select the Debugger item in the Category option column, and select FET Debugger in Driver. The specific configuration is shown in the figure below.
5. Select the FET Debugger item in the Category option column, and select the following configuration results under the Connection option in Setup, as shown in the figure below.
In addition, for the compiled files, you can use a small software to realize the download function. The software name is FET-Pro430_v2.9. The download address is:
Click the button below and select the file you want to download, which is usually ****.d43 file.
After clicking, find the file you need to download as shown below:
The selected status is as follows:
Click the operation bar on the right side of the window and select the AUTO PROG button to complete the download, as shown below:
2. Configuration method when using BSL to download:
1. Similar to the above configuration, first select the MCU model, as shown below:
2. In the Output of the Linker option, check the option in Output file, and pay attention to rewrite the file format to ***.txt format, and check the others below, as shown in the following figure:
3. Start the BSL download software, as shown below:
4. After starting the BSL software, you can see the interface shown below;
5. Configure the serial port number. Configure this item according to the serial port number you set when installing the software. The specific configuration varies according to your personal configuration:
6. Since I configured the COM2 port when installing the driver, I configured it as the COM2 port, and then clicked "Load Burning File" in the window. A dialog box for selecting the burning file will appear as shown below. Select the file you want to download and click OK!
7. The effect diagram after selecting the burning file is shown in the figure below. After clicking the "Execute" button, if there is no problem with your hardware configuration, the file will be downloaded to the MSP430 microcontroller!
|