Getting Started with Renesas Development Tools Renesas Electronics America Inc.
Renesas Technology & Solution Portfolio 2
Microcontroller and Microprocessor Line-up 2010 2013 32-bit 8/16-bit 1200 DMIPS, Superscalar Automotive & Industrial, 65nm 600µA/MHz, 1.5µA standby 500 DMIPS, Low Power Automotive & Industrial, 90nm 600µA/MHz, 1.5µA standby 165 DMIPS, FPU, DSC Industrial, 90nm 200µA/MHz, 1.6µA deep standby 25 DMIPS, Low Power Industrial & Automotive, 150nm 190µA/MHz, 0.3µA standby 10 DMIPS, Capacitive Touch Wide Industrial Format & LCDs Automotive, 130nm 350µA/MHz, 1µA standby 1200 DMIPS, Performance Automotive, 40nm 500µA/MHz, 35µA deep standby 165 DMIPS, FPU, DSC Industrial, 40nm 200µA/MHz, 0.3µA deep standby Embedded Security, ASSP Industrial, 90nm 1mA/MHz, 100µA standby 44 DMIPS, True Low Power Industrial & Automotive, 130nm 144µA/MHz, 0.2µA standby 3
Enabling The Smart Society Challenge: MCUs continue to become more complex especially when creating applications to enable the Smart Society, and therefore the Software becomes more complex as well. However, project schedules do not always scale accordingly. Solution: Renesas provides you with a suite of professional software development tools, providing powerful and flexible features that ease and accelerate creation and debugging of embedded code. 4
Agenda The Importance of Development Tools IDEs (Integrated Development Environments) Toolchains (Compiler, Assembler, Linker) Code Generators, Driver Libraries, and Sample Code RTOS and Middleware Debuggers and Emulators Programming Solutions Boards, Kits, and more Great ways to get started! The Renesas Ecosystem Summary Q&A 5
The Importance of Development Tools 6
What s Most Important When Choosing a Microprocessor? 7
What are the Most Important Factors in Choosing a Processor? 8
Not All Tools Are Created Equal To mow your lawn, would you rather use this or this or this? 9
A Typical Development Environment IDE Code Generator RTOS and Middleware C-Compiler Assembler Linker Driver Libraries / Sample Code Programming SW and HW Debugging Software (usually part of IDE) Debugging Hardware / Emulator Target Board + 3 rd parties 10
Integrated Development Environments IDEs Code Generator RTOS and Middleware C-Compiler Assembler Linker Driver Libraries / Sample Code Programming SW and HW Debugging Software (usually part of IDE) Debugging Hardware / Emulator Target Board 11
IDEs for Renesas MCUs 12
Toolchains (Compiler/Assembler/Llinker) IDE Code Generator RTOS and Middleware C-Compiler Assembler Linker Driver Libraries / Sample Code Programming SW and HW Debugging Software (usually part of IDE) Debugging Hardware / Emulator Target Board 13
Toolchains for Renesas MCUs 14
Which IDEs/Compilers Support Which MCUs? Product families e 2 studio Eclipsebased IDE & various Compilers Other Renesas IDEs & Compilers IAR Embedded Workbench IDE & IAR Compilers Green Hills Multi IDE & Compiler KPIT GNURL78 or IAR RL78 (via plug-in) [CubeSuite+ IDE & RL78 compiler] * EWRL78 - KPIT GNURX or Renesas RX or IAR RX (via plug-in) HEW IDE & Renesas RX or KPIT GNURX EWRX - - [CubeSuite+ IDE & V850 compiler] * EWV850 GHS V850 Software Tools KPIT GNUSH or Renesas or IAR SH (via plug-in) ** HEW IDE & Renesas SH or KPIT GNUSH EWSH GHS SH Software Tools Free SW * Not promoted at REA ** Under development 15
Code Generators, Driver Libraries, and Sample Code IDE Code Generator RTOS and Middleware C-Compiler Assembler Linker Driver Libraries / Sample Code Programming SW and HW Debugging Software (usually part of IDE) Debugging Hardware / Emulator Target Board 16
Code Generators and Driver Libraries Automatic Code Generation Tools for on-chip peripheral I/O drivers / Renesas Integrated Development Environments ** * (* also available separately) ** plug-in under development 17
Free Renesas Sample Code 18
RX DSP Library Filter Generic Real FIR IIR Biquad Leaky LMS Adaptive Generic Complex FIR Lattice FIR Lattice IIR Single-pole IIR 36 kernels Matrix Matrix Add Matrix Subtract Matrix Multiply Matrix transpose Matrix scale Complex number Magnitude Phase Complex Add Complex Subtract Complex Multiply Complex Conjugate Magnitude squared Fast magnitude estimate Statistical Mean Max/Min Mean Absolute Value Variance Histogram Max Absolute Value Mean Absolute Deviation Median Transform Forward complex FFT Forward complex DFT Inverse complex FFT Inverse complex DFT Forward real FFT Forward real DFT Inverse complex-conjugate-symmetric FFT Inverse complex-conjugate-symmetric DFT 19
Firmware Integration Technology (FIT) DDLCD Renesas APIs and MW TCP/IP USB ADPCM DSP Lib File Sys MMC/SD Your Application CAN Connects to Internet Easy, time saving integration of Renesas software so you can focus on your application 20
Which Code Generators / Driver Libraries / Sample Codes Support Which MCUs? Product families Applilet Peripheral Driver Generator (PDG) Renesas Peripheral Driver Library (RPDL) Renesas Sample Code and other libraries Yes (Compilers: Renesas, IAR, GNU *) - - Yes Yes * (Compilers: Renesas, IAR, GNU) Yes (RX600, RX200; Compiler: Renesas) Yes (RX600, RX200; Compilers: Renesas, IAR, GNU (binary compatible)) Yes Yes (Compilers: Renesas, IAR, GHS) - - Yes - - - Yes Free SW * Under development 21
RTOS and Middleware IDE Code Generator RTOS and Middleware C-Compiler Assembler Linker Driver Libraries / Sample Code Programming SW and HW Debugging Software (usually part of IDE) Debugging Hardware / Emulator Target Board 22
3 rd Party RTOS and Middleware Solutions Available for RX Plus Wi-Fi from and and USB stacks from 23
Debuggers and Emulators IDE Code Generator RTOS and Middleware C-Compiler Assembler Linker Driver Libraries / Sample Code Programming SW and HW Debugging Software (usually part of IDE) Debugging Hardware / Emulator Target Board 24
On-Chip Debuggers E1 E20 E8a E10A MINICUBE2 Segger J-Link RX http://am.renesas.com/products/tools/emulation_debugging/onchip_debuggers/index.jsp 25
Emulators (RX610) E100 IECUBE 3 rd Party solutions, e.g. Lauterbach, isystem IECUBE2 http://am.renesas.com/products/tools/emulation_debugging/incircuit_emulators/index.jsp 26
Which Debugger/Emulator Solutions Support Which MCUs? Product families E1/E20 E8a E10A MINICUBE2 E100 IECUBE IECUBE2 Segger J- Link Yes - - - - Yes - - Yes * - - - Yes (RX610) - - Yes Yes - - Yes - Yes Yes (high-end) - - - Yes - - - - - * For RX600, E20 offers large trace and Real-time RAM monitoring. * For other families, the supported function of E20 correspond to that of the E1. 27
Flash Programming Solutions IDE Code Generator RTOS and Middleware C-Compiler Assembler Linker Driver Libraries / Sample Code Programming SW and HW Debugging Software (usually part of IDE) Debugging Hardware / Emulator Target Board 28
Renesas Flash Programming Solutions + or E1 E20 RFP Renesas Flash Programmer (SW) FDT Flash Development Toolkit (SW) Factory Programming + E8a FDT Flash Development Toolkit (SW) 3 rd Party solutions (e.g. Data I/O, BPM) PG-FP5-EA MINICUBE2 RFP + http://am.renesas.com/products/tools/flash_prom_programming/index.jsp 29
Which Programming Solutions Support Which MCUs? Product families Renesas Flash Programmer (RFP) Software Flash Development Toolkit (FDT) Software PG-FP5-EA Third-Party solutions (Data- I/O, BPM Micro) Yes (HW: E1/E20) - Yes Yes Yes (HW: E1/E20) Yes (HW: E1/E20) Yes Yes Yes (HW: E1/E20, MINICUBE2) - Yes Yes - Yes (HW: E8a) Yes (limited number) Yes 30
Boards, Kits, and More Great Ways to get Started! IDE Code Generator RTOS and Middleware C-Compiler Assembler Linker Driver Libraries / Sample Code Programming SW and HW Debugging Software (usually part of IDE) Debugging Hardware / Emulator Target Board 31
Types of Boards and Kits within Renesas RSK Renesas Starter Kit RDK Renesas Demonstration Kit Solution Kits TB (Target Board RPB Renesas Promotion Board http://am.renesas.com/products/tools/introductory_evaluation_tools/index.jsp 32
RX-Based Solutions See www.am.renesas.com/rx for details Connectivity, RX63N RDK/ RX62N RDK Ethernet, USB Host, USB Device, CAN Cloud computing with EXOSITE 802.11b/g/n WiFi, RX62N SPI connection to WiFi module Redpine Kit / Gainspan module w/ driver and examples Very low power 802.11b/g/n connectivity Audio kit with RX62N Renesas RX MCU + a tiny ADI type- D Amplifier Audio PCM Demo, audio speaker & cable WiFi Motor Control, RX62T Drive Sensorless PMAC Motor Field Oriented Control, 3-phase High integration, low system cost Direct Drive TFT-LCD, RX62N Renesas, FDI, or Serious Graphic libraries and demos Source code available Sensor fusion demo with RX62N Accelerometer and Gyroscope Measurements fused resulting in more accurate positioning 33
RL78-Based Solutions RL78 RDK: 3 Axis Digital Accelerometer, Digital Temp Sensor,96 x 64 Graphic LCD, Audio In/Out, 512 KB Serial Flash, Micro SD Card Slot, IAR Embedded Workbench (EWRL78) C/C++ support TK debugger USB Interface, demo code libraries 802.11b/g/n WiFi, RL78 Very low power 802.11b/g/n connectivity Simple SPI connection to WiFi module WiFi Kit contains driver and examples Motor Control, RL78 Sensorless vector speed control; Track current and voltage GUI for monitoring and control; Stand-alone mode Low power operating/standby modes Low-Power Display Solution Kit Based on RL78/G14 RPB Small add on board connecting to an E Ink segment display Companion low power lab and presentation 34
RX63N RDK (YRDKRX63N) User Features User push buttons RS-232 Serial Port Graphics LCD J-Link debugger Ext. Power 5 VDC Digital sensors Temp & Accel PMOD expansion I2C/SPI Debug Connector Application header WiFi/Bluetooth 128 Mb PCM Memory Expansion header Speaker Stereo headphone jack 10/100 Ethernet (Opt. IEEE1588) USB Host/Function SD-Card RX63N 100 pin 1MB Flash MIC and amplifier POT VR1 CAN transceiver LED Ring Expansion header 35
RDK Alliance Partners ADI RS-232 OKAYA LCD SEGGER J-Link ADI 3D acc sensor ADI Temp sensor ADI/Digilent PMOD Total Phase Debug Connector Gainspan/Redpine Wifi cards MICRON PCM Memory ADI Audio Amp STAR Speaker SEIKO SuperCap EXOSITE Cloud demo MICRIUM RTOS- TCP/IP ADI MIC & amplifier REA CAN FDI PCB ASY NDK Crystals 36
Web Support Dedicated RX63N RDK landing page http://am.renesas.com/products/tools/introductory_evaluation_tools/renesas_demo_kits/yrdkrx63n/index.jsp URL Shortcut www.renesas.com/rdkrx63n 37
RX63N RDK Out-Of-The-Box Experience Kit includes several software development tools on the DVD RX Renesas compiler (128KB limitation) HEW IDE IAR Embedded Workbench and compiler (32KB limitation) GNU KPIT compiler, compatible with HEW Project Generator Dozens of sample projects and demo code Including factory demo and factory test suite. Several RTOS partners etc 4 QuickStart Guides (Renesas, Micrium, IAR, Exosite) 2 USB cables (device and host) Debug USB with integrated J-LINK from Segger User USB with OTG, Host, device support All reference design material (HW, SW) Factory demo featuring Exosite Portal and cloud connectivity 38
RX63N RDK Exosite QSG 39
RX63N RDK Exosite Factory Demo Wireless LAN Ethernet switch/hub LAN cable Exosite Portal PC RX63N RDK 40
Self-Contained Touch Evaluation System Board Certified by TÜV Rheinland for IEC/EN 61000-4-6 Compliance up to 15V (150kHz 230MHz)! Evaluation System Features R8C/36T-A (64-pin) Keys, Wheel, Slider LED Display Ambient light sensor Buzzer Current consumption measurement E1 Debug Emulator CD containing: Touch API and sample application code Workbench Tool Free 64KB C Compiler Documentation Keys E1 Debugger Wheel Slider Ordering Information: P/N: YR8C36TKIT01 www.am.renesas.com/capacitivetouch 41
RDK Extension Capabilities (PMOD) Up to 50 PMOD modules and growing (Digilent stock) 42
The Renesas Ecosystem 43
The Renesas Ecosystem Long-term customer support programs 44
Updated RX Family Renesas Interactive Module On-line training about the RX Family Outline RX Family key benefits Roadmap, Benchmarks Technology advantages Development tools and ecosystem http://www.renesasinteractive.com/course/category.php?id=23 45
The RX Embedded Systems Textbook Embedded Systems textbook Based on the 32-Bit RX62N Examples work with the RX62N RDK / QSK Support site includes all software Available in PDF or hardcopy PDFs are free at: http://am.renesas.com/support/books/ Hardcopies free to educators Hardcopies also available on Amazon.com Written by professors at NC State and UNC 46
The RL78 Embedded Systems Textbook Low Power Embedded Systems textbook Based on the 16-Bit RL78G13 Examples work with the RL78G13 RDK / QSK Support site includes all software Available in PDF or hardcopy PDFs are free at: http://am.renesas.com/support/books/ Hardcopies free to educators Hardcopies also available on Amazon.com Written by professors at UNC and NC State 47
Micrium Books Platinum partner Micrium thinks Renesas first! Micrium is a Renesas Platinum partner All books available in PDF or hardcopy PDFs are free at: http://am.renesas.com/support/books/ Limited hardcopies on promotion and request Hardcopies also available on Amazon.com All code available online Included on the RDK CDs Open for hobby, research, and education use Fee for commercial use Available books: Micrium uc/os-iii featuring RX Micrium uc/tcp-ip featuring RX Micrium uc/os-iii featuring SH2A Micrium uc/tcp-ip featuring SH2A Micrium uc/usb featuring RX 48
Summary IDE Code Generator RTOS and Middleware C-Compiler Assembler Linker Driver Libraries / Sample Code Programming SW and HW Debugging Software (usually part of IDE) Debugging Hardware / Emulator Target Board + 3 rd parties 49
Questions? 50
Enabling The Smart Society in Review Challenge: MCUs continue to become more complex especially when creating applications to enable the Smart Society, and therefore the Software becomes more complex as well. However, project schedules do not always scale accordingly. Solution: Renesas provides you with a suite of professional software development tools, providing powerful and flexible features that ease and accelerate creation and debugging of embedded code. 51
Renesas Electronics America Inc.