Manuel d’utilisation Renesas H8S2215R

26 pages 0.71 mb
Télécharger

Aller à la page of 26

Summary
  • Renesas H8S2215R - page 1

    REG10J0023-0100 Renesas Starter Kit RSK H8S2215R Tutorial Manual RENESAS SINGLE-CHIP MICROCOMPUTER Rev .1.00 Renesas T echnology Europe Ltd. Revision date 12.01.2007 www .renesas.com ...

  • Renesas H8S2215R - page 2

    T able of Content s Chapter 1. Preface .................................................................................................................................................. 3 Chapter 2. Introduction .......................................................................................................................................... ...

  • Renesas H8S2215R - page 3

    Chapter 1. Preface 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 wri tten permission of Renesas Technology Europe Limited. Trademarks All brand or product names used in this manual are t ...

  • Renesas H8S2215R - 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? The ...

  • Renesas H8S2215R - page 5

    Chapter 3. T utorial Project Wo rksp 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 c ode can be written, debugged then downloaded without the debug monitor in a ‘Release’ situation. The build con ...

  • Renesas H8S2215R - page 6

    Chapter 4. Project W orkspace 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 software installation for the RSK product. To begin using the RSK, this manual will describe the st ages r ...

  • Renesas H8S2215R - page 7

    • Click OK to start the RSK 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 provide s examples for using various peripherals. This will open a new dialog allowing the se lection of many code examp ...

  • Renesas H8S2215R - 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 selected tool- ...

  • Renesas H8S2215R - page 9

    5.2. Connecting the debugger For this tutorial it is not necessary to provide an external power supply to the board, the pow er will be provided by the E8 fr om the USB port. 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 ...

  • Renesas H8S2215R - page 10

    • Select the Device on the RSK from the drop down list. • In the sub pane, select the kernel version that ends in ‘.RSK’. • Press <Next>. If you have copied the kernel to another location to modify for a different crystal frequency, the device will not be listed in the sub pane. In this case: • Press <Other…> and navigate ...

  • Renesas H8S2215R - page 11

    • Ensure that ‘USER Program Mode’ is selected. • Confirm that ‘Use Default’ is selected. • Press <Next>. • Confirm the default selections of ‘Automatic’ and ‘Advanced’. • Press <Next>. • The following warning dialog will be displayed. • Press <OK>. To communicate with the RSK FDT and HMon need to be a ...

  • Renesas H8S2215R - page 12

    Damage to the microcontr oller can be sustained with incorrect settings. • Confirm the mode pin settings. • Press <Next>. • The following warning dialog will be displayed. • Press <OK>. Damage to the microcontr oller can be sustained with incorrect settings. • Confirm the mode pin settings. • Press <Finish>. The Flash ...

  • Renesas H8S2215R - page 13

    5.3.1. Connecting To HMon We can now attempt to connect to the target device. • Press the Green ‘Connect’ Icon. HMon is able to discover the internal flash configuration of t he device from the FDT kernel we configured earlier. HMon also ne eds information on the location of the IO registers and internal / exte rnal RAM. This information is s ...

  • Renesas H8S2215R - page 14

    • Confirm the settings shown and press <OK>. HMon will attempt to connect to the RSK. If it succeeds then the Output window in HEW will show the ‘Connected’ message. In thi s case please proceed to Chapter 6 . If the connection fails you will be returned to the previous dialog wit h the ‘Abort’ button enabled. This is likely to be c ...

  • Renesas H8S2215R - page 15

    • Ensure ‘0x000D – 1 [Closed]’ is selected and click <OK>. On completion of the download HMon will automatically re-connect to the monitor and revert back to User programming mode. 15 ...

  • Renesas H8S2215R - page 16

    Chapter 6. Downloading and Running the T utorial Once the code has been built in HEW it needs to be downloaded to the RSK. Now that you are connected to the target you should see an additional category in the workspace view called ‘Download Modules’ • Right click on the download module listed and select ‘Download’ The download options dia ...

  • Renesas H8S2215R - page 17

    We will now skip over the initialisation code and proceed to the main tutorial. • Open the file called ‘resetprg.c’ by double clicking it in the project navigator. • Place a breakpoint at the call to main(); by double clicking in the column containing the PC arrow, next to the line to break at; or selecting the line and pressing F9; or righ ...

  • Renesas H8S2215R - page 18

    • Right click on the ‘FlashLEDs();’ function and select ‘Go to cursor’. The code will run to the selected line and st op. A temporary breakpoint was automatically inserted in the code and then removed when the program stopped at the breakpoint. • Press ‘Step Over’ on the Debug Tool Bar. The code will run and flash the LEDs 200 times ...

  • Renesas H8S2215R - page 19

    The code will now run to the infinite loop at the end of Main(). The user LEDs should now be flashing. You can modify the flash ing rate by adjusting the potentiometer on the board. • Press ‘Stop’ on the debug tool bar. • Press ‘CTRL-B’ to open the breakpoint window. • Select ‘Remove All’ • Press <OK>. • Open the file ? ...

  • Renesas H8S2215R - page 20

    • Press ‘Go’ to run the code from the current PC position. When the program stops you can see the modified string displayed on the second line of the LCD. Inspection of the watch pane will show that the first character of the variable string has been replaced with the first charact er of the constant replacement string. • Remove the breakpo ...

  • Renesas H8S2215R - page 21

    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 t he following files are common between all d evice cores / Tool-chains. Each of ...

  • Renesas H8S2215R - page 22

    7.1.2. Board initialisation code (Hwsetup.c / hwsetup.h) There are four common stages to the configuration of the microc ontroller device. The code to demonstrate this is therefore spli t into four functions. Each function is written specifically for the device suppo rted. The function calls are shown below. 22 ...

  • Renesas H8S2215R - page 23

    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 a ks0066u controller and pin c onnection on the schematic before connecting an LCD module not s upplied by Renesas. 23 ...

  • Renesas H8S2215R - page 24

    Chapter 8. Additional Information For details on how to use High-performance Embedded Workshop (HEW), refer to the HEW User manual available on the CD or from th e Manual Navigator installed with this product. For more information on the configuration and use of HMon please refer to the HMon User Manual installed from the CD. Further information av ...

  • Renesas H8S2215R - page 25

    Renesas S ta r ter Kit for H8 S2215R T utorial Manual Publication Date Rev .1.00 12.01.2007 Published by: Renesas T echnology Europe Ltd. Dukes Meadow, Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdom ©2006 Renesas T echn ology Europe and Renes as Solutions Co rp., All Ri ghts Reserved. ...

  • Renesas H8S2215R - page 26

    Renesas S tarter Kit for H8S2215R T utorial Manual Renesas T echnology Europe Ltd. Dukes Meadow , Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdo m ...

Fabricant Renesas Catégorie Computer Hardware

Les documents que nous recevons du fabricant de l'appareilRenesas H8S2215R peuvent être divisés en plusieurs groupes. Ceux-ci sont, entre autres:
- dessins techniques Renesas
- manuels d’utilisations H8S2215R
- fiches produit Renesas
- dépliants
- ou étiquettes-énergie Renesas H8S2215R
Tous sont importants, mais les informations les plus importantes du point de vue de l'utilisation de l'appareil se trouvent dans le manuel d’utilisation Renesas H8S2215R.

Un groupe de documents appelé manuels d’utilisation est également divisé en types plus spécifiques, tels que: Manuels d’installation Renesas H8S2215R, manuels d’entretien, brefs manuels ou manuels de l’utilisateur Renesas H8S2215R. Selon vos besoins, vous devriez chercher le document dont vous avez besoin. Sur notre site, vous pouvez voir le manuel le plus populaire d’utilisation du produit Renesas H8S2215R.

Manuels d’utilsiation similaires

Manuel d’utilisation complet de l’appareil Renesas H8S2215R, quelle devrait-elle être?
Le manuel d’utilisation, également appelé le mode d’emploi, ou tout simplement le manuel, est un document technique destiné à aider à utiliser Renesas H8S2215R par les utilisateurs. Des manuels sont généralement écrits par un rédacteur technique, mais dans un langage accessible à tous les utilisateurs Renesas H8S2215R.

Le manuel d’utilisation complet Renesas, devrait inclure plusieurs éléments de base. Certains d'entre eux sont moins importants, tels que: la couverture / page de titre ou pages d'auteur. Cependant, la partie restante, devrait nous fournir des informations importantes du point de vue de l'utilisateur.

1. Introduction et des conseils sur la façon d'utiliser le manuel Renesas H8S2215R - Au début de chaque manuel, nous devrions trouver des indices sur la façon d'utiliser le document. Il doit contenir des informations sur l'emplacement de la table des matières Renesas H8S2215R, FAQ ou des problèmes les plus fréquents - les points qui sont les plus souvent recherchés par les utilisateurs de chaque manuel
2. Table des matières - index de tous les conseils pour lRenesas H8S2215R qui peuvent être trouvés dans le document courant
3. Conseils sur la façon d'utiliser les fonctions de base de l’appareil Renesas H8S2215R - qui devraient nous aider dans les premières étapes lors de l'utilisation Renesas H8S2215R
4. Troubleshooting - séquence systématique des activités qui nous aideront à diagnostiquer et ensuite résoudre les principaux problèmes de Renesas H8S2215R
5. FAQ - questions fréquemment posées
6. Détails du contact Informations sur l'endroit où chercher le contact avec le fabricant / service Renesas H8S2215R dans un pays donné, si le problème ne peut être résolu par nous-mêmes.

Avez-vous une question à propos de Renesas H8S2215R?

Utiliser le formulaire ci-dessous

Si vous n’avez pas résolu votre problème avec Renesas H8S2215R, avec l'aide du manuel que vous avez trouvé, posez une question en utilisant le formulaire ci-dessous. Si un utilisateur a eu un problème similaire avec Renesas H8S2215R il est probable qu’il a envie de partager la façon de le résoudre.

Réécrire le texte de l'image

Commentaires (0)