1669 views|0 replies

171

Posts

0

Resources
The OP
 

[Domestic chip AGM AG32VF407]-03-Compile and configure JLINK and download the program [Copy link]

 

Last time I mentioned that you can use the interrupt entry command to compile. Today I carefully read the manual and found that you can also use the compile option to complete the compilation. The specific operations are as follows

First, let's change the board model, because different boards will have different compiled content

Now we find the chip type line in the INI file and modify it to 407 (as shown in the figure)

Then we select the PlatformIO icon and select -Dev->build to complete the compilation, which saves the trouble of entering commands.

The compilation result shows success, and then we start to download and configure JLINK. It is mentioned in the AG32 Getting Started Manual that we need to install a plug-in zadig-2.7.exe to use Jlink. This plug-in is located in the SDK directory. Before installing the plug-in, we must first ensure two things

1: The Jlink driver is installed normally and can be used normally.

2: Before installing the plug-in, Jlink must be connected to the computer.

3: Ensure that the development board is powered on normally.

After ensuring the above three steps, we start installing the plug-in.

There is also the latest 2.8 driver here, and we can directly install the 2.8 software here.

We follow the above steps, first select Jlink, then select the Jlink driver version, then select USB, and then click relpace river on the left.

The entire installation process will take several minutes, depending on the performance of the computer. After completion, there will be the following prompts

After the installation is successful, just close it.

Then check the ini configuration file under VSCOD to see if the downloaded configuration is consistent.

Then there are two ways to burn: the first is the command line mode, enter the command in the terminal that opens:

After execution, the project will be recompiled and downloaded.

The second method is the key option method:

This method can also be used to complete the download. It is relatively convenient because you don't need to enter command lines or worry about typing the wrong command code.

Okay, that’s all for today’s introduction to the download method. It will be updated later.


,

This post is from Domestic Chip Exchange
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list