boards/renesas/rcar_salvator_x/doc/rcar_salvator_x.html · boards/renesas/rcar_salvator_x/doc/rcar_salvator_x.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · Renesas · R-Car H3 · CR7

Renesas R-Car H3 Salvator-X

R-Car H3 Salvator-X의 RTOS용 CR7에서 Zephyr를 실행하고 CN25·CN26 console을 사용합니다.

Official pathboards/renesas/rcar_salvator_x/doc/rcar_salvator_x.html
Source fileboards/renesas/rcar_salvator_x/doc/rcar_salvator_x.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

H3 hardware, 지원 interface 6종, SW20~22·LED4~6, dual console과 Olimex probe workflow를 설명합니다.

Target

R-Car H3 CR7

Console

CN25 A53/A57 · CN26 CR7

Debug

Olimex ARM-USB-OCD-H · OpenOCD

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 D2AFE90130629BF124EC0610B85DEB9AD015C36B62E9EB52E2922C0A91B70D2B
.. _rcar_h3_salvatorx_boards:

Renesas R-Car H3 Salvator-X
###########################

Overview
********
- The H3 Salvator-X board is designed for evaluating the features and performance
  of the R-CAR H3 device from Renesas Electronics and it is also used for developing
  and evaluating application software for these R-CAR H3.

- The H3 Salvator-X, based on the R-CAR H3 SIP, comes with LPDDR4 @4GB in 2-channel,
  each 64-bit wide+Hyperflash @64MB, CSI2 interfaces and several communication interfaces
  like USB, Ethernet, HDMI and can work standalone or can be adapted to other boards,
  via 440pin connector on bottom side.

.. figure:: ../../../../../../../boards/renesas/rcar_salvator_x/doc/img/rcar_h3_salvatorx.jpg
   :align: center
   :alt: R-Car Salvator-X kit

More information about the board can be found at `Renesas R-Car Development Support website`_.

Hardware
********

Hardware capabilities for the H3 Salvator-X for can be found on the `eLinux H3 Salvator-X page`_
of the board.

.. figure:: ../../../../../../../boards/renesas/rcar_salvator_x/doc/img/rcar_h3_features.jpg
   :align: center
   :alt: R-Car Salvator-X features

.. note:: Zephyr will be booted on the CR7 processor provided for RTOS purpose.

More information about the SoC that equips the board can be found here:

- `Renesas R-Car H3 chip`_

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

Here is the current supported features when running Zephyr Project on the R-Car Salvator-X CR7:

+-----------+------------------------------+--------------------------------+
| Interface | Driver/components            | Support level                  |
+===========+==============================+================================+
| PINCTRL   | pinctrl                      |                                |
+-----------+------------------------------+--------------------------------+
| CLOCK     | clock_control                |                                |
+-----------+------------------------------+--------------------------------+
| GPIO      | gpio                         |                                |
+-----------+------------------------------+--------------------------------+
| UART      | uart                         | serial port-polling            |
+           +                              +                                +
|           | FT232RQ / CP2102             | serial port-interrupt          |
+-----------+------------------------------+--------------------------------+
| CAN       | can                          | normal mode                    |
+           +                              +                                +
|           | TCAN332GDCNT                 | loopback mode                  |
+-----------+------------------------------+--------------------------------+
| I2C       | i2c                          | interrupt driven               |
+-----------+------------------------------+--------------------------------+

It's also currently possible to write on the ram console.

Connections and IOs
===================

.. figure:: ../../../../../../../boards/renesas/rcar_salvator_x/doc/img/r-car-h3-salvator-x-connections.jpg
   :align: center
   :alt: R-Car Salvator-X connections

GPIO
----

By running Zephyr on H3 Salvator-X, the software readable push buttons 'SW20',
'SW21', 'SW22' can be used as input, and the software contollable LEDs 'LED4',
'LED5', 'LED6' can be used as output.

UART
----

Salvator-X board is providing two serial ports:

- one is for A53/A57 processors
- the other one is for CR7

Both ports are converted to USB through CP2102 converters and they are exposed
as follows:

+-----------+-----------+
| Connector | Processor |
+===========+===========+
| CN25      | A53/A57   |
+-----------+-----------+
| CN26      | CR7       |
+-----------+-----------+

Programming and Debugging
*************************

Build and flash applications as usual (see :ref:`build_an_application` and
:ref:`application_run` for more details).

Supported Debug Probe
=====================

The "Olimex ARM-USB-OCD-H" probe is the only officially supported probe. This
probe is supported by OpenOCD that is shipped with the Zephyr SDK.

The "Olimex ARM-USB-OCD-H" probe needs to be connected to CN1 on Salvator-X.

Configuring a Console
=====================

Connect a USB cable from your PC to CN25 and/or CN26 then use the following
settings with your serial terminal of choice (minicom, putty,
etc.):

- Speed: 115200
- Data: 8 bits
- Parity: None
- Stop bits: 1

Flashing
========

First of all, open your serial terminal.

Applications for the ``rcar_salvator_x`` board configuration can be built
in the usual way (see :ref:`build_an_application` for more details).

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: rcar_salvator_x
   :goals: flash

You should see the following message in the terminal:

.. code-block:: console

	*** Booting Zephyr OS build v2.6.0-rc1 ***
	Hello World! rcar_salvator_x

Debugging
=========

First of all, open your serial terminal.

Here is an example for the :ref:`hello_world` application.

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: rcar_salvator_x
   :goals: debug

You will then get access to a GDB session for debug.

By continuing the app, you should see the following message in the terminal:

.. code-block:: console

	*** Booting Zephyr OS build v2.6.0-rc1 ***
	Hello World! rcar_salvator_x

References
**********

- `Renesas R-Car H3 chip`_
- `Renesas R-Car Development Support website`_
- `eLinux H3 Salvator-X page`_

.. _Renesas R-Car H3 chip:
	https://www.renesas.com/eu/en/products/automotive-products/automotive-system-chips-socs/r-car-h3-high-end-automotive-system-chip-soc-vehicle-infotainment-and-driving-safety-support

.. _Renesas R-Car Development Support website:
   https://www.renesas.com/us/en/support/partners/r-car-consortium/r-car-development-support

.. _eLinux H3 Salvator-X page:
	https://elinux.org/R-Car/Boards/Salvator-X

.. _Install a toolchain:
	https://docs.zephyrproject.org/latest/getting_started/index.html#install-a-toolchain

Part 3

한국어 전문 번역

개요

  • H3 Salvator-X board는 Renesas Electronics R-Car H3 device의 기능과 성능을 평가하고 R-Car H3용 application software를 개발·평가하도록 설계되었습니다.
  • R-Car H3 SIP 기반 Salvator-X에는 64-bit 폭 2-channel LPDDR4 4 GB, HyperFlash 64 MB, CSI2 interface, USB·Ethernet·HDMI communication interface가 있습니다. 단독으로 동작하거나 하단 440-pin connector로 다른 보드에 연결할 수 있습니다.
R-Car Salvator-X kit
R-Car Salvator-X kit

자세한 정보는 Renesas R-Car Development Support website에 있습니다.

하드웨어

H3 Salvator-X hardware capability는 eLinux H3 Salvator-X page에서 확인할 수 있습니다.

R-Car Salvator-X features
R-Car Salvator-X features

SoC 정보는 Renesas R-Car H3 chip page에서 확인할 수 있습니다.

지원 기능

R-Car Salvator-X CR7에서 Zephyr Project를 실행할 때 현재 지원되는 기능은 다음과 같습니다.

인터페이스드라이버/컴포넌트지원 수준
PINCTRLpinctrl
CLOCKclock_control
GPIOgpio
UARTuart · FT232RQ / CP2102polling · interrupt
CANcan · TCAN332GDCNTnormal · loopback
I2Ci2cinterrupt driven

RAM console에 쓰는 것도 현재 가능합니다.

연결과 I/O

R-Car Salvator-X connections
R-Car Salvator-X connections

GPIO

H3 Salvator-X에서 Zephyr를 실행하면 software-readable push button SW20, SW21, SW22를 input으로, software-controllable LED LED4, LED5, LED6를 output으로 사용할 수 있습니다.

UART

Salvator-X board는 A53/A57 processor용과 CR7용 serial port 2개를 제공합니다. 두 port 모두 CP2102 converter를 통해 USB로 변환됩니다.

ConnectorProcessor
CN25A53/A57
CN26CR7

프로그래밍과 디버깅

Application은 일반적인 방법으로 build하고 flash합니다.

지원 debug probe

공식 지원 probe는 Olimex ARM-USB-OCD-H뿐입니다. Zephyr SDK에 포함된 OpenOCD가 이를 지원하며, probe를 Salvator-X의 CN1에 연결해야 합니다.

Console 구성

PC에서 CN25 및/또는 CN26으로 USB cable을 연결하고 terminal을 속도 115200, data 8 bits, parity None, stop bits 1로 설정합니다.

플래시

먼저 serial terminal을 엽니다. rcar_salvator_x board configuration용 hello_world application을 build하고 flash합니다.

west build -b rcar_salvator_x samples/hello_world
west flash

Terminal에 다음 메시지가 표시되어야 합니다.

*** Booting Zephyr OS build v2.6.0-rc1 ***
Hello World! rcar_salvator_x

디버깅

먼저 serial terminal을 열고 다음처럼 hello_world를 debug합니다.

west build -b rcar_salvator_x samples/hello_world
west debug

GDB session에 접근한 뒤 application을 계속 실행하면 terminal에 다음 메시지가 표시됩니다.

*** Booting Zephyr OS build v2.6.0-rc1 ***
Hello World! rcar_salvator_x

참고 자료

Source

출처

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