R0K521134S000BE Renesas Electronics America, R0K521134S000BE Datasheet
R0K521134S000BE
Specifications of R0K521134S000BE
Related parts for R0K521134S000BE
R0K521134S000BE Summary of contents
Page 1
To our customers, Old Company Name in Catalogs and Other Documents st On April 1 , 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the ...
Page 2
All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm ...
Page 3
Renesas Starter Kit RSK R8C/13 Tutorial Manual RENESAS SINGLE-CHIP MICROCOMPUTER Rev.3.00 2007.01 ...
Page 4
Table of Contents TChapter 1. Preface................................................................................................................................................1 T Chapter 2. Introduction............................................................................................................................................2 Chapter 3. Tutorial Project Workspace ...................................................................................................................3 Chapter 4. Project Workspace ................................................................................................................................4 4.1. Introduction...................................................................................................................................................4 4.2. Creating a new Project Workspace ..............................................................................................................4 4.3. Build Configurations and Debug Sessions ...................................................................................................5 4.3.1. Build Configuration ...
Page 5
Cautions 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 Technology Europe Limited. Trademarks All brand or ...
Page 6
This manual is designed to answer, in tutorial form, the most common questions asked about using the Renesas Starter Kit (RSK): The tutorials help explain the following: • How do I compile, link, download, and run a simple program on ...
Page 7
Chapter 3. Tutorial Project Workspace The workspace includes all of the files for two build configurations. The tutorial code is common to both the Debug and the Release build configurations. The tutorial is designed to show how code can be ...
Page 8
Chapter 4. Project Workspace 4.1. Introduction High-performance Embedded Workshop (HEW integrated development tool that allows the user to write, compile, program and debug a software project on any of the Renesas Microcontrollers. HEW will have been installed during ...
Page 9
The next dialog presents the three types of example project available: 1. Tutorial: This is the one of interest at this time; the code is explained later in this manual. 2. Sample code: this provides examples for using various peripherals. ...
Page 10
Chapter 5. Building the Tutorial Project The tutorial project build settings have been pre-configured in the tool-chain options. To view the tool chain options select the ‘Build’ Menu item and the relevant tool-chain. This should be the first option(s) on ...
Page 11
Connecting the debugger For this tutorial it is not necessary to provide an external power supply to the board. The power will be obtained from the USB port. Please be aware that if you have too many devices connected ...
Page 12
Select “User Flash Area” for firmware location and clear the “Enable advanced setting” checkbox. • Click <OK>. • The Flash Memory write program will be downloaded to the target. • The Output window in HEW will show ‘Connected’ Note: ...
Page 13
Chapter 6. Downloading and Running the Tutorial Once the code has been built in HEW it needs to be downloaded to the RSK itself. There will now be an additional category in the workspace view for ‘Download Modules’ • Right ...
Page 14
Place a breakpoint at the call to main(); Breakpoints can be set by double clicking in the grey column containing the PC arrow next to the line to break at; or selecting the line and pressing F9; or right ...
Page 15
Right click on the FlashLEDs(); function and select ‘Go To Cursor’ as illustrated. The code will execute to the selected line and stop. An automatic breakpoint was inserted in the code and then removed after calling the break. • ...
Page 16
Press <Stop> on the debug tool bar. • Press ‘CTRL-B’ to open the breakpoint window. • Press <Remove All>. • Press <OK>. • Open the file ‘main.c’ • Insert a breakpoint on StaticsTest();. The statics test is used to ...
Page 17
The dialog will close and a new pane will open in the workspace containing the variable possible to see that the string has been successfully initialised to ‘ STATIC ‘. • Set a breakpoint on the call to ...
Page 18
Standard Project Files The RSK tutorials are configured so that it is possible to provide the same tutorial code on multiple RSK products. This allows the evaluation of the different processor cores using equivalent code. To achieve this, the ...
Page 19
Board initialisation code (hwsetup.c / hwsetup.h) There are four common stages to the configuration of the microcontroller device. The code to demonstrate this is therefore split into four functions. Each function is written specifically for the device supported. The ...
Page 20
Main tutorial code (main.c / main.h) The main tutorial code is common to all tutorial projects. The display initialisation and string display functions operate on the LCD display module. Check compatibility with ks0066u controller and pin connection on the ...
Page 21
Chapter 8. Additional Information For details on how to use High-performance Embedded Workshop (HEW), refer to the HEW manual available on the CD or from the web site. Further information available for this product can be found on the Renesas ...
Page 22
Renesas Starter Kit RSKR8C13 Tutorial Manual Publication Date Rev.3.00 15.JAN.2007 Renesas Technology Europe Ltd. Published by: Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK ©2006 Renesas Technology Europe and Renesas Solutions Corp., All Rights Reserved. ...
Page 23
Renesas Starter Kit for R8C/13 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan Tutorial Manual REG10J0038-0300 ...