boards/arduino/uno_r4/doc/index.html · boards/arduino/uno_r4/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Arduino · Renesas RA4M1

Arduino UNO R4 Minima/WiFi

전통적 UNO form factor에 48 MHz Renesas Cortex-M4를 적용하고 WiFi variant에 Matrix와 CMSIS-DAP을 더한 board입니다.

Official pathboards/arduino/uno_r4/doc/index.html
Source fileboards/arduino/uno_r4/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

UNO R4 Minima와 WiFi는 Renesas RA4M1 Cortex-M4 기반입니다. WiFi variant만 Wi-Fi transceiver, 12×8 LED matrix와 built-in CMSIS-DAP을 포함합니다.

MCU

48 MHz Renesas RA4M1 Cortex-M4

Memory

flash 256 KiB, RAM 32 KiB

Debug

pyOCD + r7fa4m1ab CMSIS-Pack

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 8378B31A476E2ACDC0DB4848CE19DC3B6AE1FB194AAD66280D794A756DB26678
.. _arduino_uno_r4:

Arduino UNO R4
##############

Overview
********

The Arduino UNO R4 Minima/WiFi is a development board featuring the Renesas RA4M1 SoC
in the Arduino form factor and is compatible with traditional Arduino.

Hardware
********

- Renesas RA4MA1 Processor (ARM Cortex-M4 at 48 MHz)
- 256 KiB flash memory and 32 KiB of RAM
- One user LEDs
- One reset button
- One WiFi Transceiver (Arduino UNO R4 WiFi only)
- One 12x8 LED Matrix (Arduino UNO R4 WiFi only)
- Built-in CMSIS-DAP debug adapter (Arduino UNO R4 WiFi only)

Supported Features
==================

The Arduino UNO R4 Minima/Wifi  board configuration supports the following
hardware features:

+-----------+------------+------------------------------------------+
| Interface | Controller | Driver/Component                         |
+===========+============+==========================================+
| GPIO      | on-chip    | I/O ports                                |
+-----------+------------+------------------------------------------+
| UART      | on-chip    | Serial ports                             |
+-----------+------------+------------------------------------------+

Programming and debugging
*************************

Debug adapter
=============

A debug adapter is required to flash and debug programs.
Arduino UNO R4 WiFi has a built-in debug adapter that
you can use for flashing and debugging.

In the Arduino UNO R4 Minima case, You need to prepare
debug adapter separately. A 5V-compatible CMSIS-DAP adapter
adapts to this board.


Building & Flashing
===================

You can build and flash with ``west flash`` command (See
:ref:`build_an_application` and
:ref:`application_run` for more details).

Here is an example for building and flashing the :zephyr:code-sample:`blinky` application.

.. zephyr-app-commands::
   :zephyr-app: samples/basic/blinky
   :board: arduino_uno_r4_minima
   :goals: build flash

.. zephyr-app-commands::
   :zephyr-app: samples/basic/blinky
   :board: arduino_uno_r4_wifi
   :goals: build flash

Debugging
=========

Debugging can be done with ``west debug`` command.
The following command is debugging the :zephyr:code-sample:`blinky` application.
Also, see the instructions specific to the debug server that you use.

.. zephyr-app-commands::
   :zephyr-app: samples/basic/blinky
   :board: arduino_uno_r4_minima
   :maybe-skip-config:
   :goals: debug

.. zephyr-app-commands::
   :zephyr-app: samples/basic/blinky
   :board: arduino_uno_r4_wifi
   :maybe-skip-config:
   :goals: debug


Using pyOCD
-----------

Various debug adapters, including cmsis-dap probes, can debug the Arduino UNO R4 with pyOCD.
The default configuration uses the pyOCD for debugging.
You must install CMSIS-Pack when flashing or debugging Arduino UNO R4 Minima with pyOCD.
If not installed yet, execute the following command to install CMSIS-Pack for Arduino UNO R4.

.. code-block:: console

   pyocd pack install r7fa4m1ab


Restoring Arduino Bootloader
============================

If you corrupt the Arduino bootloader, you can restore it with the following command.

.. code-block:: console

   wget https://raw.githubusercontent.com/arduino/ArduinoCore-renesas/main/bootloaders/UNO_R4/dfu_minima.hex
   pyocd flash -e sector -a 0x0 -t r7fa4m1ab dfu_minima.hex

.. code-block:: console

   wget https://raw.githubusercontent.com/arduino/ArduinoCore-renesas/main/bootloaders/UNO_R4/dfu_wifi.hex
   pyocd flash -e sector -a 0x0 -t r7fa4m1ab dfu_wifi.hex

Part 3

한국어 전문 번역

개요

Arduino UNO R4 Minima/WiFi는 전통적 Arduino와 호환되는 form factor에 Renesas RA4M1 SoC를 사용합니다.

하드웨어

  • 48 MHz Renesas RA4M1 Cortex-M4
  • flash 256 KiB, RAM 32 KiB
  • user LED와 reset button
  • WiFi model만 Wi-Fi transceiver, 12×8 LED matrix, built-in CMSIS-DAP

지원 기능

InterfaceControllerDriver/Component
GPIOon-chipI/O ports
UARTon-chipserial ports

프로그래밍과 디버깅

WiFi model은 내장 debug adapter로 flash/debug합니다. Minima는 별도 5 V-compatible CMSIS-DAP adapter가 필요합니다.

Build·flash

west build -b arduino_uno_r4_minima samples/basic/blinky
west flash
west build -b arduino_uno_r4_wifi samples/basic/blinky
west flash

Debug

west debug

pyOCD

기본 debug server는 pyOCD입니다. Minima를 flash/debug하려면 RA4M1 CMSIS-Pack을 설치합니다.

pyocd pack install r7fa4m1ab

Arduino bootloader 복구

bootloader가 손상되면 model에 맞는 image를 받아 sector erase 방식으로 address 0에 기록합니다.

wget https://raw.githubusercontent.com/arduino/ArduinoCore-renesas/main/bootloaders/UNO_R4/dfu_minima.hex
pyocd flash -e sector -a 0x0 -t r7fa4m1ab dfu_minima.hex

wget https://raw.githubusercontent.com/arduino/ArduinoCore-renesas/main/bootloaders/UNO_R4/dfu_wifi.hex
pyocd flash -e sector -a 0x0 -t r7fa4m1ab dfu_wifi.hex

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.