rl78 development tools - renesas interactive
Post on 03-Feb-2022
7 Views
Preview:
TRANSCRIPT
Department nameRenesas Electronics Europe
00000-A
Rev. 0.00
Renesas Electronics
00000-A© 2010 Renesas Electronics Corporation. All rights reserved.
RL78 Development tools
© 2010 Renesas Electronics Corporation. All rights reserved.2
� Purpose
� This course provides an introduction to the RL78 hard- and software development tools. The capabilities and functionality of each tool will be explained.
� Objective
� Learn about the RL78 hard- and software development tools and its capabilities.
� Content
� 26 pages (including this page)
� x questions
� Learning Time
� 20 minutes
Introduction
© 2010 Renesas Electronics Corporation. All rights reserved.4
EWRL78
Compiler, Assembler, Linker, C-Spy Debugger
Applilet for RL
Device DriverConfigurator
Debugging Tools – Overview
RL78/G13 IECUBE In-Circuit Emulator
QB-RL78G13-ZZZ-EE
On-Chip Debug Emulator E1+ Target Board
R0E000010KCE00+QB-R5F1xxxx-TB
+
RL78/G13 Promotion board
YRPBRL78G13
RL78/G13 Starter kit
YR0K50100LS000BE
© 2010 Renesas Electronics Corporation. All rights reserved.5
Full Flash programmer
PG-FP5-EE
Renesas Flash Programmer RFP
GUI to use E1 as programmer
Low cost programmer E1
R0E000010KCE00
Programming Tools – Overview
Renesas PG-FP5 P
GUI to control the PG-FP5
© 2010 Renesas Electronics Corporation. All rights reserved.7
RL78/G13 USB Demonstrator Stick
�RPB – Renesas Promotion Board
� Easy to use promotion tool
� On-board debug / flash-programming support
� IAR Embedded workbench and Applilet3 included
� GUI to demonstrate RL78 features included
� Low Power Consumption capabilities
� RTC and alarm functions
� Data flash functionality
� SNOOZE mode functionality
© 2010 Renesas Electronics Corporation. All rights reserved.8
Full Feature Starter Kit
�RSK – Renesas Starter Kit
� Easy to start
� The RL78 Starter kit includes:
� CPU board with target microcontroller
� LCD panel for user/diagnostic interaction
� E1 On Chip Debugger
� Trial C compiler
� Tutorial session
� Sample peripheral codes
CD including
Eval IAR compiler,
debugger, Application notes and
driver codes
Main RSK
evaluation board
E1 debugger
Debug LCD
panel
RL78/G13
64pin; 64Kbyte
© 2010 Renesas Electronics Corporation. All rights reserved.9
� On-chip Debug Emulator
� Low cost Flash Programmer
� Full integration into IAR Systems EWRL78 C-Spy debugger
� Standard debug function support� Go & Go, Start from here, Come here,
Restart, Step execution, Forced break
� Hardware breakpoints
� Software breakpoints
� USB 2.0 interface
� Supplied via USB (no power supply necessary)
� security ID support to avoid unauthorized access to device
E1 on-chip-debug emulator
© 2010 Renesas Electronics Corporation. All rights reserved.10
RL78-G13 Target Board
� Simple board that makes the device's I/O available for quick evaluation
� Flash programming via OCD connector to E1 Debugger
� Sample code downloaded from internet
� Universal patch area
� Simple circuitry can be added
� All pins of the microcontroller are accessible by the user
� Use as daughter board for product evaluation or development
CN2
CN1
OCD
connector
2 LEDs
Patch area
Test switch
Power LED
Main clock
© 2010 Renesas Electronics Corporation. All rights reserved.11
� Professional In-Circuit Emulator
� Various Real-time and Non-real-time program execution functions
� Event break function
� Software break function
� Trace function
� Real-time RAM monitoring
� Code Coverage
� Time measurement
� USB 2.0 interface
IECUBE
© 2010 Renesas Electronics Corporation. All rights reserved.12
Sockets and Probes for IECUBE
� Mandatory
� Probe Extension Cable QB-80-EP-01TQB-144-EP-02S
� Exchange AdapterQB-<nn><pp>-EA-0<x>TCaution: Please refer to the UM for the correct number of <x>
� ICE ConnectorQB-<nn><pp>-YQ-01T
� Target ConnectorQB-<nn><pp>-NQ-01T
� <nn> : pin number, e.g. 80-pins => <nn> = 80 <pp> : package type, e.g. SP-package => <pp> = 30 pin SSOP
© 2010 Renesas Electronics Corporation. All rights reserved.13
� Selectable
� Space AdapterQB-<nn><pp>-YS-01T
� Check Pin AdapterQB-144-CA-01
� Mount AdapterQB-<nn><pp>-HQ-0<x>T
� <nn> : pin number, e.g. 80-pins => <nn> = 80 <pp> : package type, e.g. GC-package => <pp> = GC
� <x> : 1 or 3 according to device type, e.g. <x> = 1
Sockets and Probes for IECUBE
© 2010 Renesas Electronics Corporation. All rights reserved.14
� Mandatory
� Probe Extension Cable (EP)
� Exchange Adapter (EA)
� ICE Connector (YQ)
� Target Socket (NQ)
� Selectable
� Space Adapter (YS)
� Chip Cap (HQ)
� Check pin Adapter (CA)
� Mounting the device
Sockets and Probes for IECUBE
© 2010 Renesas Electronics Corporation. All rights reserved.15
� PG-FP5-EE
� Supports programming of all single-voltage and themost dual-voltage Renesas flash devices
� On-board programming
� Stand-alone programming
� Program files and programming parameters are stored in the internal flash memory
� Multiple program files and programming parameters can be stored in the internal flash memory
� Universal host connection, a Windows User interface is provided for terminal connection
� CSI, CSI + HS, UART, I2C, Port Mode and TOOL interface supported for data transfer to flash devices
� USB 2.0 interface or RS232 interface selectable
Flash Programmer
© 2010 Renesas Electronics Corporation. All rights reserved.18
� Integrated development environment and optimizing C/C++ compiler for RL78
� Includes instruction set simulator and full support for On Chip Debugger E1 and In Circuit Emulator IECUBE
� Integrated development environment; project management tools & editor
� Configuration files for all RL78 devices
� Emulator debugger support (IECUBE, E1 and Starterkits)
� Run-time libraries
� Linker and librarian tools
� C-SPY debugger with RL78 simulator and support for RTOS-aware debugging on hardware
� Example projects for RL78 and code templates
IAR EWRL78 Overview
© 2010 Renesas Electronics Corporation. All rights reserved.19
Embedded Workbench Features
� Graphical User Interface to configure and use the integrated development tools
� Additional tools can be integrated
� Internal editor can be replaced (-> Microsoft DDE Interface)
� Interface to external Source Code Control System
� (-> Microsoft SCC-Interface)
� Supported Operating Systems:
� Windows® XP / Vista / Windows7 (32bit / 64bit variants)
� Alternatively the command line interface can be used
� batch file, make file etc
© 2010 Renesas Electronics Corporation. All rights reserved.20
Embedded Workbench debug screenshotDebug toolbar Source window Disassembly window Register/Watch windows
Tool output window
Project window
© 2010 Renesas Electronics Corporation. All rights reserved.22
Applilet device driver code generator� Free software tool which generates device
driver code to initialize and use on-chip peripherals
� Full code generation� IAR EWRL78� Renesas Tools
� Easy to use graphical user interface (GUI)
� Common API for easy code porting across families
� Integrated project wizard guides user through the creation of new project
� After peripheral configuration C source code can be generated
� Configuration changescan be merged withexisting user code� User code in protected
areas is saved during rebuild of the Applilet files
Applilet API
specification
Applilet
configurator
© 2010 Renesas Electronics Corporation. All rights reserved.23
Applilet screenshot
Project tree
File tabModule tab
© 2010 Renesas Electronics Corporation. All rights reserved.24
RTOS support for RL78
� Micrium & CMX support already completed� Overview presentation explaining offering & biz model shortly
� Two further partners selected to support RL78� Segger embOS
– Very fast and efficient, yet small code.
– Minimum RAM usage.
– Core written in assembly language.
– RTOS aware debug plug-in for IAR EWRL78
– 78K0/K0S/K0R family already supported
– Extensive Renesas device support (RX, SH, V850)
� FreeRTOS
– Free of charge customer implementation
– Initial support for IAR Systems but will roll out GNU support when available
– RTOS aware debug plug-in for IAR EWRL78
– Full Eclipse debug plug-in available
– Will include FreeRTOS book publication
� Available – soon
© 2010 Renesas Electronics Corporation. All rights reserved.25
RL78 Eco System
Online Design Community
Tool downloads, e-mail alerts, and morewww.renesas.eu/myrenesas
Online Trainingwww.renesasinteractive.com
RL Blog
3rd Party networkwww.renesas.eu/alliance
Dedicated web Sitewww.renesas.eu/pr/mcu/rl78
Facebook groupwww.facebook.com/renesaseurope
Twitter newswww.twitter.co/renesas_europe
RenesasPresents
www.youtube.com/user/RenesasPresents
top related