Manuel d'utilisation / d'entretien du produit M3T-SRA74 du fabricant Renesas
Aller à la page of 20
REJ10J1334-0200 Renesas Starter Ki t for 3803L Tutorial Manual (for M3T-SRA74) 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. Downloadi ng 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 InitialiseDisplay subroutine. Breakpoints can only be set when the E8a is connected to the tar get and the module is downloaded.
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. • Press <Go To Memory> In the ASCII column on a Memory Window, it is possib le to see th at the string has been successfully initialised to ‘ STATIC ‘ .
Chapter 7. Project File s 7.1. Standard Project Files Each of the tutorial files has detailed comment text describi ng the function of each code entry. Please refer to the source cod e for greater detail on the purpose and operation of the assembler specific details.
7.1.2. Board i niti alisation code (hw setup.a7 4) There are two stages to the configuration of the microcontroller device. The code to demonstrate this is therefore split into t wo functio ns. Each function is written specifically for the dev ice supported.
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 3803L Tutorial Manual (f or M3T- SRA74) 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 3803L T utorial Manual (for M3T-SRA74) Renesas Solution s Corp. 4-1-6, Mi yahara, Y odoga wa-ku, O saka Cit y , 532-0003, Japan.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté Renesas M3T-SRA74 c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du Renesas M3T-SRA74 - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation Renesas M3T-SRA74, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Renesas M3T-SRA74 va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Renesas M3T-SRA74, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du Renesas M3T-SRA74.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le Renesas M3T-SRA74. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Renesas M3T-SRA74 ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.