RL78 Web Simulator|Renesas Electronics

RL78 Web Simulator

Take the Expressway to Go Greener. Renesas Electronics.

RL78 Web Simulator Take the Expressway to Go Greener. Renesas Electronics.

What's New

2018/6/29
Addition of RL78/G11 to the lineup of Current Consumption Calculator.

2018/4/4
Improved current value of RL78/G12 serial array unit of current consumption calculator.

About the RL78 Web Simulator

A virtual development environment that supports initial evaluation for development using RL78 microcontrollers

A current consumption calculator and virtual board simulator are available for use free of charge.

Advantages

Carry out prototype development and power consumption simulation easily without purchasing development tools

  1. Easy to try out.
    You can carry out initial evaluation for developing with the RL78 Immediately and free of charge.

    • The virtual board simulator of the integrated development environment (e2 studio) allows you to check the operation of the RL78 on a virtual board without having to prepare an evaluation board. The virtual board simulator allows simulation of not only the CPU and peripheral functions of the microcontroller, but also external components such as switches, LED, and potentiometers. You can make observations and carry out serial communication at the microcontroller pin level.
  2. Estimate power consumption easily. Calculate consumption current before starting development.

    • You can use the current consumption calculator to easily calculate consumption current before starting development, to avoid the power consumption of the system becoming higher than expected. Simple set the usage conditions — no need to write a program — to calculate battery life and consumption current over time.
  3. Compute peak current and battery life using a high-precision consumption current simulator.

    • The consumption current simulator of the integrated development environment (e2 studio) allows you to analyze programs and compute consumption current highly precisely. It can also display a graph of consumption current over time.

Testimonials

Current Consumption Calculator

  • “It makes it easy to visualize power consumption, so it's very useful for product selection.”
  • “It's great that it can be used on the web without downloading anything.”
  • “The operation is simple and easy-to-use.”

Virtual Board Simulator

  • “It is very beneficial that we can check operation in advance.”
  • “I like how a development environment can be built for free.”
  • “We can perform simulations easily, which is very helpful.”

Current Consumption Calculator

Consumption current can be calculated immediately simply by setting the peripheral functions of the RL78 that are to be used. Consumption current including peripheral function operation can be calculated, allowing evaluation to be performed without programming.

Operation screen

Demo video

Easy-to-set peripheral functions
No need to program. Current calculations can be made simply by performing settings on a screen on the website.
Experience ultra-low power consumption
Consumption current including peripheral function operation can be calculated, so you can see ultra-low power consumption in numerical values.
Evaluate immediately
Current calculations can be made without building a prototype, allowing you to immediately evaluate if it can be adapted to your product.

Virtual Board Simulator

By using the new virtual board simulator included in the web simulator, prototyping and evaluation can be carried out immediately using just the integrated development environment without purchasing a development tool for the RL78. Switch inputs, LED outputs, potentiometer inputs and other I/O can be simulated on the virtual board, and I/O pin levels can be observed, allowing for easier and faster evaluation. Furthermore, the high-precision consumption current simulator that is also included enables the change in consumption current to be calculated for each step of the user program, making it possible to compute average and peak current, which in turn allows the smoothing of peak current to be considered and battery life to be calculated.

Operation screen

Demo video

Start evaluation immediately:
I/O of switches, LEDs, potentiometers, and so on can be activated in the virtual board simulator of the integrated development environment, allowing user programs to be evaluated immediately.
More precise power design:
Consumption current can be calculated for each step of the user program. Knowledge of the average and peak currents facilitates the consideration of smoothing of peak current and the calculation of battery life.
Easy simulation evaluation:
Evaluation of peak current and external signal inputs, difficult to confirm in an actual device, can be conducted using the simulator.

Supported Products

Products Features Current Consumption Calculator Virtual Board Simulator Real Board Other Real Boards
RL78/G10 General-purpose microcontrollers with low pin count, compact size, and low power consumption 10-pin/ROM:1-2KB
10-pin/ROM:4KB, and
16-pin/ROM:1-4KB
RL78/G10 Target Board
RL78/G10 Target Board+Potentiometer
RTE510Y470TGB00000R QB-R5F10Y16-TB
RL78/G11 Low pin and internal configurable analog MCU 10-25pin/ROM:16KB YQB-R5F1057A-TB
RL78/G12 Compact, low power, high function general-purpose microcontrollers ideal for sub-microcontrollers 20-24pin/ROM:2-16KB
30-pin/ROM:4-16KB
RL78/G12 Target Board QB-R5F1026A-TB
RL78/G13 Rich lineup of standard general-purpose microcontrollers 20-64pin/ROM:16-64KB
30-100pin/ROM:96-256KB
44-100pin/ROM:384-512KB, 128-pin
RL78/G13 Renesas Starter Kit Renesas Starter Kit for RL78/G13 QB-R5F100LE-TB
QB-R5F100SL-TB
RL78/G14 Highly functional general-purpose microcontrollers suitable for motor control 30-64pin/ROM:16-64KB
30-100pin/ROM:96-256KB
48-100pin/ROM:384-512KB
Renesas Starter Kit for RL78/G14
QB-R5F104LE-TB
QB-R5F104PJ-TB
RL78/G1D Bluetooth® low energy microcontrollers for smart connectivity with current consumption among the lowest in the industry 42-48pin/ROM:128-256KB
RL78/L12 Low power, compact LCD microcontrollers 32-64pin/ROM:8-32KB Renesas Starter Kit for RL78/L12
QB-R5F10RLC-TB
RL78/L13 Low power, standard LCD microcontrollers 64-80pin/ROM:16-128KB Renesas Starter Kit for RL78/L13
QB-R5F10WMG-TB

Inquiries

1. Select the product that you want to evaluate

Select a product from the list of supported products.

RL78/G10: General-purpose microcontrollers with low pin count, compact size, and low power consumption

RL78/G10 10-pin/ROM:1-2KB
RL78/G10 10-pin/ROM:4KB, and 16-pin/ROM:1-4KB

RL78/G11: Low pin and internal configurable analog MCU

RL78/G11 10-25pin/ROM:16KB

RL78/G12: Compact, low power, high function general-purpose microcontrollers ideal for sub-microcontrollers

RL78/G12 20-24pin/ROM:2-16KB
RL78/G12 30-pin/ROM:4-16KB

RL78/G13: Rich lineup of standard general-purpose microcontrollers

RL78/G13 20-64pin/ROM:16-64KB
RL78/G13 30-100pin/ROM:96-256KB
RL78/G13 44-100pin/ROM:384-512KB, and 128-pin

RL78/G14: Highly functional general-purpose microcontrollers suitable for motor control

RL78/G14 30-64pin/ROM:16-64KB
RL78/G14 30-100pin/ROM:96-256KB
RL78/G14 48-100pin/ROM:384-512KB

RL78/G1D: Bluetooth® low energy microcontrollers for smart connectivity with current consumption among the lowest in the industry

RL78/G1D 42-48pin/ROM:128-256KB

RL78/L12: Low power, compact LCD microcontrollers

RL78/L12 32-64pin/ROM:8-32KB

RL78/L13: Low power, standard LCD microcontrollers

RL78/L13 64-80pin/ROM:16-128KB

2. Enter login information

After you click on a supported product, the My Renesas login screen will be displayed. Login using your ID and password. (If you don't have a My Renesas account yet, please register for a new account.) After logging in, a user agreement will be displayed. Please read and agree to proceed to the calculator.

3. How to use the calculator

  1. Select peripheral functions
  2. Set the operating parameters of each peripheral function
  3. Click the Calculate consumption current button.
  4. The consumption current will be displayed.

Recommended Environment

It is recommended that this service be used under the following environment. Part or all of the service may not work correctly if not used under an environment that is shown below. Depending on your browser settings, part or all of the service may also not work correctly.

  • 【Supported OS】
    【Windows 10】
    【Windows 8.1】
    【Windows 7】
  • 【Supported browsers】
    【Internet Explorer 11】
    【Google Chrome (latest version)】
    【Firefox (latest version)】

1. Install e2 studio

Download the e2 studio integrated development environment from the following page and install it.
*A My Renesas account is required for downloading the file

Download e2 studio here >>

Video: RL78 e2 studio setup procedure

2. Download virtual board panel and sample project

Download a sample project and a virtual board panel.

3. Import sample project

1. Open e2 studio and select Workbench (only need to select the first time).

2. Select 1) File and then 2) Import.

3. In the popup Import dialog that appears, select 1) General and 2) Existing project to workspace, and click 3) Next.

4. Click Browse beside 1) Select archive file, and select the 2) sample project (ZIP file) that you downloaded. The project name will be displayed in the project window. Make sure that the checkbox is selected, and click 3) Finish.

After the import has been completed, the selected project will appear in the project explorer.

4. Debugger connection & panel settings

1. Select the imported project, right-click, and select Build project from the context menu.

2. After the build has completed, select the project, right-click, and select 1) Debug and 2) Debugging configuration.

3. In the debugging configuration dialog, in 1) Renesas Simulator Debugging (RX, RL78), select 2) [project name] SimulatorDebug, and click 2) Debug.

4. When the debugger loads, the GUI for the simulator will also open at the same time. Select File and Open.

5. In the file type pulldown menu on the lower right, select 1) I/O panel file (.pnl), and then select your 2) [workspace folder]/[project file]/[board name].pnl.

After that, run the program to check its operation on the virtual board.

Current Consumption Calculator

Q: Can decimal values be used for the time and period settings of peripheral functions?
A: No, decimal values are not supported. Please use integer values.
Q: The current consumption calculator is not displaying correctly.
A: If you are using Internet Explorer 11, please disable Enterprise Mode. The current consumption calculator does not work in Enterprise Mode. If you are not in Enterprise Mode and the tool still doesn't work, please use Firefox or Google Chrome instead.
Q: Are the current values that are displayed guaranteed values?
A: No, the current values that are displayed are reference values only, and they are not guaranteed. They are reference current values for standard samples at 25°C.
Q: Can current values be calculated at temperatures other than 25°C?
A: No. Current values can only be calculated at 25°C.
Q: Can the combinations that can be set in the current consumption calculator be selected by microcontroller?
A: Some combinations cannot be selected. Please refer to the user's manual for details.
Q: What length of period can be measured?
A: If milliseconds is selected in the time settings, a period from 0 to 60 seconds can be measured. If microseconds is selected in the time settings, a period from 0 to 60 milliseconds can be selected.
Q: Where is the battery-life calculation result displayed?
A: Hover the mouse cursor over graph to show the battery life.
Q: How do I use snapshots?
A: Up to four sets of set conditions can be saved as snapshots, and be used to compare graphs.
Save - Display calculated results and select a data number (1 to 4) to save. Set conditions and the graph will be saved.
Restore - Select a data number (1 to 4) to restore the set conditions and graph.
Compare - Compare the currently displayed graph with a saved graph.
Q: Can graph data be saved?
A: Select save to save graph data as a CSV file.
Q: The names of peripheral functions are displayed in blue and black? What do the colors mean?
A: Functions that are in use are displayed in blue. Functions that are not in use are displayed in black.
Q: What about current values for other RL78 Groups?
A: We plan to expand the lineup of supported products going forward.
Q: How do I check peak current?
A: The display of peak current depends on the timescale. To check the peak current, set the timescale to 1/1. You can select milliseconds or microseconds as the unit of time.
Q: RL78 has multiple operating modes. Which mode is selected?
A: The operating mode settings are as follows.
  8 < f ≤ 20 MHz: HS mode
  1 > f ≥ 8 MHz: LS Mode

Virtual Board Simulator

Q: How do I use the virtual board simulator?
A: The procedure is as follows.
1. Extract the board panel that you would like to use. After extraction, place the two files in the same folder.
2. Load the simulator. In the simulator GUI window, open the input/output panel file (file extension ".pnl") of the virtual board that you extracted in step 1.
Q: I'm not sure how to use e2 studio and/or the current consumption simulator.
A: Please refer to the instructions(http://resource.renesas.com/resource/lib/eng/websimulator/index.html#board) here.
Q: Can I use application notes with the virtual board simulator other than the ones that are posted on the web simulator site?(http://resource.renesas.com/resource/lib/eng/websimulator/index.html)
A: Application notes for products that are supported by the virtual board simulator may be used. Please check the web simulator site (http://resource.renesas.com/resource/lib/eng/websimulator/index.html) to see the RL78 products that are supported by the virtual board simulator. Please be aware that operating times on the simulator differ from operating times on a real machine. For example, a program that makes an LED blink in 1-second intervals will not blink at exact 1-second intervals on the simulator.
Back to the top of the page