Image
Hisayo Yamagata
Yamagata, Hisayo
Principal Specialist, IoT Product Marketing

For those of you who are going to use RX MCU at office, laboratory, or club activity, and who are planning to use, today, I will introduce our Renesas RX’s web page and what to download at the start of development. I have also tried installing the latest RX development environment. You need only 2 steps to get ready.

At first, please visit ‘RX Family Development Environment’. As shown in Figure 1, you will need to install of the Integrated Development Environment (IDE) and compiler. 

Image
IDE and Compiler

[Figure 1]

So let’s install it by following procedures. (Even if you don’t have a board yet, don’t worry. Installation, activation, and build is available.)
Step 1. Scroll down the page ‘RX Family Development Environment’ to Figure 2. Click “Latest version” of Integrated Development Environment (IDE), e2 studio (called as e-square-studio), to download.
(You are requested to log in to My Renesas here. If you have not registered yet, please click ‘Register’ for registration.)
 

Image
e2studio install

[Figure 2] 

Step2. Unzip the downloaded file (Figure 3-1) and double-click on the exe file (Figure 3-2) to install e2 studio.
You can also install free compilers by following the instructions.

Image
Zip file

[Figure 3-1]

 

Image
EXE file

[Figure 3-2]

That’s all!
Development environment is ready.

After activating e2 studio, the message ‘Welcome to e2 studio’ is displayed (Figure 4). Click [Create a new C/C++ project] to create a new project (a code generation function Smart Configurator or a standard installed driver (RDP) will support your software development!) or click [Import existing projects] to import a project such as a downloaded sample software from Renesas web page or a copied project from your senior at work/lab, then you can start the development.

Image
e2studio

[Figure 4]

As an example, I’m showing you how to import and change the sample code for ‘Target Board for RX231 LED Blink Control Program’, which is pre-installed on the RX231 target board.

  1. Download ‘RX231 Group Target Board for RX231 LED Blink Control Program - Sample Code’ on the web page Target Board for RX231. And unzip the file. (You are requested to log in to My Renesas again.)
  2. From here on, refer to ‘3.3 Import existing Projects into Workspace’ of ‘Integrated Development Environment e2 studio 2020-04, e2 studio v7.8 User’s Manual: Getting Started Guide’ (hereafter Getting Started Guide). Click [Import existing project] on the screen as Figure 4, then you can see the status as 3.3.4 of the Getting Started Guide shows. Follow the instructions of the Guide until 3.3.9 to complete importing.

This sample software is a program that turns LED0 and LED1 on and off alternately on the RX231 Target Board. Under the default settings, it operates like this: both LEDs are turned off → turn on LED1 → turn on LED0…. Let’s change it reversely like this: both LEDs are turned off → turn on LED0 → turn on LED1.

Image
Board
Image
Source 1

Change the line 66th and 67th of  “r_cg_icu_user.c” and ”r_cg_cmt_user.c” as below.

Image
Source 2

Click [File]→[Save] to save the file.

Click the hammer icon just below [File] to build.

Image
Hammer icon

If you have a RX231 Target board, please try to connect to PC with USB cable and run the software.

It is longer than I expected. From here on, it is some extra information.
For details about RX Family Development Environment, visit here. It offers development tools, boards & kits, software, and useful information such as a list of MCU manuals. 
Lastly, these are blogs introducing e2 studio library and plug-in which are helpful for your software development and debugging.
Easy Azure IoT connection! RX65N 32bit MCU supports Azure RTOS
POC Development Using a GUI in 10 Minutes - Introducing the New Functions of the Newly Released QE for Display (RX)
Meeting the Needs of the New Normal with the RX HMI Solutions

Share this news on

Log in or register to post comments

Comments

こんにちは。

RX231の開発環境はRXスマートコンフィグレータに移行していますよ。いまだに旧コード生成機能を紹介するのは良くないと思うのです。TB-RX231のサンプルプログラムをアップデートしませんか?

ちなみに、私は、e2 studioではなくて、CS+をお勧めします。e2 studioは初学者向け機能だけを使っているうちは良いのですが、やがて、動かない、動作がおかしい、動作が不安定、といったことに悩まされるようになるからです。確かにCS+は機能は少ないかもしれませんが、変な挙動で悩まされることはe2 studioより格段に少ないですよ。

Best regards,
NoMaY

NoMaY様

こんにちは。

コメントいただきありがとうございます。
ボードの手軽さから例として選びましたが、アドバイスごもっともです。TB-RX231サンプルプログラムのアップデートを提案していきます。

ツールに関しては、好みもありますが、機能の充実したe2 studioをお勧めしています。
最近のバージョンは動作も安定してきましたので、ぜひお試しください。

ルネサスのマイコンをご愛顧くださっているご様子、大変うれしくなりました。引き続きよろしくお願いいたします。
当方のシステムトラブルでお返事が遅くなってしまいました。リプライに時間を要してしまい申し訳ありませんでした。

山形

Share this news on