If you encounter any issues after the upgrade, please open a support request TICKET.🙌
Getting Started with the RL78 Family Development Environment
The above webpage introduces the tools required for development, recommended kits, and information on downloading products for new users of the RL78 family development environment.
Development environment pre-installation: (choose either one)
Board:
Emulator:
Create a new project via File->New->Renesas
(1) Select [File] → [New] → [Renesas C/C++ Project] → [Renesas RL78] to activate the project creation wizard.
(2) In the project creation wizard, select [Renesas RL78] → [->Renesas RL78. Select a Renesas CC-RL C Executable Project] or [LLVM for Renesas RL78 C/C++ Executable Project], and click on the [Next] button.
(3) Enter project information (Give the project a name – no spaces or special characters.). Click on the [Next] button to continue.
(4) Select the toolchain, device, and debug configuration. Click on the [Next] button. (e.g. Target Device: RL78G23 – 64 pins (Part number: R7F100GLGxFB))
and click Next. Provide an appropriate name for the project.
Image Added
Image Added
Image Added
Ensure that the Toolchain is set to Renesas CC-RL with the latest version. Select the MCU shown: RL78G23, R7F100GLGxFB. Choose the E2 Lite (RL78) for the Hardware Debug Configuration, then click Next.
Leave the Use Smart Configurator checkbox selected, then click Next.
Image Added
Choose Bare Metal - Blinky and click Finish.
Image Added
You will see the Smart Configurator perspective view as shown below.
Image Added
When the FPB-RL78G23 is selected, the default configuration utilizes the COM Port as the debugging interface. Therefore, if you intend to use E2-Lite as a debugger, please ensure that these settings are adjusted manually in accordance with the specifications.
Image Added
Click “Generate Code”.
Image Added
Build and debug the project, and then click “Resume” twice. You will observe LED2 on this board blinking every second.
Image Added
In the CS+ development environment, Blinky's sample code is not provided. It is necessary to create the project manually. The following steps can be used as a guide.
Create a new project via File->New->Create New Project….
Image Added
Select “R7F100GLGxFA” and provide an appropriate name for the project. Then click “Create”.
Image Added
Open Smart Configurator by double-clicking “Smart Configurator (Design Tool)” in Project Tree Window.
Image Added
Configure the port. In the Components tab, click "Add component".
Image Added
Select "Ports" and then click "Finish".
Image Added
Configure P52 as an output pin and its default output level after reset is 0 (Low level).
Image Added
Image Added
To use the "R_BSP_SoftwareDelay" API, please enable this function in r_bsp.
Image Added
Click “Generate Code” and close Smart Configurator.
Image Added
Add these user codes to main.c.
Image Added
Build this project without errors.
Modify the Debug Tool from RL78 Simulator to RL78 E2 Lite.
Image Added
Double-click “RL78 E2 Lite” to open the Property Window and power the Target Board from the emulator.
Image Added
Click Debug à Download. You will observe LED2 on this board blinking every second.
CS+ with Smart ConfiguratorTable of Contents |
---|