2431 views|6 replies

71

Posts

0

Resources
The OP
 

[RISC-V] Domestic IDE MRS V1.50+JLink! GD32VF103 development practice [Copy link]

 This post was last edited by Moiiiiilter on 2021-7-16 11:14

Previously, the onboard LINK debugging and downloading of GD32VF103C_START felt very slow. Recently, I found that the latest V1.50 version of MRS supports using JLINK to download and debug GDVF103 projects. After actual testing, I found that the speed is indeed significantly improved, so I will share the process below.

Preparation:

Environment: Mounriver Studio V1.50

Development board: GD32VF103C-START

Debugger : jlink . When using OPENCOD for debugging, jlink is used as a normal USB device. You can use zadig or other tools to replace the jlink driver with winusb .

Connection diagram:

Find the schematic diagram from the development board information, fly the wires and solder them yourself, as shown in the picture above.

Then get the development environment ready, download Mounriver Studio from www.mounriver.com , double-click to install after downloading, keep clicking Next to complete the installation.

Double-click the desktop icon

,

The interface after opening is as shown below:

Click File->New in the upper left corner, select Mountain Project, and the following window will pop up.

The main control chip of the development board GD32VF103C-START is GD32VF103CBT6 . Select the corresponding template and create a project template. I saw that the project corresponds to this development board. The content is a flashing LED . Click the compile button on the toolbar. The compilation is successful and the output target file exists.

In the obj directory, there are hex, elf binary files, .lst disassembly files, map mapping files, etc.; as shown in the figure

The next step is to start downloading. Click on the menu bar

, but an error message appears.

I can't find daplink from the content. I'm using JLINK and I can't find it. I checked the official information and found that you can change the LINK type in the following position.

After the modification, I downloaded it again. The speed was definitely much faster than the onboard link download. Next, I tried debugging and directly clicked on the menu bar

:

Normally enter the debug mode, run at breakpoints, and run in single step without waiting. At this point, a simple process is over. If you want to play, you can do it yourself . If you want to view the value of the peripheral register, you need to manually add the SVD file. Download a GD32 pair of SVD files from the Internet and configure and add it in the following location:

This post is from Domestic Chip Exchange

Latest reply

The connection uses https, you can re-edit and change https to http.   Details Published on 2021-7-16 06:03

赞赏

1

查看全部赞赏

 
 

2w

Posts

74

Resources
2
 

Useful experience sharing, thumbs up.

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

Peers can communicate more~  Details Published on 2021-7-12 10:03
Personal signature

加油!在电子行业默默贡献自己的力量!:)

 
 
 

7462

Posts

2

Resources
3
 

Blocked? I tried several times but couldn't open the link.

This post is from Domestic Chip Exchange
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

71

Posts

0

Resources
4
 
freebsder posted on 2021-7-9 21:42 Blocked? I tried several times but couldn't open the link. . .

It seems that there is a problem with the external link jump. Just visit the website www.mounriver.com directly. It is a domestic website~

This post is from Domestic Chip Exchange

Comments

The connection uses https, you can re-edit and change https to http.  Details Published on 2021-7-16 06:03
 
 
 

71

Posts

0

Resources
5
 
soso posted on 2021-7-9 16:40 Useful experience sharing, like.

Peers can communicate more~

This post is from Domestic Chip Exchange
 
 
 

9717

Posts

24

Resources
6
 
Moiiiiilter posted on 2021-7-12 10:03 It seems that there is a problem with the external link jump. Just visit the website www.mounriver.com directly. It is a domestic website~

The connection uses https, you can re-edit and change https to http.

This post is from Domestic Chip Exchange

Comments

Fixed!  Details Published on 2021-7-16 11:15
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

71

Posts

0

Resources
7
 
littleshrimp posted on 2021-7-16 06:03 The connection uses https, you can re-edit and change https to http.

Fixed!

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