RenesasメーカーREG10J0083-0100の使用説明書/サービス説明書
ページ先へ移動 of 20
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.
Table of Contents Chapter 1. Preface .............................................................................................................................. .................... 1 Chapter 2. Introduction ........................................
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.
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: • H.
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.
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.
• 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.
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.
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.
• 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.
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’.
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.
• 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.
• Press <Stop> on the debug toolbar. • Press ‘CTRL-B’ to open the breakpoint window. • Select ‘Remove All’ • Press <OK>. • Open the file ‘main.
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’.
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.
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.
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 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.
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.
デバイスRenesas REG10J0083-0100の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Renesas REG10J0083-0100をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはRenesas REG10J0083-0100の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Renesas REG10J0083-0100の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Renesas REG10J0083-0100で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Renesas REG10J0083-0100を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はRenesas REG10J0083-0100の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Renesas REG10J0083-0100に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちRenesas REG10J0083-0100デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。