RenesasメーカーM3T-ICC740の使用説明書/サービス説明書
ページ先へ移動 of 21
REJ10J1558-0200 Renesas Starter Ki t for 38D5 Tutorial Manual (for M3T-ICC740) RENESAS SINGLE-CHIP 8-BI T CMOS MICROCOMPUTER 740 F AMIL Y Rev .2.0 0 Renesas Sol utions Cor p.
Table of Contents Chapter 1. Prefac e .................................................................................................................................................. 1 Chapter 2. I ntroductio n ......................................
Chapter 1. Preface Cautions This document may be, wholly or partially, subject to change witho ut notice. All rights reserved. Duplication of this document, either in whole or part is prohibited without the written permission of Rene sas Solutions Corporation.
Chapter 2. Introductio n This manual is designed to answer, in tutorial form, the most common questions asked about using the Renesas Starter Kit: The t utorials help explain the following: • How do.
Chapter 3. T utorial Project Wo rkspace The workspace includes all of the files for two build conf igurat ions. The tutorial code is common to b oth the Debug and the Rel eas e bui ld configurations. The tutorial is desi gned to show how code can be w ritten, debugged then downloaded in a ‘Debug’ situatio n.
Chapter 4. Project W orkspace 4.1. Introduction High-performance Embedded Workshop is an integrated development tool that allows the user to write, compile, program and deb ug a software project on any of the Renesas Microcontrollers.
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.
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 the ‘Build’ menu item and the relevant tool-chain. This s hould be the first option on the drop down menu.
5.2. Connecting the debugger For this tutorial it is not necessary to provide an external power sup ply to the board. The power will be obtained from the USB port. Pl ease be aware that if you have too many devices connected to your US B port it may be shut down by Wi ndows.
• The Flash Memory write pro gram will be downloaded to the target. • The Output window in High-performance Embedded Workshop will sho w ‘ Connected’ Note: The connection to the target will activate the debugger buttons on the High-performance Embedded Workshop toolbar.
Chapter 6. Downloading and Runnin g the T utorial Once the code has been built in High-performance Embedded Workshop it needs to be downloaded to the Renesas Starter Kit itself. There will now be an additional category in t he workspace view for ‘Download Modules’ • Right click on the download module listed and select ‘Download’.
• Place a breakpoint at the call to main(); Breakpoints can only be set when the E8a is connected to the tar get and the module is downloaded. Br eak po int s can be set by double-clicking in the gr.
• Right click on the FlashLEDs(); function and select ‘Go To Cursor’ as illustr ated. The code will execute to the selected line and stop. An automatic breakpoint was inserted in the code and then removed after ca lling the break. • Press ‘Step Over’ on the debug toolbar.
• Press ‘CTRL-B’ to open the breakpoint window. This dialog is not available if user debugged using eventpoints as suggested at top of page 10. ‘CTRL-E’ will open the eventpoint window. Eventpoints can be viewed in Breakcondition tab of event window.
The dialog will close and a new pane will open in the work space containing the variable. It is possible to see that the string has been successful ly initialised to ‘ STATIC ‘. • Set a breakpoint on the call to DisplayString(); inside the for loop.
Chapter 7. Project Files 7.1. Standard Project Files The Renesas Starter Kit tutorials are configured so that it is possi ble to provide the same tutorial code on multiple Renesas S tarter Kit products. This allows the evaluati on of the different processor cores using equ ivalent code.
7.1.2. Board i nitial isation co de (hw setup.c / hw setup.h) There are four common stages to the configuration of the microcon troller device. The code to demon strate this is therefore spli t into fo ur functions. Each function is written specifically for the dev ice supported.
7.1.3. Main tutorial cod e (main.c / mai n.h) The main tutorial code is common to all tutorial projects. The display initiali sation and string display functions operate on t he LCD d isplay module. Check compatibility with ks0066u controller and pin conne ct ion on the schematic before connecting an LCD module not sup plied by Renesas.
Chapter 8. Additional Information For details on how to use High-performance E mbedded Workshop, refer to the High-performance Embedded Workshop manual 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 Starter Ki t for 38D5 Tutorial Manual (f or M3T-ICC740) Publicat ion Date Rev . 2.00 Aug.10,2 007 Publish ed b y: Renesas So lut ions Corp . 4-1-6, Mi yahara, Yod ogawa-k u, Osak a City, 532-0003 , Japan ©2007 Renesas Solutions Corp., Renesas T echnology Europe Lt d.
Renesas Star ter Kit for 38D5 T utorial Manual (for M3T-ICC740) Renesas Solution s Corp. 4-1-6, Mi yahara, Y odoga wa-ku, O saka Cit y , 532-0003, Japan.
デバイスRenesas M3T-ICC740の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Renesas M3T-ICC740をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはRenesas M3T-ICC740の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Renesas M3T-ICC740の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Renesas M3T-ICC740で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Renesas M3T-ICC740を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はRenesas M3T-ICC740の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Renesas M3T-ICC740に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちRenesas M3T-ICC740デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。