IAR Embedded Workbench for Renesas RL78
The complete development toolchain IAR Embedded Workbench for Renesas RL78 provides one toolbox in one view, giving you one uninterrupted workflow.
Integrated development environment with project management tools and editor. Included is linker and library tools, configuration files for all devices in the RL78 family, example projects and code templates, and fully integrated C-STAT static analysis.
Powerful build tools
IAR C/C++ Compiler is a highly optimizing C and C++ compiler for RL78. It offers a relocating RL78 assembler and run-time libraries.
The C-SPY Debugger is a comprehensive debugger with RL78 simulator, support for RTOS-aware debugging on hardware and wide emulator support.
Integrated code analysis
IAR Embedded Workbench for RL78 provides integrated static code analysis through the add-on product C-STAT, ensuring code quality as well as proving alignment with standards such as MISRA C:2012.
On-demand training included
When you buy a license of IAR Embedded Workbench for Renesas RL78, you get access to free training courses through our IAR Academy on Demand offering.
We are constantly updating and refining our tools with new features, new device support and extended capabilities.
Latest release: 5.10
- Library support for the C++17 language standard
The toolset includes a new C++ library that supports C++17 library features.
- Additional GNU C language extensions
The IAR C/C++ Compiler supports a number of new GCC-style operators, attributes and expressions in extended language mode.
- Editor and IDE enhancements
- Editor themes - a new way to set up the colors and fonts in the text editor
- Syntax feedback - instant syntax suggestions while typing
- Improved parameter hints
- Window color themes - dark mode
- Gray out inactive code support
- Iarbuild enhancements
The iarbuild command line build utility now supports:
- Generating a Ninja build file based on the IAR Embedded Workbench project format
- Generating a JSON description of the Embedded Workbench project
- More C-STAT reporting and configuration methods
- 64-bit Windows application
IAR Embedded Workbench now runs as a 64-bit Windows application.
- Visual Studio Code support
The IAR Build and IAR C-SPY Debug extensions available on Microsoft Marketplace enable you to work in Visual Studio Code (with IAR Embedded Workbench installed) to:
- Build IAR Embedded Workbench projects
- Run the C-STAT static analysis tool
- Debug applications using the same range of hardware/debug probes as in IAR Embedded Workbench. (An initial debug session with IAR Embedded Workbench is required to fill in the settings in the Hardware setup dialog box, prior to debugging in Visual Studio Code)
- C-STAT enhancements
- MISRA C:2012 Amendment 1
The static analysis tool C-STAT has extended its coverage of the MISRA C:2012 Coding Standard and now fully supports MISRA C:2012 Amendment 1. This amendment adds 14 additional rules to MISRA C:2012 with a focus on security concerns highlighted by the ISO C Secure Guidelines. Several of these address specific issues pertaining to the use of untrustworthy data, a well-known security vulnerability.
- MISRA C:2012 Amendment 2
The static analysis tool C-STAT has extended its coverage of the MISRA C:2012 Coding Standard and now fully supports MISRA C:2012 Amendment 2. This Amendment adds two additional rules to MISRA C:2012 and introduces support for ISO/IEC 9899:2011, commonly referred to as "C11".
- Improved performance
Depending on the project, the analysis can be up to 40% faster and memory consumption reduced by up to 20%, compared to the previous version of C-STAT.
- Updated device support
The device support files have been updated to the most recent version from Renesas.
- Updated user documentation
The C/C++ Development Guide, C-SPY Debugging Guide, and IDE Project Management and Building Guide have been updated to reflect the product changes.
- RL78/G23 microcontroller group support
The RL78/G23 group of microcontrollers is now supported.
- IAR Build Tools for Linux
A new product, IAR Build Tools for Renesas RL78, is available. It requires a separate product license and is distributed as a Debian package for Ubuntu containing the IAR C/C++ Compiler, IAR Assembler, Linker and library tools, C-STAT, IARBuild, and runtime libraries. Get product info
- C-STAT enhancements
- Extended coverage of CERT C
The static analysis tool C-STAT has extended its coverage of the SEI CERT C Coding Standard. The SEI CERT C Coding Standard's goal is to provide rules for developing safe, reliable, and secure systems in the C programming language, with support for C11 constructs. C-STAT covers all rules in the different CERT C sections listed on the CERT C wiki as of January 2020, with the exception of the API, CON, POS, and WIN sections, which are not applicable to IAR Systems products, yielding a total of 90 covered rules.
- Link analysis trace information
The link analysis messages now display trace information when relevant. For checks looking for conflicting symbol names, all conflicting declarations are now listed in the trace information instead of each pair of conflicts being described in a separate message. This might lead to fewer reported messages for the same number of found issues.
- Extended coverage of CERT C
- Renesas Smart Configurator included
The Renesas RL78 Smart Configurator V1.0.1 has been included.
The default Standard C is now C18 (ISO/IEC 9899:2018).
The compiler now supports almost all C++17 features. The C++ library supports C++14 with no C++17 additions.
Improved Source Browser
The following improvements have been made to the Source Browser:
- The source browser data is generated faster as it is now running as a separate thread.
- New Source Browser Log window.
- Status indicator in the status bar.
- Enhanced feedback in case source browsing data cannot be generated.
EZ-CUBE2 On-Chip Debug Emulator support
The EZ-CUBE2 On-Chip Debug Emulator, primarily targeted for the Chinese market, is now supported.
E2 emulator power debugging in C-SPY
The E2 emulator allows you to measure the dynamically changing current drawn by the user system. This is visualized as a graph in the C-SPY Timeline window as well as a list of time-current value pairs in the Power Log window. It is also possible to stop execution when the current goes above or below a certain user-defined threshold value.
Documentation Comments support in the editor
The editor can distinguish comments that start with /**, /*!, /// or //! as Documentation Comments. Inside a Documentation Comment, the editor can recognize keywords that begin with \ or @. If the keyword is recognized as a doxygen keyword, the Documentation Comment will appear in tooltips and parameter hints for variables and functions. See IAR Embedded Workbench IDE Project Management and Building Guide for more information.
Updated user documentation
The IDE Project Management and Building Guide, C-SPY Debugging Guide and C/C++ Development Guide have been updated to reflect the product changes.
What type of license do you need?
Our tools are available in a flexible license model to suit your company needs. Together with our support and update agreements, you get the support you need in multiple time zones and multiple languages.
- 14-days limit / 16 Kbyte code-size limit
- Free of charge
- For evaluation purposes
- Personal license
- Locked to a specific PC
- Works without network connection
- Personal license with flexibility
- Locked to a USB dongle
- Works without network connection
- Protects license from hardware failure
- For development teams
- Shared pool of licenses
- Managed by license server included in delivery
- Easy to add new users
Volume License Program
- Unlimited number of users
- Complete portability
- Simplified license administration
- Extended technical support
Want to know more?
We are present worldwide to help you wherever you are, and we are happy to answer any questions you might have about our products.
Want to use this product in your development projects? Our sales team is here to guide you to the right solution. Complete this form, and we will get back to you with a price quote tailored to your needs. We look forward to your request!
Add-ons and related products
The sophisticated optimization technology of IAR Embedded Workbench for RL78 generates very compact code.
Code size benchmark test
For this benchmark we took real customer applications and tested for size. The benchmark compares the total size of linked code and constants between code from IAR Embedded Workbench and Renesas CC.
In total for the tested applications, IAR Embedded Workbench generated 28 % smaller code than Renesas CCRL.
Tools and options for RL78 code size benchmark
This is a code size test on real customer applications where the size of linked code + constants has been compared. The test was performed with the following tools and options:
ccrl -cpu=S3 -c -dbl_size=4 -dev=DR5F104PJ.DVF -g -Osize -Oalias=ansi -Osame_code
IAR EWRL78 v4.21
iccrl78.exe --core S3 --code_model near --data_model near --near_const_location rom0 -e --debug -Ohz --double=32 --no_scheduling
GCC for Renesas RL78 v4.9.2
rl78-elf-gcc -MMD -MP -Os -ffunction-sections -fdata-sections -g -mg14 -mrelax -mmul=g14 -c -x c
|Kitchen oven display software||kitchen_oven_display|
|Smallest Univalue Segment Assimilating Nucleus (SUSAN)||susan|
|Telecommunication signal processing||gsm_efr|
|Oven temperature controller||temp_display|
|RTOS self-test application||RTOS_test|
|Functions to descramble CSS encrypted DVD content.||decrypt|
|Insert and extract bit fields||bittest|
Try software for free
IAR Embedded Workbench for Renesas RL78 - Free trial version
The evaluation license is completely free of charge and allows you to try the software to evaluate its efficiency and ease of use. You can choose either a 14-days trial version or a size-limited version.
When you click download, you will be asked to register to get your license.
Please note the following for the 14-day time-limited version:
- Time limit for evaluation license is 14 days
- Not allowed to be used for product development or any kind of commercial use
- Source code for runtime libraries is not included
- No support for MISRA C
- Limited technical support
Please note the following for the Kickstart, size-limited version:
- A 16 Kbyte code size limitation.
- Source code for runtime libraries is not included.
- No support for MISRA C.
- C-RUN is not available.
- Limited technical support.
User guides and documentation
General user guides
- IAR Embedded Workbench IDE Project Management and Building Guide
- IAR C/C++ Development Guide
- IAR Assembler Reference Guide
- IAR Linker and Library Tools Reference Guide
- C-SPY Debugging Guide
- IAR Embedded Workbench MISRA C:2004 Reference Guide
- IAR Embedded Workbench MISRA C:1998 Reference Guide
- Migration Guide from the CS+ CA78K0R toolchain for RL78 to IAR Embedded Workbench
- Migration Guide from Renesas toolchain for M16C/R8C to IAR Embedded Workbench
Hardware debugging and RTOS support
Hardware debugging support
- Renesas E2 Emulator
- Renesas E1 Emulator
- Renesas E2 Emulator Lite
- Renesas EZ-Cube
- Renesas IECUBE
- Renesas E20
- Renesas TK
- Micrium μC/OS-II
- OSEK Run Time Interface (ORTI)
- Express Logic
Each RTOS plugin installs a number of new windows in C-SPY, most importantly the task or thread list windows where task-specific breakpoints can be specified and task-specific steps executed. Different inspector windows display the contents of the internal data structures of the RTOS such as timers, queues, semaphores, resources and mailboxes.
Languages and standards
The IAR C/C++ compilers offer different dialects of the C and C++ programming languages, as well as different extensions specific for embedded programming (please note that not all language standards are supported for all target implementations). The compiler can be instructed to disable extensions for strict conformance to the standards.
A wide range of industry-standard debug and image formats compatible with most popular debuggers and emulators are supported. This includes ELF/DWARF where applicable.
ISO/ANSI C/C++ Compliance
The IAR C/C++ compilers adhere to a freestanding implementation of the following C programming language standards:
- INCITS/ISO/IEC 9899:2018, known as C18 (Latest version only).
- The compiler supports all C++17 features. The C++ library supports C++14 with no C++17 additions. (Latest version only).
- ISO/IEC 14882:2015, known as C++14
- INCITS/ISO/IEC 9899:2012, known as C11
- ANSI X3.159-1989, known as C89
The ISO/ANSI C/C++ Compliance level varies between the different compilers. For complete information, please refer to the IAR C/C++ Compiler user documentation in your chosen product.
IEEE 754 standard
IAR Embedded Workbench supports the IEEE 754 standard for floating-point arithmetic.
MISRA C is a software development standard for the C programming language developed by MISRA, The Motor Industry Software Reliability Association. Its aims are to facilitate code safety, portability and reliability in the context of embedded systems, specifically those systems programmed in ISO C.
The first edition of the MISRA C standard, "Guidelines for the use of the C language in vehicle based software", was produced in 1998. In 2004, a second edition was produced with many substantial changes to the guidelines, including a complete renumbering of the rules. Additionally MISRA C:2012 with extended support and MISRA C++:2008 for identifying unsafe code constructs in the C++ standard have also been added to the standards.
IAR Embedded Workbench features an add-on product C-STAT so you can check compliance with rules as defined by MISRA C:2004, MISRA C++:2008 and MISRA C:2012.
We use the following commercial test suites to test conformance of our tools to the standards:
- Plum Hall Validation test suite for ISO/IEC C conformance
- Perennial EC++ Validation Suite for C++ conformance
- Dinkum C++ Proofer to test how our libraries conform to the C and C++ standard as well as test our STL implementation against the C++ standard.
In addition to the commercial suites, we use several in-house test suites for testing new features, regression testing, corrected errors, etc.