Part 1
요약·해설
GD32F403Z-EVAL은 512KiB Flash, 96KiB SRAM, external NAND와 onboard GD-Link를 제공합니다.

Cortex-M4F · 168MHz
112
GD-Link · ROM bootloader
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
12205A4FEB8817B1AABB928235B0954659A571EFD610D417A49481A5DD96B938
.. _gd32f403z_eval:
GigaDevice GD32F403Z-EVAL
#########################
Overview
********
The GD32F403Z-EVAL board is a hardware platform that enables design and debug
of the GigaDevice F403 Cortex-M4F High Performance MCU.
The GD32F403ZE features a single-core ARM Cortex-M4F MCU which can run up
to 168-MHz with flash accesses zero wait states, 512kiB of Flash, 96kiB of
SRAM and 112 GPIOs.
.. image:: ../../../../../../../boards/gd/gd32f403z_eval/doc/img/gd32f403z_eval.jpg
:align: center
:alt: gd32f403z_eval
Hardware
********
- USB interface with mini-USB connector
- 4 user LEDs
- 4 user push buttons
- Reset Button
- CAN port
- ADC connected to a potentiometer
- 2 DAC channels
- GD25Q40 4Mib SPI Flash
- HY27UF081G2A 1GiB NAND Flash
- AT24C02C 2KiB EEPROM
- 3.2 TFT LCD (320x240)
- PCM1770 Stereo DAC with Headphone Amplifier
- Micro-SDHC interface
- GD-Link interface
- CMSIS-DAP swd debug interface over USB HID.
For more information about the GD32F403 SoC and GD32F403Z-Eval board:
- `GigaDevice Cortex-M4F High Performance SoC Website`_
- `GD32F403 Datasheet`_
- `GD32F403 Reference Manual`_
- `GD32F403Z Eval Schematics`_
- `GD32 ISP Console`_
Supported Features
==================
The board configuration supports the following hardware features:
+-----------+------------+-----------------------+
| Interface | Controller | Driver/Component |
+===========+============+=======================+
| EXTI | on-chip | EXTI interrupt |
| | | controller |
+-----------+------------+-----------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-----------------------+
| NVIC | on-chip | nested vectored |
| | | interrupt controller |
+-----------+------------+-----------------------+
| PWM | on-chip | PWM |
+-----------+------------+-----------------------+
| SYSTICK | on-chip | system clock |
+-----------+------------+-----------------------+
| UART | on-chip | serial port-polling |
+-----------+------------+-----------------------+
| ADC | on-chip | ADC |
+-----------+------------+-----------------------+
Serial Port
===========
The GD32F403Z-EVAL board has 5 serial communication ports. The default port
is UART0 at PIN-9 and PIN-10.
Programming and Debugging
*************************
Before program your board make sure to configure boot setting and serial port.
The default serial port is USART0. This port uses header JP-5/6 to route
signals between USB VBUS/ID and USART J2.
+--------+--------+------------+
| Boot-0 | Boot-1 | Function |
+========+========+============+
| 1-2 | 1-2 | SRAM |
+--------+--------+------------+
| 1-2 | 2-3 | Bootloader |
+--------+--------+------------+
| 2-3 | Any | Flash |
+--------+--------+------------+
+------+------+-------------+
| JP-5 | JP-6 | Function |
+======+======+=============+
| 1-2 | 1-2 | USART0 / J2 |
+------+------+-------------+
| 2-3 | 2-3 | USB VBUS/ID |
+------+------+-------------+
| open | open | Free |
+------+------+-------------+
Using GD-Link
=============
The GD32F403Z-EVAL includes an onboard programmer/debugger (GD-Link) which
allow flash programming and debug over USB. There are also program and debug
headers J1 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: gd32f403z_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: gd32f403z_eval
:goals: flash
:compact:
You should see "Hello World! gd32f403z_eval" in your terminal.
#. To debug an image:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: gd32f403z_eval
:goals: debug
:compact:
Using ROM bootloader
====================
The GD32F403 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: gd32f403z_eval
:goals: build
:compact:
#. Enable board bootloader:
- Remove boot-0 jumper
- press reset button
#. To flash an image:
.. code-block:: console
west build -b gd32f403z_eval samples/hello_world
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! gd32f403z_eval" in your terminal.
.. _GigaDevice Cortex-M4F High Performance SoC Website:
https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m4/high-performance-line/gd32f403-series/
.. _GD32F403 Datasheet:
https://gd32mcu.com/data/documents/datasheet/GD32F403xx_Datasheet_Rev1.3.pdf
.. _GD32F403 Reference Manual:
https://gd32mcu.com/data/documents/userManual/GD32F403_User_Manual_Rev2.6.pdf
.. _GD32F403Z Eval Schematics:
http://www.gd32mcu.com/download/down/document_id/270/path_type/1
.. _GD32 ISP Console:
http://www.gd32mcu.com/download/down/document_id/175/path_type/1
Part 3
한국어 전문 번역
개요
GD32F403Z-EVAL board는 GigaDevice F403 Cortex-M4F high-performance MCU를 사용하는 설계와 debugging을 지원하는 hardware platform입니다.
GD32F403ZE에는 최대 168MHz로 동작하는 single-core ARM Cortex-M4F MCU가 들어 있습니다. Flash 접근은 zero wait state이며 512KiB Flash, 96KiB SRAM, GPIO 112개를 제공합니다.

Hardware
- Mini-USB connector를 사용하는 USB interface
- User LED 4개
- User push button 4개
- Reset button
- CAN port
- Potentiometer에 연결된 ADC
- DAC channel 2개
- GD25Q40 4Mib SPI Flash
- HY27UF081G2A 1GiB NAND Flash
- AT24C02C 2KiB EEPROM
- 3.2-inch TFT LCD(320x240)
- Headphone amplifier를 갖춘 PCM1770 stereo DAC
- Micro-SDHC interface
- GD-Link interface
- USB HID를 통한 CMSIS-DAP SWD debug interface
GD32F403 SoC와 board의 자세한 내용은 product page, datasheet, reference manual, schematic과 ISP tool 자료에서 확인할 수 있습니다.
지원 기능
Board configuration은 다음 hardware 기능을 지원합니다.
| Interface | Controller | Driver/Component |
|---|---|---|
| EXTI | on-chip | EXTI interrupt controller |
| GPIO | on-chip | gpio |
| NVIC | on-chip | nested vectored interrupt controller |
| PWM | on-chip | PWM |
| SYSTICK | on-chip | system clock |
| UART | on-chip | serial port-polling |
| ADC | on-chip | ADC |
Serial port
GD32F403Z-EVAL에는 serial communication port가 5개 있습니다. Default port는 PIN-9와 PIN-10에 연결된 UART0입니다.
Programming과 Debugging
Programming 전에 boot 설정과 serial port를 구성합니다. Default serial port는 USART0이며 JP-5/6 header로 USB VBUS/ID와 USART J2 사이에서 signal route를 선택합니다.
| Boot-0 | Boot-1 | 기능 |
|---|---|---|
| 1-2 | 1-2 | SRAM |
| 1-2 | 2-3 | Bootloader |
| 2-3 | 무관 | Flash |
| JP-5 | JP-6 | 기능 |
|---|---|---|
| 1-2 | 1-2 | USART0 / J2 |
| 2-3 | 2-3 | USB VBUS/ID |
| open | open | Free |
GD-Link 사용
Onboard GD-Link는 USB flash programming과 debugging을 지원합니다. ARM-compatible tool을 연결할 수 있는 J1과 J100 program/debug header도 제공합니다.
- Zephyr kernel과
hello_worldsample을 build합니다.west build -b gd32f403z_eval samples/hello_world /dev/ttyUSB0에서 terminal을 실행합니다.$ minicom -D /dev/ttyUSB0 -o-o는 modem initialization string을 보내지 않습니다.- Speed: 115200
- Data: 8 bits
- Parity: None
- Stop bits: 1
- Image를 flash합니다.
west flashHello World! gd32f403z_eval이 표시되어야 합니다. - Image를 debug합니다.
west debug
ROM bootloader 사용
GD32F403 MCU에는 flash programming을 지원하는 ROM bootloader가 있습니다. Linux system에 GD32 ISP Console을 설치해야 하며 권장 경로는 $HOME/.local/bin입니다.
- Zephyr kernel과
hello_worldsample을 build합니다.west build -b gd32f403z_eval samples/hello_world - Boot-0 jumper를 제거하고 reset button을 눌러 board bootloader를 활성화합니다.
- Image를 flash합니다.
west build -b gd32f403z_eval samples/hello_world 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! gd32f403z_eval이 표시되어야 합니다.
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.