Part 1
요약·해설
GD32A503V-EVAL은 384KiB Flash, 48KiB SRAM과 onboard GD-Link를 제공하며 GD-Link와 ROM bootloader 두 방식으로 programming할 수 있습니다.

Cortex-M4F · 120MHz
384KiB Flash · 48KiB SRAM
GD-Link · ROM bootloader
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
3A41CA729F46AD95151A0E4042C2EAE701B7C26A8C51FE07FC4BD826443D46C8
.. _gd32a503v_eval:
GigaDevice GD32A503V-EVAL
#########################
Overview
********
The GD32A503V-EVAL board is a hardware platform that enables design and debug
of the GigaDevice A503 Cortex-M4F High Performance MCU.
The GD32A503VD features a single-core ARM Cortex-M4F MCU which can run up
to 120-MHz with flash accesses zero wait states, 384kiB of Flash, 48kiB of
SRAM and 88 GPIOs.
.. image:: ../../../../../../../boards/gd/gd32a503v_eval/doc/img/gd32a503v_eval.jpg
:align: center
:alt: gd32a503v_eval
Hardware
********
- 2 user LEDs
- 2 user push buttons
- Reset Button
- ADC connected to a potentiometer
- 1 DAC channels
- GD25Q16 2Mib SPI Flash
- AT24C02C 2KiB EEPROM
- CS4344 Stereo DAC with Headphone Amplifier
- GD-Link interface
- CMSIS-DAP swd debug interface over USB HID.
- 2 CAN FD ports
For more information about the GD32A503 SoC and GD32A503V-EVAL board:
- `GigaDevice Cortex-M33 High Performance SoC Website`_
- `GD32A503 Datasheet`_
- `GD32A503 Reference Manual`_
- `GD32A503V Eval Schematics`_
- `GD32 ISP Console`_
Supported Features
==================
The board configuration supports the following hardware features:
.. list-table::
:header-rows: 1
* - Peripheral
- Kconfig option
- Devicetree compatible
* - EXTI
- :kconfig:option:`CONFIG_GD32_EXTI`
- :dtcompatible:`gd,gd32-exti`
* - GPIO
- :kconfig:option:`CONFIG_GPIO`
- :dtcompatible:`gd,gd32-gpio`
* - NVIC
- N/A
- :dtcompatible:`arm,v8m-nvic`
* - PWM
- :kconfig:option:`CONFIG_PWM`
- :dtcompatible:`gd,gd32-pwm`
* - SYSTICK
- N/A
- N/A
* - USART
- :kconfig:option:`CONFIG_SERIAL`
- :dtcompatible:`gd,gd32-usart`
* - PINMUX
- :kconfig:option:`CONFIG_PINCTRL`
- :dtcompatible:`gd,gd32-pinctrl-af`
* - ADC
- :kconfig:option:`CONFIG_ADC`
- :dtcompatible:`gd,gd32-adc`
* - DAC
- :kconfig:option:`CONFIG_DAC`
- :dtcompatible:`gd,gd32-dac`
* - FMC
- N/A
- :dtcompatible:`gd,gd32-flash-controller`
* - SPI
- :kconfig:option:`CONFIG_SPI`
- :dtcompatible:`gd,gd32-spi`
Serial Port
===========
The GD32A503V-EVAL board has 3 serial communication ports. The default port
is UART0 at PIN-72 and PIN-73.
Programming and Debugging
*************************
Before program your board make sure to configure boot setting and serial port.
The default serial port is USART0.
+--------+--------+------------+
| Boot-0 | Boot-1 | Function |
+========+========+============+
| 1-2 | 1-2 | SRAM |
+--------+--------+------------+
| 1-2 | 2-3 | Bootloader |
+--------+--------+------------+
| 2-3 | Any | Flash |
+--------+--------+------------+
Using GD-Link
=============
The GD32A503V-EVAL includes an onboard programmer/debugger (GD-Link) which
allow flash programming and debug over USB. There are also program and debug
headers J2 and J100 that can be used with any ARM compatible tools.
#. Build the Zephyr kernel and the :ref:`hello_world` sample application:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: gd32a503v_eval
:goals: build
:compact:
#. Run your favorite terminal program to listen for output. Under Linux the
terminal should be :code:`/dev/ttyUSB0`. For example:
.. code-block:: console
$ minicom -D /dev/ttyUSB0 -o
The -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:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: gd32a503v_eval
:goals: flash
:compact:
You should see "Hello World! gd32a503v_eval" in your terminal.
#. To debug an image:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: gd32a503v_eval
:goals: debug
:compact:
Using ROM bootloader
====================
The GD32A503 MCU have a ROM bootloader which allow flash programming. User
should install `GD32 ISP Console`_ software at some Linux path. The recommended
is :code:`$HOME/.local/bin`.
#. Build the Zephyr kernel and the :ref:`hello_world` sample application:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: gd32a503v_eval
:goals: build
:compact:
#. Enable board bootloader:
- Remove boot-0 jumper
- press reset button
#. To flash an image:
.. code-block:: console
west flash -r gd32isp [--port=/dev/ttyUSB0]
#. Run your favorite terminal program to listen for output. Under Linux the
terminal should be :code:`/dev/ttyUSB0`. For example:
.. code-block:: console
$ minicom -D /dev/ttyUSB0 -o
The -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
Press reset button
You should see "Hello World! gd32a503v_eval" in your terminal.
.. _GigaDevice Cortex-M33 High Performance SoC Website:
https://www.gigadevice.com.cn/product/mcu/arm-cortex-m33/gd32a503vdt3
.. _GD32A503 Datasheet:
https://www.gd32mcu.com/download/down/document_id/401/path_type/1
.. _GD32A503 Reference Manual:
https://www.gd32mcu.com/download/down/document_id/402/path_type/1
.. _GD32A503V Eval Schematics:
https://www.gd32mcu.com/download/down/document_id/404/path_type/1
.. _GD32 ISP Console:
http://www.gd32mcu.com/download/down/document_id/175/path_type/1
Part 3
한국어 전문 번역
개요
GD32A503V-EVAL board는 GigaDevice A503 Cortex-M4F high-performance MCU를 사용하는 설계와 debugging을 지원하는 hardware platform입니다.
GD32A503VD에는 최대 120MHz로 동작하는 single-core ARM Cortex-M4F MCU가 들어 있습니다. Flash 접근은 zero wait state이며 384KiB Flash, 48KiB SRAM, GPIO 88개를 제공합니다.

Hardware
- User LED 2개
- User push button 2개
- Reset button
- Potentiometer에 연결된 ADC
- DAC channel 1개
- GD25Q16 2Mib SPI Flash
- AT24C02C 2KiB EEPROM
- Headphone amplifier를 갖춘 CS4344 stereo DAC
- GD-Link interface
- USB HID를 통한 CMSIS-DAP SWD debug interface
- CAN FD port 2개
GD32A503 SoC와 board의 자세한 내용은 아래의 product page, datasheet, reference manual, schematic과 ISP tool 자료에서 확인할 수 있습니다.
지원 기능
Board configuration은 다음 hardware 기능을 지원합니다.
| 주변장치 | Kconfig option | Devicetree compatible |
|---|---|---|
| EXTI | CONFIG_GD32_EXTI | gd,gd32-exti |
| GPIO | CONFIG_GPIO | gd,gd32-gpio |
| NVIC | N/A | arm,v8m-nvic |
| PWM | CONFIG_PWM | gd,gd32-pwm |
| SYSTICK | N/A | N/A |
| USART | CONFIG_SERIAL | gd,gd32-usart |
| PINMUX | CONFIG_PINCTRL | gd,gd32-pinctrl-af |
| ADC | CONFIG_ADC | gd,gd32-adc |
| DAC | CONFIG_DAC | gd,gd32-dac |
| FMC | N/A | gd,gd32-flash-controller |
| SPI | CONFIG_SPI | gd,gd32-spi |
Serial port
GD32A503V-EVAL에는 serial communication port가 3개 있습니다. Default port는 PIN-72와 PIN-73에 연결된 UART0입니다.
Programming과 Debugging
Board를 programming하기 전에 boot 설정과 serial port를 구성해야 합니다. Default serial port는 USART0입니다.
| Boot-0 | Boot-1 | 기능 |
|---|---|---|
| 1-2 | 1-2 | SRAM |
| 1-2 | 2-3 | Bootloader |
| 2-3 | 무관 | Flash |
GD-Link 사용
GD32A503V-EVAL에는 USB를 통한 flash programming과 debugging을 지원하는 onboard programmer/debugger인 GD-Link가 있습니다. ARM-compatible tool을 연결할 수 있는 J2와 J100 program/debug header도 제공합니다.
- Zephyr kernel과
hello_worldsample을 build합니다.west build -b gd32a503v_eval samples/hello_world - Output을 받을 terminal program을 실행합니다. Linux에서는 보통
/dev/ttyUSB0를 사용합니다.$ minicom -D /dev/ttyUSB0 -o-o는 modem initialization string을 보내지 않도록 합니다. Connection은 다음과 같이 설정합니다.- Speed: 115200
- Data: 8 bits
- Parity: None
- Stop bits: 1
- Image를 flash합니다.
west flashTerminal에
Hello World! gd32a503v_eval이 표시되어야 합니다. - Image를 debug하려면 다음 target을 실행합니다.
west debug
ROM bootloader 사용
GD32A503 MCU에는 flash programming을 지원하는 ROM bootloader가 있습니다. Linux system에 GD32 ISP Console을 설치해야 하며 권장 경로는 $HOME/.local/bin입니다.
- Zephyr kernel과
hello_worldsample을 build합니다.west build -b gd32a503v_eval samples/hello_world - Boot-0 jumper를 제거하고 reset button을 눌러 board bootloader를 활성화합니다.
- Image를 flash합니다.
west flash -r gd32isp [--port=/dev/ttyUSB0] /dev/ttyUSB0에서 terminal을 실행합니다.$ minicom -D /dev/ttyUSB0 -o- Speed: 115200
- Data: 8 bits
- Parity: None
- Stop bits: 1
Reset button을 누르면
Hello World! gd32a503v_eval이 표시되어야 합니다.
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.