RZ/T2M Software Tools
E2studio
Configure/Generate and Build a project from Command Line
Prerequisites:
Install e2studio.
Install the standalone Smart Configurator intended for IAR.
Use an existing project for e2studio or create a blinky project with e2studio for testing.
Generate FSP files and configuration:
Open Windows command prompt
Go to project folder
Open Smart Configurator (adapt the path accordingly):
C:\Renesas\rzt\sc_v2025-01_fsp_v2.3.0\eclipse\rasc.exe --compiler GCC configuration.xml(Option --help shows a list of available options.)
Configure the project and generate the files as usual
Build the project:
Open Windows command prompt
Go to the "Debug" folder below the project folder
Call the make tool to build (adapt the path accordingly):
C:\Renesas\e2_studio\eclipse\plugins\com.renesas.ide.exttools.gnumake.win32.x86_64_4.3.1.v20240909-0854\mk\make.exe -r --output-sync -j8 allTo clean the project call:
C:\Renesas\e2_studio\eclipse\plugins\com.renesas.ide.exttools.gnumake.win32.x86_64_4.3.1.v20240909-0854\mk\make.exe clean
Enable and Use NEON on RZ/T2M-RSK
NEON is an advanced SIMD (Single Instruction, Multiple Data) architecture extension for ARM processors that provides acceleration for multimedia and signal processing applications. On the RZT2M-RSK platform, NEON can be utilized to enhance the performance of computation-heavy tasks. This guide outlines the steps to enable and begin using NEON on the RZT2M-RSK using the Renesas e² studio IDE.
1. Enable NEON in e2studio
Check the selection of Float ABI and FPU Type in Properties ==> C/C++ Build ==> Settings ==> Target Processor.
2. Implement code to for NEON
The code example below is to execute the vector addition by using GCC builtin NEON instruction.
|
3. Test NEON performance
Use CNTPCT value to calculate the time consumption between t2 and t3.
|
IAR
Download a Binary to a Board
How to flash and start a provided binary with the IAR EWARM:
Start IAR EWARM
Create a new workspace (File → New Workspace) and save (File → Save Workspace As).
Create new project (Project → Create New Project), select "Externally built executable", specify a project name and save.
Right-click on the project in workspace area and select "Add external binary". Select the out-file from disk.
(Skip selection of folders with header files if these are not available.)
Open Project → Options → General Options → Target: Select "Device" and the right one from list, e.g. Renesas → RZ/T2M → <Device ID>.
In same dialog go to Debugger: Select Driver e.g. as "i-jet".
Close Option Dialog.
Start Debugger session. The binary will be downloaded and started.