Summary of Contents for Renesas RX62G RX600 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 disclaims all such warranties. Renesas or its affiliates shall in no event be liable for any loss of profit, loss of data, loss of contract,...
Page 4
The following documents apply to the RX62G 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
Full Form Analogue to Digital Converter Application Programming Interface 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 Renesas Starter Kit Universal Serial Bus...
RENESAS STARTER KIT Sep 12, 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: ·...
RSKRX62G 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? ·...
RSKRX62G 3. Tutorial Project Workspace 3. Tutorial Project Workspace The workspace includes all of the files for two build configurations, ‘Debug’ 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’...
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.
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 ‘SessionRX_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.
RSKRX62G 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.
Refer to the RSKRX62G User Manual for further details. 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
RSKRX62G 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: RX62G Group ¾...
Page 15
RSKRX62G 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. Rev. 1.00 Page 15 of 29 R20UT2224EG0100 Sep 12, 2012...
Page 16
RSKRX62G 5. Building the Tutorial Program · Once the debugger has connected, the configura- tion properties dialog will appear. · Ensure the following configurations are set: ¾ Mode: Single-chip mode ¾ Endian: Little Endian ¾ Input Clock (EXTAL): 12.5 MHz ¾...
Page 17
RSKRX62G 5. Building the Tutorial Program If you have changed any workspace settings now is a good time to save the workspace. · Select ‘File’ | ‘Save Workspace’. SessionRX_E1_E20_SYSTEM If you make any changes to files in HEW and want to preserve these change, you can save them by: ·...
RSKRX62G 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’ ·...
RSKRX62G 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. It is recommended that a copy of the RX62G API Manual is made available, as the tutorial program uses RPDL and it is outside the scope of this manual to fully document the API system.
Page 20
RSKRX62G 7. Reviewing the Tutorial Program · Highlight ‘Hardware- Setup()’ function 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 21
RSKRX62G 7. Reviewing the Tutorial Program · ConfigureOperatingFre- quency function is used to set the speed of the system clocks. · We will now skip past the hardware setup functions to look at the tutorial’s main pro- gram code. For further details regarding hardware configuration, please refer to the RSKRX62G User’s Manual and the RX62G Hardware Manual.
RSKRX62G 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 23
RSKRX62G 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 24
‘RX62G’. · This is the extent of the tutorial code. For further information on the RPDL function calls used in the tutorial sample, please refer to Renesas Peripheral Driver Library User’s Manual. Rev. 1.00 Page 24 of 29 R20UT2224EG0100...
Page 28
SALES OFFICES 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...
Need help?
Do you have a question about the RX62G RX600 Series and is the answer not in the manual?
Questions and answers