This documentation primarily references RH850/U2B6 Starter Kit for
illustrations and examples. While the majority of concepts and
procedures are applicable to RH850/U2B10 Starter Kit by analogy, certain
components, connectors, or features shown in the images may be specific
to RH850/U2B6 Starter Kit and not available on RH850/U2B10 Starter Kit.
For accurate hardware details and feature availability, please consult
the Starter Kit Hardware User Manual.
You can install and use either Green Hills MULTI or Renesas CS+ for
CC IDE tools. If you already have a Kickstart-, evaluation- or
fully-licensed-version of one of these tools, you do not need to
re-install them.
Note
Installation of the tool packages may require administrative
rights.
When unpacking the Sample Software, do not use blank space or
country specific characters to avoid problems.
License
For GHS Multi the "RH850 Starter Kit License Information" printout
about licensing request procedures.
For CS+ Renesas provides an Evaluation Edition license that
functions like the Professional Edition for 60 days, starting from the
first build after installation.
The Starter Kit uses an external power supply of 12V 1A and generates
all required voltages using the Renesas RAA271084 PMIC and Renesas
ISL85410 synchronous buck regulator. After connecting the external power
supply, the following LEDs can be observed: -
LED
Signal
Description
Status
LED1
SSPB
System status LED for the PMIC
ON
LED2
V_BAT
Reflects battery power status
ON
LED3
V_5V7
Shows 5.7V rail status
ON
LED4
V_LDO1
Indicates LDO1 3.3V power supply
ON
LED5
V_LDO2
Indicates LDO2 3.3V power supply
ON
LED6
V_LDO3
Indicates LDO3 3.3V power supply
OFF
LED7
V_LDO4
Indicates LDO4 5.0V power supply
ON
LED8
VCC5V0
Shows 5.0V rail status
ON
LED9
VCC3V3
Shows 3.3V rail status
ON
LED11
LED_RESET#
Active RESET by button or E2 Emulator
OFF
LED13
LED_PG_VDD
Power Good – functional electrical power network
ON
External Power Supply
The pre-programmed Sample Software will start and light up the RGB
Encoder as well as the ring LEDs and user LEDs. The display will show
the RH850 welcome screen. Press and use the Encoder Button to navigate
through the menu. Refer to
Appendix C for
more details on the display menu.
4 Terminal Connection
After completion of the power supply connection, please connect the
USB/UART port to a free USB port of the PC.
The Windows™ operating system installs necessary drivers
automatically.
Two new USB Serial Ports become available in the Device
Manager:
Serial USB in Device Manager
The first port, here COM88, corresponds to the RH850/U2B UART.
The second port, here COM89, corresponds to the RL-Device which acts
as the Configurator.
You can also use the Configurator GUI (see below) main tab to verify
the COM ports.
Note: You might need to install FTDI Driver if the system does
not recognize the USB/UART port.
Open your preferred terminal program. This guide uses TeraTerm as
example.
From the default terminal settings, for TeraTerm configure:
Setup->Serial port…
Port: Your RH850/U2B COM Port
Speed: 115200
Setup->Terminal…
New-Line Receive: AUTO
When you now reset your Starter Kit via the SW1 Reset switch. The
build message appears, followed by a prompt. Type "help" and press
Return to see available commands. Refer to
Appendix D for
further information on shell commands.
Shell Help Command
5 Starter Kit Configuration
RH850/U2B6 Starter Kit Board Top View
The Starter Kit comes with the standard configuration of all
peripherals enabled and CAN loopback mode active.
Note: Changing these settings might cause the Starter Kit to not
function as expected with the pre-loaded sample software.
Definitely, the Configurator GUI can be used to change the
configuration of the Starter Kit for user application requirement. In
order to load a configuration file, Refer to
Appendix
E.
For more information about the Configurator GUI, please refer to the
Y-ASK-RH850U2B User's Manual.
6 Debug Connection
Connect the Renesas E2 Emulator via USB to your PC.
Set SW1 of the E2 Emulator to position 1 Other and connect
it to DEBUG PORT on the Starter Kit.
E2 Emulator and 20-Pin to 14-Pin Adapter
If you connect the E2 Emulator the first time, the ‘Found New
Hardware’ wizard will appear. Please follow the steps below to install
the drivers. Please note that the installation requires administrator
privileges. “Device driver software installed successfully” pop-up will
appear in the Windows™ toolbar.
The Sample Software comes with an RFP Project and prebuilt binaries.
To flash the original Sample Software, with the E2 Emulator connected to
the powered Starter Kit, open the RFP project (.rpj file) by
double-clicking at the project file as shown in below path:-
"RFP_Project/U2B6/Y-ASK-RH850U2B6_RFP_GHS.rpj" and click on
"Start".
OR
"RFP_Project/U2B6/Y-ASK-RH850U2B6_RFP_CSP.rpj" and click on
"Start".
RFP Flash Progress
8 Using Green Hills MULTI IDE
Green Hills MULTI integrates tools such as compiler, assembler,
debugger, and editor into a common graphical user interface. To learn
more on how to use MULTI, open the user manual via the help menu of the
Green Hills MULTI IDE.
If you run this IDE for the first time, MULTI will not find a valid
license. Please refer to the "RH850 Starter Kit License Information"
document for the procedure.
Upon reception of the license e-mail, follow the instructions to install
the license and re-launch MULTI.
8.1 Build
8.1.1 Build project using MULTI
Project Manager
Open the project under
"Toolchain->GHS->U2B6->Y-ASK-RH850U2B6_ProjectBuild_GHS.gpj"
To clean the project "Build->Clean
Y-ASK-RH850U2B6_r7f70255x.elf"
To build the project "Build->Build program
Y-ASK-RH850U2B6_r7f70255x.elf"
Connect the Renesas E2 Emulator via USB to your PC.
Go to "Debug"-> "Download"
Execute program
Toolchain CSP Debug DownloadToolchain CSP Execute Program
10 Using VS Code and Make
10.1 Setup Build Environment for
Compilers
The Sample Software uses a Make environment and depends on the
"CoreUtils" package. You can download "GnuWin32 Make-3.81" and "GnuWin32
CoreUtils-5.3.0" packages from sourceforge.
Refer to manuals here.
Add the installation path (C:\Program Files (x86)\GnuWin32\bin) to
user's or system's PATH environment variable.
Add your CubeSuite+ and/or Green Hills Multi installation paths as
GHS_COMPILER and CS_COMPILER environment variables to your system like
follows:
Connect the Renesas E2 Emulator via USB to your PC.
To debug open "Toolchain/GHS/U2B6/Y-ASK-RH850U2B6_Debug_GHS.ghsmc"
by double click or run multi.exe from the start menu, select
"Components->Open Debugger…" and navigate to the specified debug
project file. MULTI then loads the project.
For a quick connection, open the Connection Manager and load the
Y-ASK-RH850U2B6_Connection_GHS.con file from the Debug folder.
GHS Open Connection ManagerLoad Connection File
Click "File->Save" and close the window. Afterwards you can
choose the Y-ASK-RH850U2B6 connection method.
This method uses .dvf file available inside the Debug folder
provided device file. For the latest version please use this
link.
Adapt the Device File path for the connection method to your
location.
For more details on, refer to Appendix A on how to
create a Connection Method.
Click the Go button to Prepare Target, check
"Download to RAM or Internal Flash ROM" and click OK.
If the Prepare Target window does not show up, open it via
"Debug->Prepare Target…"
Prepare Target in Debugger
10.3.2 Debug-only CSP project
Connect the Renesas E2 Emulator via USB to your PC.
To debug open
"Toolchain/CSP/U2B6/Y-ASK-RH850U2B6_DebugOnly_CSP.mtpj" or start
CubeSuite+ for CC and select "File->Open…" and navigate to the
specified debug project file.
Upon opening project you will land to the home screen of CS+ for
CC.
Selecting the MTPJ Project Debug File
To start debugging select "Debug->Download" or click the Download
button from the toolbar.
Downloading and Debugging in CSP
The program halts at main with debugger manager window available
now.
Halt at Main Function
In the debug manager press the button to execute the program from
the current position.
Execute Program from the Current Position
The program runs following the above step as seen visible.
CSP program running
To stop the debugger, use the ‘Stop’ button.
After finishing the debug session simply disconnect the Renesas E2
Emulator.
For more details on the CS+ tools, please refer to the Help
menu.
11 Next Steps
After you have completed this quick start procedure, please review
the documentation available on the product website (see Chapter
“Support”). The sample project contains everything to
start developing your own projects. The software tools provided
constitute evaluation versions and include limitations described in the
tool vendor's documentation. To get fully functional versions, please
contact your Renesas sales office.
Refer to the available appendices which provide insights to become
familiar with the Starter Kit Sample Software.
Refer to Appendix B about how to work with the
Starter Kit.
Refer to Appendix C about how to work with the
display menu.
Refer to Appendix D about how to work with the few
of the shell commands.
Refer to Appendix E about how to work with the
configurator software.
12 Support
To access the online resources and find the latest updates of the
sample code or documentation please visit the Renesas website for the RH850/U2B Starter
Kit
In case of questions, please feel free to contact the Renesas
technical support team via "device_support.rh850-eu@lm.renesas.com"
or your existing Jira account.
13 Appendix A - GHS Connection
Editor
The following explains in general for creation of new GHS connection
methods for the Y-ASK-RH850U2B.
Press the icon "Create a new Connection Method".
Begin Creating a New Connection Method
Write down the name of your connection method. For example,
"Y-ASK-RH850U2B6 12V".
Using the drop-down menu choose type as "Renesas V850/V850E ICE
(850eserve2)"
Creating a New Connection Method
In the Connection tab choose the .dvf file according to the
device code printed on your MCU from your local machine. For the U2B6
Starter Kit select dr7f70255x.dvf.
(Note: The device file portrayed in the image below serves only for
general explanatory purposes and may not apply to U2B6 Starter
Kit).
Update the debugger settings for E2 Emulator, RH850 Core and 4pin
LPD.
Connection TAB
Select the Clock tab and set the main clock to 20 MHz
(enter as 20000 kHz).
Clock TAB
Select the Advanced tab and set the "Registry ID Code" to
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff".
Advanced TAB
Select the Debug tab and write "-nouse_svr" to Other
Options to disable usage of the integrated switching voltage
regulator.
Debug TAB
Press "Apply" and "OK".
Note: Change other settings only if required and
familiar to you.
14 Appendix B - Working with the
Starter Kit
Upon boot the shell starts on the corresponding COM port.
Note: If you cannot see the shell, check the
Configurator and terminal settings described above.
Shell Interface
Type help to show available commands.
Help Output
If not used correctly, the shell will provide further information.
Appendix D describes the available command set.
The CAN self-test expects a loopback connection between CAN0 and
CAN1 as configurable in the Configurator. No additional hardware is
necessary.
CAN0 and CAN1 Connection Adapter Cables and Connection Methods
The "system_test" command executes a self-test for certain onboard
features and prompts the result in the terminal.
System Test Output
100Base-T Ethernet test requires the physical Ethernet cable
connection from target to the host directly or via an Ethernet-to-USB
adapter. "Source/Apps/Y-ASK-RH850U2B/ethernet/r_ethernet.h" defines the
Starter Kits IPv4 address per default to 192.168.10.10.
Configure the IPv4 settings of the network adapter in use as
follows:
IP Address: 192.168.10.xxx, but different from Starter Kit's IP
Subnet mask: 255.255.255.0
Gateway: 192.168.10.1
DNS Server: Anything you like, as we connect via direct IP.
Select "Mode 1" either using the web interface or by pressing
SW2 (INT1) or display-menu.
The web-interface reflects the user inputs for the circular LEDs
controlled using encoder button by turning clockwise and counter
clockwise.
Circular LED Status
The User LEDs LED20, LED21, LED22 and LED23 produce a cyclic pattern
of glowing continuously.
User LED Status
The potentiometer POTI1 controls the bar.
POTI1 Status
Select Mode 2 by either using web-interface, pressing the
SW2 (INT1) or the display menu.
The User LEDs: LED20, LED21, LED22 and LED23 go to OFF state. The
circular user LEDs around the encoder behave as they used to as Mode 1
setting
User LED Mode 2
The potentiometer POTI1 controls the color of the encoder RGB
LED.
Encoder RGB LED
Executing RESET using web-interface “MCU Reset” or SW1 will
reset the MCU.
"System Status" displays details like "Runtime".
15 Appendix C - Working with the
Display Menu
After boot the display shows the following welcome screen.
Display ON
Use the encoder button to enter the menu and then use the encoder to
navigate through it.
Enter "SystemInfo" to see runtime and System Test status. You can
execute the System Test as also available from the shell here. If all
tests pass it prints "OK".
System Info
Enter "Ethernet Info" to see link status, IP Address and frame
counters.
Ethernet Info
When executing “Go to Stop" the RH850/U2B goes to STOP mode,
a standby mode. User LEDs and Encoder LED will go OFF and the display
will show STOP status as shown below. To wake up from this state, please
press "INT0” switch (SW3).
Stop Info
Use "MCU Reset" to perform reset.
Reset MCU
16 Appendix D - Working with the
Shell
This chapter shows the usage of the implemented shell commands.
Type help to get command information
Shell Help Command
Below figures show how to use the PMIC commands.
PMIC ID Low Command PMIC ID High Command PMIC Device ID Low Command PMIC OTP ID High Command PMIC OTP ID Low Command
Below figure shows how to use the LIN command.
LIN Transmission Command
17 Appendix E - Working with the
configurator software
With the PC connected to the USB/UART port of the Starter Kit run the
Configurator GUI executable available for download to configure the
Starter Kits hardware.
Let us assume there exists a configuration file called
"config_all_peripherals_enabled.cfg" that contains all the settings you
want to use. To load it click "Configuration file->Load".
Activate your settings by clicking "Write to board (volatile)". If
you want to save the settings for the next boot, save it under the
"Non-volatile" tab and activate the "Make bootable" checkbox.
Configuration Tool
18 Revision History
Rev.
Date
Summary
V1.00
2025-10-09
Initial Release for Sample Software V0100
V2.00
2025-16-12
Release for Sample Software V0200. U2B10 support added, PMIC command updated, Encoder LED startup updated.