R-Car/Boards/S4SK

This page is under preparation.

Introduction
This page is for the Starter Kit board equipped with R-Car S4(ws1.2). Refer to the R-Car page for information about Renesas' R-Car SoC family.

Hardware feature
 Power connector for 5V input (incl. protection circuit)  LPDDR4X (4 GiB)  Boot device: QSPI (64 MiB)  UFS memory (128GB(SanDisk/SDINFDO4-128G))  uSD-card x1  Ethernet TSN via RSwitch2: two PHYs(88E2110) for 1000BASE-T  Ethernet PHY (100 Mbps) at G4MH  PCIe interfaces available on two OCuLink connectors (2 channels x 2 lanes)  Debug port DBG0 and DBG1  two CAN transceivers (6-pin headers)  one LIN transceiver (4-pin headers)  3 LEDs/buttons

AC Adapter
AC adapter may not be bundled with the board. In that case, please provide your own. Here is the AC adapter information that has been confirmed.

Debug Serial

 * CN13
 * Two serial ports are recognized. Please use the younger number.
 * Baudrate
 * 921600

PCIe

 * CH0(CN30)
 * Root Complex
 * CH1(CN31)
 * Endpoint

How to get the loader packages
Preparation
 * 1) Download ICUMX Loader and Flash writer Package here.
 * Decompress ICUMX_Loader_and_Flashwriter_Package_for_R-Car_S4_Starter_Kit_SDKv3.xx.0.zip
 * 1) Build(see R-Car/Boards/S4SK/Yocto-Linux) U-boot, OP-TEE OS and Trusted Firmware and prepare their binaries(u-boot-elf-s4sk.srec, tee-s4sk.srec and bl31-s4sk.srec).
 * Copy binaries(u-boot-elf-s4sk.srec, tee-s4sk.srec and bl31-s4sk.srec) to ICUMX_Loader_and_Flashwriter_Package_for_R-Car_S4_Starter_Kit_SDKv3.xx.0 folder

Windows user
  Connect the Windows PC to the S4SK(CN13) with a USB serial cable  baudrate : 921600  SW3 : Set to SCIF Download(DL) mode </li>  Power ON (SW5) </li> SCIF Download mode (w/o verification) (C) Renesas Electronics Corp. -- Load Program to SystemRAM --- please send !  Execute TeraTerm macro "Flash_Bootloader_S4SK.ttl" </li> Teta Term: Control -> Macro ->  ICUMX_Loader_and_Flashwriter_Package_for_R-Car_S4_Starter_Kit_SDKv3.xx.0/Flash_Bootloader_S4SK.ttl The following log is output: Flash writer for R-Car S4 Series Rev.0.13.0 Jan.16,2023 > xls2 ===== Qspi/HyperFlash writing Command =============

(snip)

SAVE SPI-FLASH....... complete!

= Qspi/HyperFlash Save Information
=========== SpiFlashMemory Stat Address : H'00F80000 SpiFlashMemory End Address : H'0101BD2A

=
==============================================

>  Power OFF (SW5) </li>  SW3 : Set to default mode </li> </ol>

Configurator tool(S4_StarterKit_Configurator.exe)
You can download [ https:// here(T.B.D)]

How to use

 * 1) Connect the Windows PC to the S4SK(CN13) with a USB serial cable.
 * 2) Shut down the terminal emulator(Ex Tera term)
 * 3) Execute S4_StarterKit_Configurator.exe

Tab of S4 Starter Kit

 * Confirmation of PCB version, S/N and COM port etc.

Tab of SoC mode configuration

 * Selection of DEBUG0(CN10) and DEBG1(CN2) modes

Tab of On-board peripheral configuration

 * Selection of FT2232H ChA and ChB (ChA is used in the debug console. Please be careful when changing it.)

Tab of Power configuration

 * Power on/off control.

Tab of DIPSW

 * Confirmation of SW3 settings

How to write FPGA

 * If changed, press either "Write FPGA(volatile)" or "Write FPGA(non-volatile)".
 * If "Write FPGA(non-volatile)" is pressed, the setting remains even if the power is turned off.
 * To return to the initial state, press "Set defaults".

Known issues & Restrictions

 * 1) [Affected PCB version : v2.10] Simultaneous usage of Debug 0 and Debug 1 is not available.
 * 2) [Affected PCB version : v2.10] Connector CN2, “Debug 1” is intended to debug Arm CoreSight. By specification ICU-MH and G4MH cores are not supported.
 * The signal RDY# is not connected by default, therefore the cores ICU-MH and G4MH cannot be debugged.
 * To be able to debug these cores, the resistor R309 needs to be assembled at your own risk.
 * 1) [Affected PCB version : v2.10] External tracing is not available.
 * Internal tracing is available. The amount of traced data depends on the size of the internal trace memory (G4MH: 64 KiB, ARM: 32 KiB).