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

SW Release Information

Board name SW name Release date Note
R-Car Starter Kit ( Premier / Pro ) Yocto v5.5.0 (latest) [New!!] 2021/10/01
Yocto v3.21.0 (stable) 2019/07/09 New R-Car Starter Kit Pro(RTP8J77961ASKB0SK0SA05A) is supported from 2020/07/10.
meta-renesas was updated on 2021/08/03.
Kingfisher Infotainment Board Yocto v5.5.0 (latest) [New!!] 2021/10/01 To check for latest information, please refer to the meta-rcar/tree/v5.5.0.
Yocto v3.21.0 (stable) 2019/08/07 To check for latest information, please refer to the meta-rcar/tree/v3.21.0.
New R-Car Starter Kit Pro(RTP8J77961ASKB0SK0SA05A) is supported from 2020/08/02.
meta-renesas was updated on 2021/08/03.
Android 10 (stable) [New!!] 2021/07/26 R-Car Starter Kit Premier(R-Car H3) + Kingfisher is supported.
Android P (stable) 2020/09/29 R-Car Starter Kit Premier(R-Car H3) + Kingfisher is supported.
New R-Car Starter Kit Pro(RTP8J77961ASKB0SK0SA05A) + Kingfisher is also supported from 2021/03/16.
CCPF-SK Board Yocto v5.1.0 (latest) [New!!] 2021/10/01 Prebuilt binary is availeble in Quick startup guide page.


Hardware

Board layout

This section contains information about CCPF-SK hardware.

Note: PCB images are under preparing

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 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://renesasrulz.com/r-car-h3-m3-cockpit/

FAQ site