Difference between revisions of "R-Car/Boards/CCPF-SK"
(→CCPF-SK BSP: Add ubuntu link) |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{TOC right}} | {{TOC right}} | ||
− | |||
[[Category:R-Car]] | [[Category:R-Car]] | ||
[[Category:R-Car Gen3]] | [[Category:R-Car Gen3]] | ||
− | |||
== Introduction == | == Introduction == | ||
Line 21: | Line 19: | ||
This section contains information about CCPF-SK hardware. | This section contains information about CCPF-SK hardware. | ||
− | + | [[File:CCPF-SK top.png | 600px 450px]] | |
+ | [[File:CCPF-SK bottom.png | 600px 450px]] | ||
=== Hardware Feature === | === Hardware Feature === | ||
Line 58: | Line 57: | ||
== Where to buy == | == Where to buy == | ||
− | CCPF-SK is sold on Shimafuji Electric Incorporated in World wide | + | CCPF-SK is sold on Shimafuji Electric Incorporated in World wide. |
* [http://www.shimafuji.co.jp/en/products/1923 English page] | * [http://www.shimafuji.co.jp/en/products/1923 English page] | ||
* [http://www.shimafuji.co.jp/products/2308 Japanese page] | * [http://www.shimafuji.co.jp/products/2308 Japanese page] | ||
Line 70: | Line 69: | ||
== CCPF-SK BSP == | == CCPF-SK BSP == | ||
− | * Refer to [[R-Car/Boards/CCPF-SK/GettingStarted | Quick startup guide]] for quick start CCPF-SK within 30min | + | * Refer to [[R-Car/Boards/CCPF-SK/GettingStarted | Quick startup guide]] for quick start CCPF-SK within 30min. |
* Refer to [[R-Car/Boards/CCPF-SK/Yocto-Gen3 | yocto page]] for steps necessary for building and running a Yocto image. | * Refer to [[R-Car/Boards/CCPF-SK/Yocto-Gen3 | yocto page]] for steps necessary for building and running a Yocto image. | ||
+ | * Refer to [[R-Car/Boards/CCPF-SK/Ubuntu | Ubuntu page]] for running Ubuntu on CCPF-SK. | ||
== Connection-confirmed Hardware information == | == Connection-confirmed Hardware information == | ||
Line 81: | Line 81: | ||
|- | |- | ||
| Camera0 || Raspberry Pi Camera | | Camera0 || Raspberry Pi Camera | ||
− | | Raspberry Pi | + | | Raspberry Pi Camera Module V2.1 |
|- | |- | ||
| Camera1 || Raspberry Pi Camera | | Camera1 || Raspberry Pi Camera | ||
− | | Raspberry Pi | + | | Raspberry Pi Camera Module V2.1 + Raspberry Pi Zero Camera Cable(15pin to 22 pin) |
|- | |- | ||
| NVME0,1 || M.2 SSD | | NVME0,1 || M.2 SSD | ||
Line 95: | Line 95: | ||
| Molex 39291088 | | Molex 39291088 | ||
|} | |} | ||
+ | |||
+ | == How to upgrade RL78 == | ||
+ | |||
+ | === Preparations === | ||
+ | * [http://www.shimafuji.co.jp/en/products/1923 CCPF-SK] | ||
+ | * [https://www.renesas.com/us/en/software-tool/e2-emulator-lite-rte0t0002lkce00000r E2 emulator Lite] or [https://www.renesas.com/us/en/software-tool/e2-emulator-rte0t00020kce00000r E2 emulator] | ||
+ | * [https://www.renesas.com/us/en/software-tool/renesas-flash-programmer-programming-gui Flash Programmer] | ||
+ | * files for Flash Programmer(required download) ([[File:Ccpfsk_rl78.zip]]) | ||
+ | * original source code of e2 studio(download if necessary)([[File:Ccpfsk-rl78_e2studio.zip]]) | ||
+ | * connector | ||
+ | *: In order to write programs to RL78, it is necessary to create the following adapter that connects CCPF-SK and E2 emulator Lite(E2 emulator).<br/> | ||
+ | *: For details, please refer to [https://www.renesas.com/us/en/document/mat/e1e20-emulator-e2-emulator-lite-additional-document-users-manualnotes-connection-rl78for-rl78g10?language=en&r=488806 E2 emulator Lite(E2 emulator)] and [https://www.renesas.com/us/en/document/mah/rl78g10-users-manual-hardware-rev311?language=en RL78 user's manual]. | ||
+ | *: [[File:adapter_circuit-diagram.png]] | ||
+ | *: [[File:adapter.png]] | ||
+ | |||
+ | === E2 emulator Lite === | ||
+ | Used files: RL78.fcf, e2_emu_l.rpj, ccpfsk_rl78_v1.20.mot<br/> | ||
+ | # Connect E2 emulator Lite, CCPF-SK and PC. | ||
+ | # Startup Flash Programmer. | ||
+ | # File>Open Project>e2_emu_l.rpj | ||
+ | # Click the "Browse" button and select ccpfsk_rl78_v1.20.mot. | ||
+ | # Click "Start". | ||
+ | |||
+ | === E2 emulator === | ||
+ | Used files: RL78.fcf, e2_emu.rpj, ccpfsk_rl78_v1.20.mot<br/> | ||
+ | # Connect E2 emulator Lite, CCPF-SK and PC. | ||
+ | # Startup Flash Programmer. | ||
+ | # File>Open Project>e2_emu.rpj | ||
+ | # Click the "Browse" button and select ccpfsk_rl78_v1.20.mot. | ||
+ | # Click "Start". | ||
== How to update of Sample Loader and MiniMonitor == | == How to update of Sample Loader and MiniMonitor == |
Latest revision as of 22:47, 17 March 2022
|
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.
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
- Refer to Quick startup guide for quick start CCPF-SK within 30min.
- Refer to yocto page for steps necessary for building and running a Yocto image.
- Refer to Ubuntu page for running Ubuntu on CCPF-SK.
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
- CCPF-SK
- E2 emulator Lite or E2 emulator
- Flash Programmer
- files for Flash Programmer(required download) (File:Ccpfsk rl78.zip)
- original source code of e2 studio(download if necessary)(File:Ccpfsk-rl78 e2studio.zip)
- connector
- In order to write programs to RL78, it is necessary to create the following adapter that connects CCPF-SK and E2 emulator Lite(E2 emulator).
- For details, please refer to E2 emulator Lite(E2 emulator) and RL78 user's manual.
- In order to write programs to RL78, it is necessary to create the following adapter that connects CCPF-SK and E2 emulator Lite(E2 emulator).
E2 emulator Lite
Used files: RL78.fcf, e2_emu_l.rpj, ccpfsk_rl78_v1.20.mot
- Connect E2 emulator Lite, CCPF-SK and PC.
- Startup Flash Programmer.
- File>Open Project>e2_emu_l.rpj
- Click the "Browse" button and select ccpfsk_rl78_v1.20.mot.
- Click "Start".
E2 emulator
Used files: RL78.fcf, e2_emu.rpj, ccpfsk_rl78_v1.20.mot
- Connect E2 emulator Lite, CCPF-SK and PC.
- Startup Flash Programmer.
- File>Open Project>e2_emu.rpj
- Click the "Browse" button and select ccpfsk_rl78_v1.20.mot.
- 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:
- Power off the CCPF-SK and remove SK from CCPF-SK
- Set SW of SK as follows:
- Power on the SK (This means that you need to prepare a 5V AC-adapter for SK)
- Send the following file from console(Ex: minicom):
- Power off the SK
- Set SW as follows:
- Power on the SK
- Send the following file from console:
- 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:
- Flash AArch64_Gen3_Spi_MiniMon_V3.02_E6330000.mot. In console execute xls command (load program to hyper flash) and provide the following inputs:
- Power off the SK
- Verify Sample Loader and MiniMonitor version
- Set SW(Kernel boot mode) as follows:
- You can update the firmware with SK connected to CCPF-SK.
Turn off SW3 Remove SK from CCPF-SK
SW1:OFF SW6:OFF/OFF/OFF/OFF SW2:OFF/OFF/OFF/OFF
Press SW8 SCIF Download mode starts
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.
Press SW8
M3SK = SW6:OFF/ON/OFF/OFF H3SK = SW6:OFF/OFF/OFF/OFF
Press SW8 SCIF Download mode starts
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 >
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
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
Press SW8
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 >
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
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
- https://en-support.renesas.com/knowledgeBase/category/31363 (English page)
- https://ja-support.renesas.com/knowledgeBase/category/31403 (Japanese page)