R0K330290S000BE Renesas Electronics America, R0K330290S000BE Datasheet
![KIT EVAL STARTER FOR M16C/29](/photos/9/23/92359/r0k330290s000be_sml.jpg)
R0K330290S000BE
Specifications of R0K330290S000BE
Related parts for R0K330290S000BE
R0K330290S000BE 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 M16C29 Tutorial Manual RENESAS SINGLE-CHIP MICROCOMPUTER Rev.4.00 2007.10 ...
Page 4
Table of Contents Table of Contents........................................................................................................................................................ii Chapter 1. Preface .......................................................................................................................................................1 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 ...
Page 5
Cautions This document may be, wholly or partially, subject to change without notice. All rights reserved. No one is permitted to reproduce or duplicate, in any form, a part or this entire document without the written permission of Renesas Technology ...
Page 6
This manual is designed to answer, in tutorial form, the most common questions asked about using a 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 written, ...
Page 8
Chapter 4. Project Workspace 4.1.Introduction HEW is an 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 the installation of the ...
Page 9
This project is suitable for the user to add code without having to configure the debugger. • Select “Tutorial” as the type of project to generate and then click “Next”. • Click “Finish” ...
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
The Quick Start Guide provided with the RSK board gives detailed instructions on how to connect the E8a module to the host computer. The following assumes that the steps in the Quick Start Guide have been followed and the E8a ...
Page 12
Select FF000 for the Firmware location for the program recommended that the E8a firmware location is towards the top of the memory map. • Select 3300 for the Work RAM location recommended that the Work ...
Page 13
The Flash Memory downloaded. • The Output window in HEW will state ‘Connected’ Now is a good time to save the HEW session. • Select ‘File’ | ‘Save Session’. If you have changed any workspace settings now is a ...
Page 14
Chapter 6.Downloading and Running the Tutorial Once the code has been built in HEW it needs to be downloaded to the RSK. There will now be an additional category in the workspace view for ‘Download Modules’ • Right click on ...
Page 15
Press ‘Reset Go’ on the Debug Tool Bar. The code will execute to the breakpoint. At this point all the device initialisation will have been completed. • Press ‘Step In’ on the Debug Tool Bar. The code window will ...
Page 16
Right click on the ‘FlashLEDs(); function and select ‘Go to cursor’. 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. • Press ‘Step ...
Page 17
Press <Stop> on the debug tool bar. • Press ‘CTRL-B’ to open the breakpoint window. • Select ‘Remove All’ • Press <OK>. • Open the file ‘main.c’ • Insert a breakpoint on ‘StaticsTest();’. The statics test is used to ...
Page 18
Remove the breakpoint • Right click on the ‘DisplayString();’ function call after the loop and select ‘Go to cursor’. This shows that the variable was initialised at program start up and can be overwritten with ‘TESTTEST’. You ...
Page 19
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 following ...
Page 20
The call to ‘hardwaresetup()’ will initialise the device hardware and peripherals ready for the tutorial software. The call to ‘main()’ will start the main demonstration code. 7.1.2.Board initialisation code (Hwsetup.c / hwsetup.h) There are four common stages to the configuration ...
Page 21
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 schematic ...
Page 22
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 website ...
Page 23
Renesas Starter Kit RSKM16C29 Tutorial Manual Publication Date Rev.04.00 26.OCT.2007 Renesas Technology Europe Ltd. Published by: Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK ©2007 Renesas Technology Europe and Renesas Solutions Corp., All Rights Reserved. ...
Page 24
RSK M16C29 Tutorial Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan Renesas Starter Kit REG10J0005-0400 ...