Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. e 2 Studio – Getting Started © 2012 Renesas Electronics America Inc. All rights reserved.2 Renesas Technology & Solution Portfolio © 2012 Renesas Electronics America Inc. All rights reserved.3 Microcontroller and Microprocessor Line-up Wide Format LCDs Industrial & Automotive, 130nm 350µA/MHz, 1µA standby 44 DMIPS, True Low Power Embedded Security, ASSP 165 DMIPS, FPU, DSC 1200 DMIPS, Performance 1200 DMIPS, Superscalar 500 DMIPS, Low Power 165 DMIPS, FPU, DSC 25 DMIPS, Low Power 10 DMIPS, Capacitive Touch Industrial & Automotive, 150nm 190µA/MHz, 0.3µA standby Industrial, 90nm 200µA/MHz, 1.6µA deep standby Automotive & Industrial, 90nm 600µA/MHz, 1.5µA standby Automotive & Industrial, 65nm 600µA/MHz, 1.5µA standby Automotive, 40nm 500µA/MHz, 35µA deep standby Industrial, 40nm 200µA/MHz, 0.3µA deep standby Industrial, 90nm 1mA/MHz, 100µA standby Industrial & Automotive, 130nm 144µA/MHz, 0.2µA standby 2010 2012 32-bit8/16-bit 8/16-Bit True Low Power High Efficiency & Integration © 2012 Renesas Electronics America Inc. All rights reserved.4 Challenge: “MCUs continue to become more complex especially when creating applications to enable the Smart Society, and therefore the tools become more complex as well. As a result we must create tools that enable complete debug capability at minimal cost.” Solution: “OpenSource IDE’s with custom layers must be developed to enable engineers to create applications for the 2010’s” ‘Enabling The Smart Society’ © 2012 Renesas Electronics America Inc. All rights reserved.5 Introduction to e 2 Studio Tools and Installation Workspaces and Projects Project Wizard Editor Features Basic Simulation and Debugging Lab Summary Agenda © 2012 Renesas Electronics America Inc. All rights reserved.6 INTRODUCTION AND INSTALLATION © 2012 Renesas Electronics America Inc. All rights reserved.7 About e 2 Studio An Integrated Development Environment for cross-platform development targeting Renesas processors Based on the Eclipse workbench Extendable open source tooling technology Large ecosystem of compatible components Widespread user community Incorporates C/C++ Development Tooling (CDT) components Code editor Build system Basic debug capabilities Extensive support for Renesas processors Project creation wizards Toolchain integrations Remote launch and advanced debug capabilities © 2012 Renesas Electronics America Inc. All rights reserved.8 e 2 Studio With Eclipse/CDT Eclipse Platform C/C++ Development Tooling (CDT) e 2 Studio Features Other Features Other Features © 2012 Renesas Electronics America Inc. All rights reserved.9 e 2 Studio Advanced Features Project wizards Create skeleton projects targeting Renesas processors Projects build and run without modification Integration with KPIT GNU toolchains RX RL78 V850 Cross-platform launchers Download to remote hardware via debug probe Simulator alternative where hardware unavailable Advanced debug capabilities Simplified access to I/O registers Non-invasive inspection and tracing of target state © 2012 Renesas Electronics America Inc. All rights reserved.10 e 2 Studio Download and Setup Procedure Complete KPIT Cummins registration form Download KPIT GNU Tools Install KPIT GNU Tools Download e 2 Studio Install e 2 Studio [...]... are appropriate 13 © 2012 Renesas Electronics America Inc All rights reserved e2Studio Download Download e2Studio from the Renesas web site http://www.renesas.com Select Development Tools tab Select IDEs and Project Managers category Select e2Studio 14 © 2012 Renesas Electronics America Inc All rights reserved e2Studio Installation Double click on downloaded executable file to launch installer... rights reserved e2Studio Project Creation and Build 16 © 2012 Renesas Electronics America Inc All rights reserved e2Studio Workspaces e2Studio prompts for a Workspace folder at launch Multiple related projects created in each Workspace Projects of selected workspace presented in Project Explorer view One project per application under development Workspaces also store global e2Studio preferences... Newlib library – complete ISO C library supporting C/C++ code Optimized library – subset of ISO C library supporting C code Select required library modules Select library generation Pre-built for convenience Project-built for sourcelevel debugging 22 © 2012 Renesas Electronics America Inc All rights reserved Default Debug Settings Select default debug mode Hardware Debug – debug probe... Limited set of options available via quick settings dialog Project >> Renesas Quick Settings Optimisation for speed, size or both Debug information – no effect on generated code Warnings – simplified control of warning groups List files – compiler, assembler, linker listings 29 © 2012 Renesas Electronics America Inc All rights reserved Execution In Simulator Immediate execution of applications... Select default debug mode Hardware Debug – debug probe and target device must be specified Simulator Debug Release – optimised build not intended for debugging Selection determines initially active build configuration 23 © 2012 Renesas Electronics America Inc All rights reserved e2Studio Project Layout Project source files typically located within src folder Multiple build configurations per... configuration folders 24 © 2012 Renesas Electronics America Inc All rights reserved Project Editing Create new source files via context menu wizards New >> Source File – for C or C++ files (*.c, *.cpp) New >> Header File – for header files (*.h, *.hpp) New >> Source Folder 25 © 2012 Renesas Electronics America Inc All rights reserved C/C++ Coding Assistance Double click on source file in... Inc All rights reserved Project Folder e2Studio Projects Projects created using a New Project Wizard Project folder typically created within workspace folder Project content created within project folder Source Code Sub-Folders Build Output (config A) Build Output (config B) Project Settings 18 © 2012 Renesas Electronics America Inc All rights reserved e2Studio New Project Wizards Launch from... accessible via Console view Limitations Instruction set simulation only No peripheral emulation 30 © 2012 Renesas Electronics America Inc All rights reserved E2STUDIO BASIC DEBUGGING 31 © 2012 Renesas Electronics America Inc All rights reserved e2Studio Cross Development Launchers Launchers enable the execution and debugging of non-native code Support for simulators and remote hardware using the... reserved e2Studio Launch Configurations One launch configuration per application and per debug target Encapsulates all launch-related parameters Launch type (hardware or simulator) Application executable file Connection parameters Debug probe details Launch configuration for default debug mode generated by project wizard Other configurations generated on initial launch within e2Studio. .. configurations generated on initial launch within e2Studio Customization possible but seldom necessary Run >> Debug Configurations 33 © 2012 Renesas Electronics America Inc All rights reserved Launching e2Studio Debug Sessions Specify launch type at point of launching First select a project or executable file in Project Explorer view Run >> Debug As >> Renesas GDB Hardware Launch Run >> Debug . Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. e 2 Studio – Getting Started © 2012 Renesas Electronics America Inc. All rights reserved.2 Renesas Technology &. reserved.14 e 2 Studio Download Download e2Studio from the Renesas web site http://www.renesas.com Select Development Tools tab Select IDEs and Project Managers category Select e2Studio © 2012 Renesas