Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L08I Migrating from CubeSuite+ to Eclipse Neelima.

Slides:



Advertisements
Similar presentations
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
Advertisements

111 Development Tools for ARM-Powered Devices Name of presenter RealView Microcontroller Development Kit ULINK2 USB/JTAG Adapter Evaluation Boards.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L02B Introduction to the RX-Arduino (Lab) Anthony.
©2008. Renesas Technology America., All rights reserved. Renesas Direct Drive for Connecting to TFT-LCD Panels David Hedley – Staff Applications Engineer.
VELOCITY LABTM Embedded Development Ecosystem
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Using a Renesas Code Generation Tool for RL78 Devices.
Introduction Purpose Objectives Content Learning Time
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. RL78 Ultra Low Power MCU Lab.
ID 413C: Can Touch This: Designing Capacitive-Based Touch Solutions Mark F Rodriguez Senior Engineering 13 October 2010 Version: 1.0 Xaplos Inc.
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. ID 311L: PIC to R8C Converter David Hedley Staff AE, Applications Engineering 14 Oct 2010 Version: 1.1.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Increase the Dynamic Range and Precision of Digital Filters.
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. Class ID: Introduction to the.NET Micro Framework Julie Trygstad,
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Know your Precise Position with RX600 MCU.
© 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. © 2012 Renesas Electronics America Inc. All rights reserved. Sensorless Vector Control with RL78G14.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID A15C: Application Code Reprogramming Using Different Serial.
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.
Renesas Electronics America Inc. “© 2010 Renesas Electronics America Inc. All rights reserved ID 220L: Hands-on Embedded Ethernet Design with an Open Source.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. RX Family Overview Introduction A.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. 431L: Using a Graphics API to Create User Interface Components—Advanced.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 9L02I Software Development with an Open Source.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. LibUSB - Create a Solution Without the Class Struggle.
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.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Migrating from CubeSuite+ to Eclipse.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: RL78 Ultra Low Power MCU Lab Michael Clodfelter.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 2L03I RL78 Bluetooth Connectivity Anthony Harris,
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. e 2 Studio – Getting Started.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Know your Precise Position with RX600 MCU Huangsheng.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Debugging on RX with IAR Embedded Workbench Micael.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. 113C: Migration to the RX600 Made Easy Life in the fast lane.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID630L: Becoming Familiar with Sensorless Vector Control.
Microcontrollers, Basics How Do I Choose the Right MCU? 17 January 2012 Jonathan A. Titus.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Virtual EEPROM and Flash API for.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 011C: VELOCITY LAB TM Embedded Development Ecosystem Amrit.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. QuantiPhi for RH850 and RL78 - The Fastest Path from Idea.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Increase the Dynamic Range and Precision of Digital.
IAR Systems, Inc. ID 323C:A High Performance Compiler Solution for the RX Platform Shawn A. Prestridge Senior Field Applications Engineer 12 October 2010.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Implementing Bootloaders on Renesas MCUs.
2L01I Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 2L02I CAN In A Day Carl Stenquist, Staff.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Audio Solutions on the RX MCU Family Mitch Ferguson,
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: CC05B RX Project Configuration Tips John Breitenbach,
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Low Power Design Michael Thomas, Applications Engineer.
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. © 2010 Renesas Electronics America Inc. All rights reserved. ID 230L: Simplify your Networked Application with CAN and.
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.
IAR Systems, Inc. ID 324C:Introducing the Embedded Workbench for the Renesas SH Shawn A. Prestridge Senior Field Applications Engineer 12 October 2010.
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.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 421L: R8C Segment-LCD API Lab Bob Proctor Staff Engineer.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID A10L:A Flexible Flash Rewrite Application Brandon Hussey.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: QuantiPhi for RH850 and RL78 - The Fastest Path.
ID 021L: Model Based Control Design and Auto-Code Generation using the R8C Christopher Myers Director of Software Development 12 October 2010 Version:
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the Project Generator function.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Software Building Blocks for Faster.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the use of the High-performance.
Microcontrollers, Basics How Do I Choose the Right MCU?
e2Studio – Getting Started
David Hedley Staff AE, Applications Engineering 12 Oct 2010
ID 325L: Getting Started with CubeSuite
Presentation transcript:

Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L08I Migrating from CubeSuite+ to Eclipse Neelima Chaurasia, Staff Applications Engineer

© 2012 Renesas Electronics America Inc. All rights reserved.2 Neelima Chaurasia : RL78 Expert Staff Applications Engineer Technical Support for RL78 device and Tools Over two years of experience with Renesas device and tools for RL78, 78K and V850 Microcontrollers More than 15 years of embedded development and Application engineering experience – 10 yrs with Fujitsu Microelectronics as Application Engineer Hardware, firmware, development tools, applications – 3 yrs with Hindustan Aeronautics, India as Design Engineer B.S.E.E. from Regional Engineering College (REC), India MBA from Phoenix University, USA

© 2012 Renesas Electronics America Inc. All rights reserved.3 Renesas Technology & Solution Portfolio

© 2012 Renesas Electronics America Inc. All rights reserved.4 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  242µA/MHz, 0.2µA 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  242µA/MHz, 0.2µA 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.5 Challenge: “CubeSuite+ has been very popular IDE among other Renesas IDE. However, the free version has its own compiler limitation. As MCUs continue to become more complex especially when creating applications to enable the Smart Society, and therefore the Software becomes more complex as well. As a result most of the complex program doesn’t fit in the free code size limited version of the CubeSuite+ and requires tool investment. Solution: “This class will help you how easy is to Migrate RL78 Cubesuite+ code to e 2 studio/GNU compiler”. ‘Enabling The Smart Society’

© 2012 Renesas Electronics America Inc. All rights reserved.6 Agenda CubeSuite+ Project generation Create e 2 studio project template for GNU tool chain Bring CubeSuite+ files to e 2 studio Modify CubeSuite+ file in the e 2 studio for GNU compiler Build and Run the project POP QUIZ

© 2012 Renesas Electronics America Inc. All rights reserved.7 Lab Platform Hardware Platform RL78/G14 RDK – R5F104PJ device, 256KB Flash, 8KB Data Flash, 24KB SRAM. – USB cable for power and debug communication – OCD Debugger (TK debugger) Software Platform e 2 studio version RL78 GNU compiler version CubeSuite+ version 1.02

© 2012 Renesas Electronics America Inc. All rights reserved.8 RL78/G14 RDK’s User Features Eink display LED Ring Graphics LCD Gainspan Wi-fi Application header WiFi RS-232Digital sensors Temp & Accel TRIACFET RL78/G14 MCU TK Debug

© 2012 Renesas Electronics America Inc. All rights reserved.9 Definition of Terms Software Elements e 2 studio – Eclipse based Integrated Development Environment for Renesas Microcontroller families RL78, RX, SH. Perspective – A perspective is like a page in a book which contains set of views. Debug Perspective

© 2012 Renesas Electronics America Inc. All rights reserved.10 Definition of Terms (Cont.) Software Elements (cont.) View: A perspective consists of a number of sub-windows, called views. CubeSuite+ - Renesas Integrated Development Environment for Renesas Microcontroller families RL78, RX, V850. CG: Code generator Hardware Elements TK interface – On-chip debug emulator for RL78 device. RDK– Renesas Demonstration Kit E1- On-chip debug emulator

© 2012 Renesas Electronics America Inc. All rights reserved.11 Why to Migrate from Cubesuite+ to e 2 studio Open source environment Easy to customize Widespread user community Huge range of off the shelf plug-ins No License fee or code size limitation with GNU compiler Built in editor and project management functions are far superior to CubeSuite+ Easy migration from one MCU family to another Third party compiler (e.g. IAR, GNU, GHS) support

© 2012 Renesas Electronics America Inc. All rights reserved.12 Feature Comparison Features Cube Suite+ e 2 studio Navigate Back Close All but This  Bookmark  Find Usages  Spell Checker  Create header File from C File  Small # of clicks to launch Debug  Refactor Name 

© 2012 Renesas Electronics America Inc. All rights reserved.13 e 2 studio Key Features Automatic detection of KPIT GNU and Renesas toolchains. Powerful code editor functionality Keyword color coding of source code Built-in spell checker Project generation wizards Create skeleton projects targeting Renesas processors Projects build and run without modification Cross-platform launchers Download to remote hardware via debug probe Simulator alternative where hardware unavailable Both basic and advanced debug capabilities Free download

© 2012 Renesas Electronics America Inc. All rights reserved.14 Migration from CubeSuite+ to e 2 studio /GNU Compiler (1/3) Project Migration Create a project template for RL78 (a) Registration of CubeSuite+ source files (b) Map IO register and Interrupt declaration (c) (a)(b) (c)

© 2012 Renesas Electronics America Inc. All rights reserved.15 Migration from CubeSuite+ to e 2 studio GNU Compiler (2/3) Port structure CubeSuite+: ex: Bit access: P7.7++; e 2 studio with GNU Compiler: ex: Bit access : P7_bit.no7; Interrupt handling CubeSuite+ : __interrupt static void r_tau0_channel0_interrupt(void) { } e 2 studio with GNU Compiler void INT_IT (void) { }

© 2012 Renesas Electronics America Inc. All rights reserved.16 Migration from CubeSuite+ to e 2 studio GNU Compiler (3/3) Intrinsic Function CubeSuite+ ex: DI(); EI(); e 2 studio with GNU Compiler ex: asm("di"); asm("ei"); Similar Language Features Same variable size Same SFR access except IO Port access

© 2012 Renesas Electronics America Inc. All rights reserved.17 Common Issues My program doesn’t go to interrupt service routine I defined in the Cubesuite+? -> Make sure the ISR function name has been ported from __Interrupt qualifier to INT qualifier for GNU compiler. How do I fix the error “ “XXX” undeclared (First use in the function)” while building the project? -> Check if iodefine.h, and iodefine_ext.h files are included in the *.c files which shows the error message. Can’t connect e 2 studio to RDK board for the debug session? -> Check the SW5 DIP-switch setting on the board as: 1:ON; 2:OFF; 3:ON ; 4:ON

© 2012 Renesas Electronics America Inc. All rights reserved.18 Lab Time! Please refer to the Lab Handout and let’s get started!

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

© 2012 Renesas Electronics America Inc. All rights reserved.20 Challenge: “CubeSuite+ has been very popular IDE among other Renesas IDE. However, the free version has its own compiler limitation. As MCUs continue to become more complex especially when creating applications to enable the Smart Society, and therefore the Software becomes more complex as well. As a result most of the complex program doesn’t fit in the free code size limited version of the CubeSuite+ and requires tool investment. Solution: “This class will help you how easy is to Migrate RL78 Cubesuite+ code to e 2 studio/GNU compiler”. Do you agree that we accomplished the above statement? ‘Enabling The Smart Society’ in Review…

© 2012 Renesas Electronics America Inc. All rights reserved.21 Pop Quiz Q: Name the changes required in the Cubesuite+ code to make it portable for the e 2 studio/GNU environment ? a)IO Port mapping b)Interrupt handler c)Integer variables d)Compiler function (ex: DI, EI) Q: What is the name of the on chip debugger used on the RDK board? a)E1 b)TK Debugger c)E20 d)E8

© 2012 Renesas Electronics America Inc. All rights reserved.22 Pop Quiz Q: What is the advantage of using e2studio over Cubesuite+ platform? a)NO code size limitation b)No license requirement c)Proprietary IDE d)Third party compiler support Q: How do you port the bit access for port 7, bit 7 (P77) from Cubesuite+ compiler to e2studio/GNU platform? a)P7.7 to P7.BIT_bit7 b)P7.7 to P7_bit.no7 c)P7.7 to P7_bit7

© 2012 Renesas Electronics America Inc. All rights reserved.23 Please utilize the ‘Guidebook’ application to leave feedback or Ask me for the paper feedback form for you to use… Please Provide Your Feedback…

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