Renesas REG10J0083-0100 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas REG10J0083-0100, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Renesas REG10J0083-0100 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Renesas REG10J0083-0100. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Renesas REG10J0083-0100 should contain:
- informations concerning technical data of Renesas REG10J0083-0100
- name of the manufacturer and a year of construction of the Renesas REG10J0083-0100 item
- rules of operation, control and maintenance of the Renesas REG10J0083-0100 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Renesas REG10J0083-0100 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Renesas REG10J0083-0100, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Renesas service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Renesas REG10J0083-0100.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Renesas REG10J0083-0100 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    REG10J0083-0100 Renesas Starter Kit for H8S/2472 Tutorial Manual RENESAS SINGLE-CHIP MICROCOMPUTER H8S F AMIL Y Rev .1.00 Renesas T echnology Europe Ltd. Revision date: 28.08.2008 www .renesas.com[...]

  • Page 2

    Table of Contents Chapter 1. Preface .............................................................................................................................. .................... 1 Chapter 2. Introduction ............................................................................................................................... ...........[...]

  • Page 3

    Chapter 1. Preface Cautions This document may be, wholly or partially, subject to change without notice. All rights reserved. Duplication of this document, either in w hole or part is prohibited without the written permission of Rene sas Technology Europe Limited. Trademarks All brand or product names used in this manual are trademarks or registere[...]

  • Page 4

    Chapter 2. Introduction This manual is designed to answer , in tutorial form, the most common questions asked about using a Renesas Starter Kit (RSK ): T he tutorials help explain the following: • How do I compile, link, download, and run a simple program on the RSK? • How do I build an embedded application? • How do I use Renesas’ tools? T[...]

  • Page 5

    Chapter 3. T utorial Project W orksp ace The workspace includes all of the files for two build configurat ions. The tutorial code is common to both the Debug and the Rel ease build configurations. The tutorial is designed to show how code can be written, debugged then downloaded in a ‘Release’ situation. The build configuration menu in High-per[...]

  • Page 6

    Chapter 4. Project W orksp ace 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 th e Renesas Microcontrollers. HEW will have been installed during the insta llation of the software support for the RSK product. This manual will describe the stages required [...]

  • Page 7

    • Click <OK> to start the R SK Project Generator wizard. The next dialog presents the example projects available. Choose the Tutorial code which will be explained later in this manual. There is also an option for Sample code which provides examples for us ing various peripherals. This will open a new dialog a llowing the selection of many c[...]

  • Page 8

    Chapter 5. Building the T utorial Project The tutorial project build settings have been pre-configured in the tool-chain options. To view the tool chain options select t he ‘Build’ Menu item and the relevant tool-chain. This shoul d be the first option(s) on the drop down menu. The dialog that is displayed will be specific to the tool-chain sel[...]

  • Page 9

    5.2. Connecting the debugger For this tutorial it is necessary for y ou to power the RSK from the supplied PSU. T he E10A module will be powered via the USB c able. Please be aware that if you have too many devices connected to your USB port it may be shut down by Windows. If this happens re move some devices and try again. Alternatively you can pr[...]

  • Page 10

    • Enter ID code as ‘0000E10A’. • The Flash Memory write program is 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 good time to save the workspace. • Select ‘File’ | ‘Save Wo[...]

  • Page 11

    Chapter 6. Downloading and Running the T utorial 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 the download module listed and select ‘Download’. On completion the debugger and code are ready to be executed. To[...]

  • Page 12

    the column to the left of the breakpoint column. Eight eventpoints can be set. Even tpoints do not require programming the flash memory, and thus are faster to use. • Press ‘Reset Go’ on the Debug Toolbar. The code will execute to the breakpoint. At this point all the device initialisation wil l have been completed. • Press ‘Step In’ on[...]

  • Page 13

    • Right click on the ‘FlashLEDs(); function and select ‘Go to cursor’. The code will execute to the selected line and stop. An automat ic breakpoint was inserted in the code and then removed after ca lling the break. • Press ‘Step Over’ on the Debug Toolbar. The code will run and flash the LEDs 200 times. The debugger will n o t exit [...]

  • Page 14

    • Press <Stop> on the debug toolbar. • Press ‘CTRL-B’ to open the breakpoint window. • Select ‘Remove All’ • Press <OK>. • Open the file ‘main.c’ • Insert a breakpoint on ‘Statics_Test();’. The statics test is used to demonstrate that the initialisati on has successfully copied all init ialised variables from[...]

  • Page 15

    replacement string. • 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 have now run the tutorial code and used many of the common f eatures of the debugger.[...]

  • Page 16

    Chapter 7. Project Files 7.1. 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 c ode. To achieve this, the following f iles are common between all device cores and Tool-chains. Each o[...]

  • Page 17

    7.1.3. Main tutorial code (main.c / main.h) The main tutorial code is common to all tutorial projects. T he display initialisation and string display functions operate on the LCD display module. Check compatibility with ks0066u controller and pin c onnection on the schematic before connecting a LCD module not supp lied by Renesas. 15[...]

  • Page 18

    16 Chapter 8. Additional Information For details on how to use High-performance Embedded Workshop (HEW), refer to the HEW man ual available on the CD or from the web site. Further information available for this pr oduct can be found on the Renesas website at: http://www.renesas.com/renesas_starter_kits General information on Renesas Microcontroller[...]

  • Page 19

    Renesas S tarter Kit for H8S/2472 T utorial Manual Publication Date Rev .1.00 28.08.2008 Published by: Renesas T echnology Europe Ltd. Dukes Meadow , Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK ©2008 Renesas T echnology E urope and Renesas Solutions Corp., All Rights Reserved.[...]

  • Page 20

    Renesas S tarter Kit for H8S/2472 T utorial Manual Renesas T echnology Europe Lt d. Dukes Meadow , Millboard Road, Bourne End, Bucki ngham shire, SL8 5FH, UK[...]