RL78 Project Configuration Tips

Similar documents
An Introduction to e 2 studio

Implementing Bootloaders on Renesas MCUs

RL78 Ultra Low Power MCU Lab

Incorporating a Capacitive Touch Interface into Your Design

Low Power Design. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

RL78 Ultra Low Power MCU Lab

Low Power Design Michael Thomas, Applications Engineer

Using Software Building Blocks for Faster Time to Market

CAN In A Day 2L01I. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

Capacitive Touch Based User Interfaces and Hardware-based Solutions

Secure Firmware Update Lab Session

Getting Started with Renesas Development Tools

Migrating from CubeSuite+ to Eclipse RL78 Family

ID 321L: KPIT GNU compiler plug-ins for HEW / KPIT Eclipse IDE

CC05B RX Project Configuration Tips

ID 730L: Getting Started with Multimedia Programming on Linux on SH7724

Embedding Audio into your RX Application

LibUSB - Create a Solution Without the Class Struggle

ID B34L: HMI Development with QNX'S Momentics Toolchain and Connected Automotive Reference QNX CAR

Software Development with an Open Source RTOS

Optimizing RX Performance

Rapid RX600 System Development Using the RPDL and PDG

A11L: 78K0R Low Power MCU

Embedded Wireless Technologies

FOR IOT PRODUCT DEVELOPMENT

Enhance Embedded Systems with Low Cost TFT Solutions

1. Opening the sample code workspace Loading the selected sample code project and Opening sample code source files... 5

Renesas Starter Kit for RX111

Quick-start Guide for YRDKRX63N v3.3

ID 025C: An Introduction to the OSEK Operating System

ID 020C: Hardware-in-Loop: System Testing Without the System

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

Using Virtual EEPROM and Flash API for Renesas MCUs RX600 Series

ID 434L: Incorporating a Capacitive Touch Interface into Your Design

MCU R&D Strategies for the Smart Society

STM8L and STM32 L1 series. Ultra-low-power platform

AD5669R - Microcontroller No-OS Driver

ID 411C: Capacitive Touch User Interfaces and Hardwarebased

Introducing: New Low-Cost & Low Pin Count PIC Microcontrollers for the 8-, 16- & 32-bit Markets

Experiment 1. Development Platform. Ahmad Khayyat, Hazem Selmi, Saleh AlSaleh

AURIX family and AUDO Future, AUDO MAX

Ultra Low Power Microcontroller - Design Criteria - June 2017

Microcontroller Technologies for Smart Society

Workbench V Integrated Development Environment for Renesas Capacitive Touch

esi-risc Development Suite Getting Started Guide

Wi-Fi enabled Demonstration & Evaluation Kit with Low-power RL78/G14MCU Provides Extensive HW/SW Features and Includes Digital Sensors

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

ID 024C: Auto Code Generation: The Shortest Distance From Idea to Implementation

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

F 2 MC-8FX Family. 8-bit Microcontroller. MB95200 Series

Security in Automotive Applications

LAB #1: The CSM12C32 Module and PBMCUSLK Project Board


ID 220L: Hands-on Embedded Ethernet Design with an Open Source TCP/IP Stack

SKP16C26 Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Migration from HEW to e 2 studio Development Tools > IDEs

Hands-On with STM32 MCU Francesco Conti

Laboratory Hardware and Tools

BASICS OF THE RENESAS SYNERGY PLATFORM

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

BASICS OF THE RENESAS SYNERGY PLATFORM

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

EB-51 Low-Cost Emulator

Introduction. Purpose. Objectives. Content. Learning Time

C8051F00x/01x-DK C8051F00X/01X DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. 2. Hardware Setup using a USB Debug Adapter

Old Company Name in Catalogs and Other Documents

TriCore Free Entry Tool Chain. AURIX family and AUDO Future, AUDO MAX

Lab 1 Introduction to Microcontroller

Tools Basics. Getting Started with Renesas Development Tools R8C/3LX Family

SKP16C62P Tutorial 2 Creating A New Project Using TM. Renesas Technology America Inc.

422L: Introduction to the.net Micro Framework

STM32 Cortex-M3 STM32F STM32L STM32W

Quick Start Guide: RL78G14 Motor Control Starter Kit

Processor Expert Software RAppID Suite Overview

BASICS OF THE RENESAS SYNERGY TM

C8051F800-DK C8051F800 DEVELOPMENT KIT USER S GUIDE. 1. Relevant Devices. 2. Kit Contents. 3. Hardware Setup

ARROW ARIS EDGE Board User s Guide 27/09/2017

BASICS OF THE RENESAS SYNERGY PLATFORM

Installation and Maintenance

RX Smart Configurator

WHICH MICRO? What does MCU needs to do in my system? What are the tasks? Dr. Adriana Becker-Gomez

2-bit ARM Cortex TM -M3 based Microcontroller FM3 Family MB9A130 Series

External Headers. USB Host User LEDs. User Switches. E1 Header (Unfitted)

EPM900 - Overview. Features. Technical Data

ARROW ARIS EDGE S3 Board User s Guide 21/02/2018

Using Embedded Tools for I2C, SPI, and USB Debugging for the Renesas RX63N RDK

SEMICONDUCTOR PRODUCT INFORMATION

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

F28069 ControlCard Lab1

ARM Microcontroller Interfacing - Warwick A. Smith ISBN Elektor. Table of Contents

Approximately half the power consumption of earlier Renesas Technology products and multiple functions in a 14-pin package

Course Introduction. Purpose: Objectives: Content: Learning Time:

BASICS OF THE RENESAS SYNERGY TM

TLE9844-2QX Appkit Getting Started. September 2018

Renesas Synergy MCUs Build a Foundation for Groundbreaking Integrated Embedded Platform Development

Transcription:

RL78 Project Configuration Tips Renesas Electronics America Inc.

Renesas Technology & Solution Portfolio 2

Microcontroller and Microprocessor Line-up 2010 2012 32-bit 8/16-bit 1200 DMIPS, Superscalar Automotive & Industrial, 65nm 600µA/MHz, 1.5µA standby 500 DMIPS, Low Power 8/16-Bit True Low Power High Efficiency & Integration 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 & Automotive, LCDs 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. As a result Project schedules do not always scale accordingly and requires tips and tricks from the MCU supplier to configure the MCU which works best with the application. Solution: This class provides tips and tricks for how to configure the Renesas new IDE Eclipse with GNU compiler to quickly develop RL78 application. 4

Agenda e 2 studio Project wizard Configuration Project Template configuration Clock Interrupt Other Peripheral Initialization Option Byte and Security ID configuration Section configuration Optimization Configuration 5

RL78/G14 RDK s User Features RS-232 TK Debug Digital sensors Temp & Accel Graphics LCD Gainspan Wi-fi RL78/G14 MCU Application header WiFi Eink display LED Ring FET TRIAC 6

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 1.1 http://www.renesas.com/products/tools/ide/ide_e2studio/downloads.jsp RL78 GNU compiler version 12.02 http://www.kpitgnutools.com 7

Definition of Terms Software Elements e 2 studio Eclipse based Integrated Development Environment for Renesas Microcontroller families RL78, RX, V850, SH. Perspective A perspective is like a page in a book which contains set of views. Debug Perspective 8

Definition of Terms (Cont.) Software Elements (cont.) View: A perspective consists of a number of sub-windows, called views. Option Byte: Four bytes which configure the RL78 at boot-up. Security ID: A 10 bytes code provides on-chip debug security ID to prevent third parties from reading RL78 memory content. Hardware Elements TK interface On-chip debug emulator for RL78 device. RDK Renesas Demonstration Kit 9

RL78 Project Wizard Enter new project name Select 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 10

Target-specific Settings Select toolchain version if multiple versions installed Select Debug hardware Select Target 11

Project Configuration Select configuration Hardware Debug Simulator Debug Custom Debug Release Selection determines initially active build configuration 12

Library Configuration 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 header files Select library Type Pre-built for convenience Project-built for sourcelevel debugging 13

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 14

Hardware Configuration Add the clock initialization Add peripheral initialization 15

Interrupt Handler Configuration Modify the default interrupt handler 16

Option Byte and Security ID Configuration Security ID allows authentication before debug Option byte Location0xC0H to 0xC3H 0xC0H: WDT setting 0xC1H: LVD voltage setting 0xC2H: Oscillator speed selection 0xC3H: Enable/Disable on-chip debug function 17

Section Configuration List all the sections in the project in the sections Viewer Easy to add a new section Add expression/label Defines the start addess Follow from the previous section 18

Optimization Configuration Limited set of options available via quick settings dialog 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 19

Common Issues Can t find the TK interface under hardware debug configuration in e2studio? -> There is no TK interface options available in the e 2 studio. E1 debug option serves for both TK interface and E1 emulator connection. I started the debugger but can t see the code on the debug window? -> Check if you have switch to the debug perspective from the C/C++ perspective. Can t connect e 2 studio to RDK board for the debug session? -> Check the SW5 DIP-switch setting on the board as: 1:OFF; 2:ON; 3:OFF ; 4:OFF 20

Lab Time! Please refer to the Lab Handout and let s get started! 21

Questions? 22

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. As a result Project schedules do not always scale accordingly and requires tips and tricks from the MCU supplier to configure the MCU which works best with the application. This class provides tips and tricks for how to configure the Renesas new IDE Eclipse with GNU compiler to quickly develop RL78 application. Do you agree that we accomplished the above statement? 23

Pop Quiz Q: what configuration can be done using Renesas quick setting dialogue? a) optimization b) Warning level setting c) Linker output files d) None of the above Q: What is the default optimization setting in the e 2 studio project template?? a) size b) speed c) No optimization d) Size and speed 24

Pop Quiz Q: Name the perspectives available in the e 2 studio? a) C/C++ Perspective b) Renesas Debug Perspective c) None of the above d) Linker file setting Q: What is the advantage of using the project built library?? a) Code will compile fast b) Library Code will be optimized c) A and B d) Library code can be debug along with other source code 25

Renesas Electronics America Inc.