Renesas RX Series User Manual
Hide thumbs Also See for RX Series:

Advertisement

Quick Links

RX63N Group
32
RENESAS MCU
RX Family / RX600 Series
All information contained in these materials, including products and product specifications, rep-
resents information on the product at the time of publication and is subject to change by
Renesas Electronics Corporation without notice. Please review the latest information published
by Renesas Electronics Corporation through various means, including the Renesas Electronics
Corporation website (http://www.renesas.com).
Renesas Starter Kit+ Tutorial Manual
Rev.1.00 Jul 2012

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RX Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Renesas RX Series

  • Page 1 All information contained in these materials, including products and product specifications, rep- resents information on the product at the time of publication and is subject to change by Renesas Electronics Corporation without notice. Please review the latest information published by Renesas Electronics Corporation through various means, including the Renesas Electronics Corporation website (http://www.renesas.com).
  • Page 2 Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an applica- tion categorized as “Specific”...
  • Page 3 RSK+. Renesas expressly dis- claims all such warranties. Renesas or its affiliates shall in no event be liable for any loss of profit, loss of data, loss of contract, loss of business, damage to reputation or goodwill, any economic loss, any reprogramming or recall...
  • Page 4 The following documents apply to the RX63N Group. Make sure to refer to the latest versions of these documents. The newest versions of the documents listed may be obtained from the Renesas Electronics Web site. Document Type...
  • Page 5 List of Abbreviations and Acronyms Abbreviation Full Form Analogue to Digital Converter Compact Disk Central Processing Unit E1 Emulator E20 Emulator High-performance Embedded Workshop Liquid Crystal Display Light Emitting Diode Read-Only Memory RPDL Renesas Peripheral Driver Library RSK+ Renesas Starter Kit+ Universal Serial Bus...
  • Page 6: Table Of Contents

    Table of Contents 1. Overview ............................7 Purpose..................................7 Features ..................................7 2. Introduction ............................8 3. Tutorial Project Workspace ........................ 9 4. Project Workspace ..........................10 Introduction ................................10 Starting HEW and Connecting the E1 Debugger ....................10 Build Configurations and Debug Sessions ....................... 11 4.3.1 Build Configuration ............................
  • Page 7: Overview

    RENESAS STARTER KIT+ Jul 20, 2012 1. Overview Purpose This RSK+ is an evaluation tool for Renesas microcontrollers. This manual describes how to get the RSK+ tutorial started, and basic debugging operations. Features This RSK+ provides an evaluation of the following features: ·...
  • Page 8: Introduction

    RSK+RX63N 2. Introduction 2. Introduction This manual is designed to answer, in tutorial form, the most common questions asked about using a Renesas Start- er Kit+ (RSK+). The tutorials help explain the following: · How do I compile, link, download and run a simple program on the RSK+? ·...
  • Page 9: Tutorial Project Workspace

    RSK+RX63N 3. Tutorial Project Workspace 3. Tutorial Project Workspace The workspace includes all of the files for two build configurations, ‘Build’ and ‘Release’. The tutorial code is common to both build configurations; and is designed to show how code can be written, debugged and then down- loaded without the debug monitor in a ‘Release’...
  • Page 10: Project Workspace

    Renesas Microcontrollers. High-performance Embedded Work- shop will have been installed during the installation of the software support for the Renesas Starter Kit product. This manual will describe the stages required to create and debug the supplied tutorial code.
  • Page 11: Build Configurations And Debug Sessions

    The debug sessions are selected from the right hand drop down list on the tool bar. The options vary between Renesas Starter Kit types however one will always start Debug and include the type of debug interface. The alter- nate selection will be ‘SessionRX600_E1_E20_SYSTEM’. The purpose of the debug sessions is to allow the use of different debugger tools or different debugger settings on the same project.
  • Page 12: Building The Tutorial Program

    RSK+RX63N 5. Building the Tutorial Program 5. Building the Tutorial Program The tutorial project build settings have been pre-configured in the toolchain options. To view the toolchain options select the ‘Build’ menu item and the relevant toolchain. This should be the first option on the drop down menu. The dialog that is displayed will be specific to the toolchain selected.
  • Page 13: Connecting The Debugger

    The Quick Start Guide provided with the Renesas Starter Kit board gives detailed instructions on how to connect the E1 to the host computer. The following assumes that the steps in the Quick Start Guide have been followed and the E1 drivers have been installed.
  • Page 14 RSK+RX63N 5. Building the Tutorial Program · Select the ‘SessionRX_E1_E20_SYSTEM’ de- bug session. · Click the [Connect] button on the debug toolbar. · The ‘Initial Settings’ configuration dialog will appear. Ensure the follow configurations are set: ¾ MCU group: RX63N Group ¾...
  • Page 15 RSK+RX63N 5. Building the Tutorial Program · A connecting dialog will appear, show the status of the connection process. Under default settings, this dialog box will disappear once the connec- tion is complete. · Once the debugger has connected, the configura- tion properties dialog will appear.
  • Page 16 RSK+RX63N 5. Building the Tutorial Program Now is a good time to save the High-performance Embedded Workshop session. · Select ‘File’ | ‘Save Session’. If you have changed any workspace settings now is a good time to save the workspace. ·...
  • Page 17: Downloading And Running The Tutorial

    RSK+RX63N 6. Downloading and Running the Tutorial 6. Downloading and Running the Tutorial Downloading the Program Code Now the code has been built in HEW it needs to be downloaded to the RSK+. Now that you are connected to the target you should see an additional category in the workspace view called ‘Download Modules’...
  • Page 18: Reviewing The Tutorial Program

    RSK+RX63N 7. Reviewing the Tutorial Program 7. Reviewing the Tutorial Program This section will look at each section of the tutorial code, how it works, and how it could be altered to be imple- mented into more complex code. Program Initialisation Before the main program can run, the Microcontroller must be configured.
  • Page 19 RSK+RX63N 7. Reviewing the Tutorial Program · Highlight the ‘HardwareSetup()’ func- tion call by left clicking to the right of the text, and holding the left mouse button and dragging over to the left of it and releasing the left mouse button. ·...
  • Page 20: Main Functions

    RSK+RX63N 7. Reviewing the Tutorial Program Main Functions This section will look at the program code called from with the main() function, and how it works. · Find the main.c file from the file tree on the left hand side, then right click it and select ‘Open main.c’...
  • Page 21 RSK+RX63N 7. Reviewing the Tutorial Program · Press ‘Reset Go’ on the Debug Tool Bar. · The code will execute to the event point. At this point all the device initialisation will have been completed. The code win- dow will open ‘main.c’ and show the new position of the program counter.
  • Page 22 RSK+RX63N 7. Reviewing the Tutorial Program · Click ‘Go’ to resume the pro- gram, then push switch 1 to proceed. The program should halt at the event point set on the Timer_ADC function call. · Press ‘Step In’ to single-step into the Timer_ADC function.
  • Page 23: Additional Information

    Copyright This document may be, wholly or partially, subject to change without notice. All rights reserved. Duplication of this document, either in whole or part is prohibited without the written permission of Renesas Electronics Europe Lim- ited. © 2012 Renesas Electronics Europe Limited. All rights reserved.
  • Page 24 REVISION HISTORY RSK+RX63N Tutorial Manual Rev. Date Description Page Summary ¾ 1.00 Jul 20, 2012 First Edition issued...
  • Page 25 Renesas Starter Kit+ Tutorial Manual Publication Date: Rev.1.00 Jul 20, 2012 Published by: Renesas Electronics Corporation...
  • Page 26 SALES OFFICES http://www.renesas.com Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada...
  • Page 27 RX63N Group R20UT0439EG0100...

This manual is also suitable for:

Rx600 seriesRx63n series

Table of Contents