Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. e 2 Studio – Getting Started.

Slides:



Advertisements
Similar presentations
Extending Eclipse CDT for Remote Target Debugging Thomas Fletcher Director, Automotive Engineering Services QNX Software Systems.
Advertisements

6 Copyright © 2005, Oracle. All rights reserved. Building Applications with Oracle JDeveloper 10g.
Renesas Technology America Inc. 1 SKP8CMINI-15,17 Tutorial 2 Creating A New Project Using HEW4.
UBI >> Contents Chapter 2 Software Development Tools Code Composer Essentials v3: Overview Texas Instruments Incorporated University of Beira Interior.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Using PDG with e2studio: Example
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
This material exempt per Department of Commerce license exception TSU Debugging.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Using a Renesas Code Generation Tool for RL78 Devices.
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
Introduction to CCSv5. Outline  Intro to CCSv5 Intro to CCSv5  Functional Overview Functional Overview  Perspectives Perspectives  Projects Projects.
Introduction Purpose Objectives Content Learning Time
Renesas Technology America Inc. 1 M16C/Tiny SKP Tutorial 2 Creating A New Project Using HEW4.
Introduction Purpose This training course covers debugging an application on an SH target in the Renesas HEW (High-performance Embedded Workshop) development.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. An Introduction to e 2 studio.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course provides an overview of the installation and.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Know your Precise Position with RX600 MCU.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Purpose  This training course describes how to configure the the C/C++ compiler options.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 320L: Rapid RX600 System Development Using the RPDL and.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L13B David Hedley, Applications Engineer Advanced.
Introduction Purpose This course describes the process of installing the KPIT GNU toolchain on your PC. Objective Learn how easy it is to get information.
Renesas Electronics America Inc. ID 322C:Using HEW's Many Capabilities to Boost Software Development Productivity Axel Wolf Marketing Manager, Development.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Purpose  This training module provides an overview of optimization techniques used in.
Lecture Set 2 Part B – Configuring Visual Studio; Configuration Options and The Help System (scan quickly for future reference)
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Migration from HEW to e 2 studio.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Migrating from CubeSuite+ to Eclipse.
Developing C/C++ applications with the Eclipse CDT David Gallardo.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Introduction Purpose This training course covers debugging an application on an SH target in the Renesas HEW (High-performance Embedded Workshop) development.
Active-HDL Interfaces Debugging C Code Course 10.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Virtual EEPROM and Flash API for.
Eclipse 3.1 IDE Overview.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. QuantiPhi for RH850 and RL78 - The Fastest Path from Idea.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Implementing Bootloaders on Renesas MCUs.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Advanced Debugging on the RX600.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Advanced E 2 Studio Topics.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Low Power Design Michael Thomas, Applications Engineer.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This course gives an overview of the Toolchain feature of the High.
Renesas Technology America Inc. 1 M16C Seminars Lab 3 Creating Projects Using HEW4 14 March 2005 M16C Seminars Lab 3 Creating Projects Using HEW4 Last.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L08I Migrating from CubeSuite+ to Eclipse Neelima.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L05I Advanced Debugging on the RX600 Fatih Peksenar.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 5L08I Using the Renesas Graphics API to Create.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 322L:Advanced Debugging on the RX600 Brandon Hussey Applications.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course explains how to use section setting and memory.
® IBM Software Group © 2007 IBM Corporation Module 1: Getting Started with Rational Software Architect Essentials of Modeling with IBM Rational Software.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This course explains how to use Mapview, a utility program for the.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course describes Coverage, a utility that is used.
An EPICS IDE Using Eclipse Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 15, 2006 Argonne National Laboratory, Argonne, IL.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the Project Generator function.
김민수 Cortex-M4 Processor - Getting Started with the GNU Compiler Collection(gcc)
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Software Building Blocks for Faster.
Java IDE Dwight Deugo Nesa Matic
1 Using an Integrated Development Environment. Integrated Development Environments An Integrated Development Environment, or IDE, permits you to edit,
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the use of the High-performance.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
e2Studio – Getting Started
David Hedley Staff AE, Applications Engineering 12 Oct 2010
Introduction Purpose Objectives Content Learning Time
PRU-ICSS Programming with CCS
RX111 Promotion Board (RPB) hands on
ID 325L: Getting Started with CubeSuite
Software Setup & Validation
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
Code Composer Essentials 3.0
Presentation transcript:

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 bit 8/16-bit

© 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

© 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

© 2012 Renesas Electronics America Inc. All rights reserved.11 KPIT Cummins Registration Register at the KPIT GNU Tools web site Select Register link and complete registration form Receive toolchain activation code by

© 2012 Renesas Electronics America Inc. All rights reserved.12 KPIT GNU Tools Download Download KPIT GNU Tools from the KPIT GNU Tools web site Select Free Downloads tab and complete login form if necessary Locate toolchain for appropriate target architecture in the Windows Hosted ELF Toolchains section

© 2012 Renesas Electronics America Inc. All rights reserved.13 KPIT GNU Tools Installation Double click on downloaded executable file to launch installer Default installation options are appropriate

© 2012 Renesas Electronics America Inc. All rights reserved.14 e 2 Studio Download Download e2Studio from the Renesas web site Select Development Tools tab Select IDEs and Project Managers category Select e2Studio

© 2012 Renesas Electronics America Inc. All rights reserved.15 e 2 Studio Installation Double click on downloaded executable file to launch installer Default installation options are appropriate

© 2012 Renesas Electronics America Inc. All rights reserved.16 e 2 Studio Project Creation and Build

© 2012 Renesas Electronics America Inc. All rights reserved.17 e 2 Studio Workspaces e 2 Studio 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 e 2 Studio preferences Avoid workspace paths containing spaces Workspace Preferences Project B Project AProject Folder

© 2012 Renesas Electronics America Inc. All rights reserved.18 e 2 Studio Projects Projects created using a New Project Wizard Project folder typically created within workspace folder Project content created within project folder Project Settings Build Output (config A) Source Code Build Output (config B) Sub-Folders

© 2012 Renesas Electronics America Inc. All rights reserved.19 e 2 Studio New Project Wizards Launch from workbench File menu or Project Explorer context menu Select the C Project or C++ Project wizard from the tree C project wizard for C source code application C++ project wizard for C and/or C++ code application Toolchain Target-Specific Build Settings Library GeneratorFinish Default Debug Settings Start C/C++ Project Wizard

© 2012 Renesas Electronics America Inc. All rights reserved.20 Project Name, Type and Toolchain Enter new project name Select Executable (Renesas) >> Sample Project type New project will include startup code and skeleton main() Project builder will generate a fully linked application Select toolchain Toolchain architecture will influence subsequent wizard pages

© 2012 Renesas Electronics America Inc. All rights reserved.21 Target-Specific Settings Select toolchain version if multiple versions installed Select CPU series, type and endianness where applicable Selections may affect processor instruction set Critical for correct execution on target hardware Select other CPU options

© 2012 Renesas Electronics America Inc. All rights reserved.22 Library Generator Settings Select library source 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 source- level debugging

© 2012 Renesas Electronics America Inc. All rights reserved.23 Default Debug Settings 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

© 2012 Renesas Electronics America Inc. All rights reserved.24 e 2 Studio Project Layout Project source files typically located within src folder Multiple build configurations per project Release Hardware Debug Debug (simulator) Build output located in corresponding build configuration folders

© 2012 Renesas Electronics America Inc. All rights reserved.25 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

© 2012 Renesas Electronics America Inc. All rights reserved.26 C/C++ Coding Assistance Double click on source file in the Project Explorer to edit Advanced C/C+ Editor Syntax colouring Code completion Code templates Code indentation Refactoring Open declaration Outline view Virtual folders C/C++ search

© 2012 Renesas Electronics America Inc. All rights reserved.27 C/C++ Managed Build System All source files under src folder are built C source (*.c) C++ source (*.cpp) Assembly source (*.asm) Select active build configuration prior to build Build on demand via workbench menu items Project >> Build Project (builds currently selected project) Project >> Build All (builds all projects in workspace) Monitor build progress in Console view Review build issues in Problems view Double click to open related source code in C/C++ Editor Build options Build Automatically (not recommended for C/C++) Save automatically before build

© 2012 Renesas Electronics America Inc. All rights reserved.28 Extended Project Properties Toolchain-related properties specific to a project or file First select a project or file in Project Explorer Project >> Renesas Tool Settings Code generation, linking and archiving options Standard C library generation and usage options Linker script editing

© 2012 Renesas Electronics America Inc. All rights reserved.29 Frequently Used Project Properties 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

© 2012 Renesas Electronics America Inc. All rights reserved.30 Execution In Simulator Immediate execution of applications in the absence of target hardware Run As >> Renesas GDB Simulator Running Standard I/O channels accessible via Console view Limitations Instruction set simulation only No peripheral emulation

© 2012 Renesas Electronics America Inc. All rights reserved.31 E 2 STUDIO BASIC DEBUGGING

© 2012 Renesas Electronics America Inc. All rights reserved.32 e 2 Studio Cross Development Launchers Launchers enable the execution and debugging of non-native code Support for simulators and remote hardware using the GNU debugger (GDB) Download and debug via on-chip debug hardware Support for a number of debug probes Renesas E1 Renesas E10A Renesas E20 Renesas IECUBE Segger J-Link Additional support for debugging using HEW and for custom debug scripts

© 2012 Renesas Electronics America Inc. All rights reserved.33 e 2 Studio 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 e 2 Studio Customization possible but seldom necessary Run >> Debug Configurations...

© 2012 Renesas Electronics America Inc. All rights reserved.34 Launching e 2 Studio 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 As >> Renesas GDB Simulator Launch Open Renesas Debug Perspective Alternative presentation of views within Eclipse workbench Views for inspection and manipulation of target state Standard CDT views updated when execution suspends C/C++ editor presents source code at program counter Variables (local variables only) Expressions (including global variables) Registers Memory Disassembly

© 2012 Renesas Electronics America Inc. All rights reserved.35 Renesas Debug View Control execution of code on target Toolbar buttons Suspend Resume Terminate Step into Step over Step return Instruction stepping mode Call stack Select stack frame to inspect related local variables One active debug session only Terminate any existing session before launching another Use Reload to avoid termination within edit/build/debug cycle

© 2012 Renesas Electronics America Inc. All rights reserved.36 Breakpoints Applicable to both hardware and simulator debug launches Create via context menu of left margin in C/C++ editor First open source file Toggle Breakpoint Enable/Disable Breakpoint Review and manipulate all breakpoints within Breakpoints view

© 2012 Renesas Electronics America Inc. All rights reserved.37 Summary

© 2012 Renesas Electronics America Inc. All rights reserved.38 Questions? Questions?

© 2012 Renesas Electronics America Inc. All rights reserved.39 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” Do you agree that we accomplished the above statement? ‘Enabling The Smart Society’

Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved.