R-Car/Boards/CCPF-SK

From eLinux.org
Jump to: navigation, search


Introduction

This is the official Wiki for CCPF-SK.
CCPF-SK is an expansion board for R-Car Starter Kit.

Topic

EOL Notification of the M3SK

Production of M3SK is discontinued.
See M3SK page for detail.

The new version of R-Car Starter Kit Premier is now on sale !!

  • Equipped with R-Car H3e-2G
    (En) https://www.renesas.com/jp/en/about/press-room/renesas-launches-r-car-gen3e-20-percent-higher-cpu-speed-automotive-infotainment-cockpit-and-digital
    (Zh) https://www.renesas.com/jp/zh/about/press-room/renesas-launches-r-car-gen3e-20-percent-higher-cpu-speed-automotive-infotainment-cockpit-and-digital
    (Jp) https://www.renesas.com/jp/ja/about/press-room/renesas-launches-r-car-gen3e-20-percent-higher-cpu-speed-automotive-infotainment-cockpit-and-digital
  • CPU performance is increased 20% by supporting up to 2GHz frequency over past products.
  • You can buy from here.

SW Release Information

Board name SW name Release date Note
R-Car Starter Kit ( Premier / Pro ) Yocto v5.9.0 (stable) [New!!] 2022/02/08
Kingfisher Infotainment Board Yocto v5.9.0 (stable) [New!!] 2022/02/14 To check for latest information, please refer to the meta-rcar/tree/v5.9.0.
Android 10 (stable) 2021/07/26 R-Car Starter Kit Premier(R-Car H3) + Kingfisher is supported.
R-Car Starter Kit Pro(RTP8J77961ASKB0SK0SA05A) + Kingfisher is also supported from 2021/11/25.
Android P (stable) 2020/09/29 R-Car Starter Kit Premier(R-Car H3) + Kingfisher is supported.
R-Car Starter Kit Pro(RTP8J77961ASKB0SK0SA05A) + Kingfisher is also supported from 2021/03/16.
CCPF-SK Board Yocto v5.9.0 (stable) [New!!] 2022/02/08 Prebuilt binary is available in Quick startup guide page. (Updated on 2022/03/18)


Hardware

Board layout

This section contains information about CCPF-SK hardware.

600px 450px 600px 450px

Hardware Feature

  • Connector
    • CN1 COM Express type connector 440pin
    • CN2 M.2 PCIe M-key SSD Card Socket ch0 (SSD,TPU support)
    • CN3 M.2 PCIe M-key SSD Card Socket ch1 (SSD,TPU support)
    • CN4 Micro HDMI1(only available on H3SK)
    • CN5 USB 3.0
    • CN6 USB 2.0
    • CN7 CAN0/CAN1
    • CN8 GPIO
    • CN9 Main Power Supply input (12VDC or 24VDC)
    • CN10 DEBUG SERIAL(for User)
    • CN11 DEBUG SERIAL(for R-Car Starter Kit)
    • CN12 Camera0 (MIPI CSI-2 4-Lane FPC connector)
    • CN13 Camera1 (MIPI CSI-2 2-Lane FPC connector)
    • CN14 RL78 DEBUG connector
    • CN15 FAN connector
    • CN16 PWRM external switch input
  • Swtich
    • SW1 CAN0 Termination ON/OFF
    • SW2 CAN1 Termination ON/OFF
    • SW3 Power ON/OFF toggle switch
    • SW4 PWRM Power ON push switch
    • SW5 PWRM Power OFF push switch
    • SW6 PWRM STANDBY push switch
    • SW7 RL78 MODE Dip switch
  • Board Specification
    • Dimensions: 120mm × 97mm
    • Board thickness: 1.6mm
    • External power supply 12V/5A or 24V/2.5A
    • Topr Operating ambient temperature. Free Air room temperature 25deg ave.
    • DCIN (+6~+30V)

Where to buy

CCPF-SK is sold on Shimafuji Electric Incorporated in World wide.

Official board documentation

Board manual

CCPF-SK BSP

Connection-confirmed Hardware information

Connector Function Connection Confirmed Hardware
Camera0 Raspberry Pi Camera Raspberry Pi Camera Module V2.1
Camera1 Raspberry Pi Camera Raspberry Pi Camera Module V2.1 + Raspberry Pi Zero Camera Cable(15pin to 22 pin)
NVME0,1 M.2 SSD Samsung MZ-V7S500B
EXT-SW GPIO JST S6B-XH-A
CAN0,1 CAN Molex 39291088

How to upgrade RL78

Preparations

E2 emulator Lite

Used files: RL78.fcf, e2_emu_l.rpj, ccpfsk_rl78_v1.20.mot

  1. Connect E2 emulator Lite, CCPF-SK and PC.
  2. Startup Flash Programmer.
  3. File>Open Project>e2_emu_l.rpj
  4. Click the "Browse" button and select ccpfsk_rl78_v1.20.mot.
  5. Click "Start".

E2 emulator

Used files: RL78.fcf, e2_emu.rpj, ccpfsk_rl78_v1.20.mot

  1. Connect E2 emulator Lite, CCPF-SK and PC.
  2. Startup Flash Programmer.
  3. File>Open Project>e2_emu.rpj
  4. Click the "Browse" button and select ccpfsk_rl78_v1.20.mot.
  5. Click "Start".

How to update of Sample Loader and MiniMonitor

New version:

 Sample Loader: V3.02
 MiniMonitor: V3.02

Download:

File:UpdateFile v302.zip

[Note]

Sample Loader and MiniMonitor version of LATEST SK is V5.08.
DON'T update those SK.(You can update firmware(*) while SK and CCPF-SK connected)
Please check carefully before updating.

Why update?:

ComEx Mechanical Specification: Durability: 30 mating cycles.
This new version(V3.02) can update firmware(*) while keeping Starter Kit(SK) and CCPF-SK connected.

(*)firmware: bootparam_sa0.srec, bl2-h3ulcb/m3ulcb.srec, cert_header_sa6.srec, bl31-h3ulcb/m3ulcb.srec, tee-h3ulcb/m3ulcb.srec, u-boot-elf.srec 


How to update:

  1. Power off the CCPF-SK and remove SK from CCPF-SK
  2. Turn off SW3
    Remove SK from CCPF-SK
    
  3. Set SW of SK as follows:
  4. SW1:OFF
    SW6:OFF/OFF/OFF/OFF
    SW2:OFF/OFF/OFF/OFF
    
  5. Power on the SK (This means that you need to prepare a 5V AC-adapter for SK)
  6. Press SW8
    SCIF Download mode starts
    
  7. Send the following file from console(Ex: minicom):
  8. type "ctrl+A S" and select upload method "ascii", then choose file for uploading the following file.
    Case of M3SK:
    	BoardID_Writer_SCIF_64bit_ID=0x10(StarterKit-Pro_Rev1.0).mot
    Case of H3SK:
    	BoardID_Writer_SCIF_64bit_ID=0x58(StarterKit-Premier_Rev1.0OB).mot
    
    NOTE: Under Linux, if you got problem transferring this file, it may because of special character in its name.
    
    Solution is to open a new terminal then manually launch the transfer with the following command with double quote around filename (Ex: serial link on ttyUSB0 for M3SK):
    # /usr/bin/ascii-xfr -dsv "BoardID_Writer_SCIF_64bit_ID=0x10(StarterKit-Pro_Rev1.0).mot" > /dev/ttyUSB0
    

    You can confirm the following log (Ex: M3SK):

    +---------------------------------+
    |  Board ID Writer V01 2017.06.23 |
    +---------------------------------+
     Product Code : R-Car M3 ES1.0
    
     Now Board ID : Unknown Board Rev7 (0xFF)
     New Board ID : Starter Kit Rev0 (0x10)
     Wrote Board ID : Starter Kit Rev0 (0x10)
    
    Writer Program End.
    
  9. Power off the SK
  10. Press SW8
    
  11. Set SW as follows:
  12. M3SK = SW6:OFF/ON/OFF/OFF
    H3SK = SW6:OFF/OFF/OFF/OFF
    
  13. Power on the SK
  14. Press SW8
    SCIF Download mode starts
    
  15. Send the following file from console:
  16. type "ctrl+A S" and select upload method "ascii", then choose file for uploading the following file.
    Case of M3SK:
    	AArch32_Gen3_H3_M3_Scif_MiniMon_V3.02.mot
    Case of H3SK:
    	AArch64_Gen3_H3_M3_Scif_MiniMon_V3.02.mot
    

    You can confirm the following log (Ex: M3SK):

    R-Car Gen3 Scif Download MiniMonitor V3.02 2017.07.04
     Work Memory     : SystemRAM
     Board Judge     : Used Board-ID	<-- Attention!!
     DDR_Init        : boardcnf[3] Starter Kit (M3SIP)
     Board Name      : Starter Kit Pro
     Product Code    : R-Car M3 ES1.0
    
    >
    
  17. Flash AArch64_Gen3_H3_M3_SPI_LOADER_V3.02.mot. In console execute xls command (load program to hyper flash) and provide the following inputs:
  18. xls
    1
    y
    y
    y
    1
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "AArch64_Gen3_H3_M3_SPI_LOADER_V3.02.mot", after upload finished press y key
    
  19. Flash AArch64_Gen3_Spi_MiniMon_V3.02_E6330000.mot. In console execute xls command (load program to hyper flash) and provide the following inputs:
  20. xls
    1
    y
    y
    y
    3
    e6330000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "AArch64_Gen3_Spi_MiniMon_V3.02_E6330000.mot", after upload finished press y key
    
  21. Power off the SK
  22. Press SW8
    
  23. Verify Sample Loader and MiniMonitor version
  24. SW1:OFF
    M3SK
     SW6[1]=OFF, SW6[2]=OFF, SW6[3]=OFF, SW6[4]=ON
    H3SK
     ws1.0: SW6[all]=OFF
     ws1.1/ws2.0: SW6[1]=ON, SW6[2]=ON, SW6[3]=OFF, SW6[4]=ON
    
    Press SW8
    

    You can confirm the following log (Ex: H3SK):

    R-Car Gen3 Sample Loader V3.02 2017.07.04		<-- !! V3.02 !!
     For Salvator , Kriek , and StarterKit.
     Board Judge     : Used Board-ID
     DDR_Init        : boardcnf[7] Salvator / Starter Kit (H3SIP_VER2.0)
     INITIAL SETTING : Starter Kit Premier / R-Car H3 ES2.0
     CPU             : AArch64 CA57
     DRAM            : LPDDR4 DDR3200
     DEVICE          : QSPI Flash(S25FS128) at 40MHz DMA
     BOOT            : Normal Boot
     BACKUP          : DDR Cold Boot
     jump to 0xE6330000
    
    R-Car Gen3 MiniMonitor V3.02 2017.07.04		<-- !! V3.02 !!
     Work Memory     : SystemRAM
     Board Name      : Starter Kit Premier
     Product Code    : R-Car H3 ES2.0
    
    >
    
  25. Set SW(Kernel boot mode) as follows:
  26. SW1:ON
    M3SK = SW6[all]:ON
    H3SK
     ws1.0 = SW6:OFF/OFF/OFF/ON
     ws1.1 = SW6:ON/OFF/ON/ON
     ws2.0 = SW6[all]:ON
    
  27. You can update the firmware with SK connected to CCPF-SK.
  28. How to update:
    http://elinux.org/R-Car/Boards/M3SK#Flashing_firmware
    http://elinux.org/R-Car/Boards/H3SK#Flashing_firmware


Q&A site

https://community.renesas.com/automotive/r-car-h3-m3-cockpit/

FAQ site