3628 views|1 replies

7170

Posts

195

Resources
The OP
 

The first article GD32VF103C START development board unboxing running lights [Copy link]

 This post was last edited by Changjianze1 on 2019-11-27 16:28

GD32VF103C START development board unboxing running water light

Once you open the box

After some twists and turns, I finally got the GD32VF103C START development board. The shell is still the usual style of GD , white shell, but the thickness of the paper shell is obviously thicker than the previous Cortex core development board. The switch buckle of the box has also become a magnet, which looks more high-end than the previous GD development board.

When you open the box, what comes into view is a milky white development board, which is a little whiter than the ST NUCLEO board and does not look as thick as the NUCLEO board. In addition, the pin headers on both sides of the GD are empty and not soldered, while the ST ones are generally soldered.

I have to complain that GD 's RISC-V board has too many vias and the white board is very obvious. I personally don't feel comfortable with it. ( It looks okay in the picture, but the real thing is a bit uncomfortable )

2. Software Installation

In Windows environment, build a RISC-V development environment based on Eclipse + RISC-V gcc compiler , and cooperate with openocd debugging software to realize the compilation, download and debugging of RISC-V kernel programs. Download the development environment directly from the official website of CoreLai Technology.

There was a small problem during the installation:

Eclipse startup prompts javaw.exe in your current PATH

You can modify the eclipse.ini file and add the following two lines at the beginning:

-vm

D:/jva/bin/javaw.exe

3. Construction

Click FINISH .

The generated routine is for the EVAL board, but I use the START board. The GPIO is slightly different and needs to be modified.

View the schematic diagram and modify some codes

#define LED1_PIN GPIO_PIN_7

#define LED1_GPIO_PORT GPIOA

#define LED1_GPIO_CLK RCU_GPIOA

gd_eval_led_init(LED1);

// gd_eval_led_init(LED2);

// gd_eval_led_init(LED3);

// gd_eval_led_init(LED4);

while(1){

/* turn on led1, turn off led4 */

gd_eval_led_on(LED1);

//gd_eval_led_off(LED2);

delay_1ms(1000);

/* turn on led2, turn off led1 */

// gd_eval_led_on(LED2);

gd_eval_led_off(LED1);

delay_1ms(1000);

}

Compiling is really slow, downloading simulation and debugging is even slower! I can have a cup of tea before coming back

The LED starts to flash, indicating the first program is successful .

image-20191127161854-2.jpeg (2.26 MB, downloads: 0)

image-20191127161854-2.jpeg
This post is from Domestic Chip Exchange

Latest reply

Jaguar V587  Details Published on 2019-11-29 09:14
 
 

295

Posts

1

Resources
2
 
Jaguar V587
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