SkyStar GD32F407VET6
Overview
The SkyStar-GD32F407VET6 board is a hardware platform that enables prototyping on GD32F407VE Cortex-M4 High Performance MCU.
The GD32F407VE features a single-core ARM Cortex-M4 MCU which can run up to 168 MHz with flash accesses zero wait states, 3072kiB of Flash, 192kiB of SRAM and 82 GPIOs.
Hardware
GD32F407VET6 MCU
1 x User LEDs
1 x User Push buttons
1 x USART
J-Link/SWD connector
For more information about the GD32F407 SoC and SkyStar-GD32F407VEt6 board:
Supported Features
The skystar_gd32f407vet6 board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo -
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
Serial Port
The SkyStar-GD32F407VET6 board has one serial communication port. The default port is USART0 with TX connected at PA9 and RX at PA10.
Programming and Debugging
The skystar_gd32f407vet6 board supports the runners and associated west commands listed below.
| flash | debug |
|---|
Using J-Link
You need to use J-Link to program and debug the board via the SWD interface. (PA13/DIO and PA14/CLK). You need to install CMSIS-Pack which is required by pyOCD when programming or debugging by the GD-Link programmer. Execute the following command to install CMSIS-Pack for GD32F407VE if not installed yet.
pyocd pack install gd32f407ve
Build the Zephyr kernel and the Hello World sample application:
west build -b skystar_gd32f407vet6 samples/hello_world
Connect Serial-USB adapter to PA9, PA10, and GND.
Run your favorite terminal program to listen for output. On Linux the terminal should be something like
/dev/ttyUSB0. For example:minicom -D /dev/ttyUSB0 -oThe -o option tells minicom not to send the modem initialization string. Connection should be configured as follows:
Speed: 115200
Data: 8 bits
Parity: None
Stop bits: 1
To flash an image:
west build -b skystar_gd32f407vet6 samples/hello_world west flash
When using J-Link, append
--runner jlinkoption afterwest flash.You should see “Hello World! skystar_gd32f407vet6” in your terminal.
To debug an image:
west build -b skystar_gd32f407vet6 samples/hello_world west debug
When using J-Link, append
--runner jlinkoption afterwest debug.