Bedienungsanleitung Renesas H8S2215R

26 Seiten 0.71 mb
Download

Zur Seite 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 ...

Produzent Renesas Kategorie Computer Hardware

Dokumente, die wir vom Produzenten des Geräts Renesas H8S2215R erhalten, können wir in mehrere Gruppen teilen. Unteranderem in:
- technische Zeichnungen Renesas
- Bedienungsanleitungen H8S2215R
- Produktkarten Renesas
- Informationsbroschüren
- oder Energieetiketten Renesas H8S2215R
Jede von ihnen ist wichtig, jedoch finden wir die wichtigsten Informationen für den Nutzer des Geräts in der Bedienungsanleitung Renesas H8S2215R.

Die Dokumentengruppe, die als Bedienungsanleitungen bezeichnet wird, wird ebenfalls in detaillierte Arten geteilt, solche wie: Montageanleitungen Renesas H8S2215R, Wartungsanleitungen, Kurzanleitungen oder Benutzeranleitungen Renesas H8S2215R. Abhängig vom Bedarf, sollten Sie das Dokument finden, das Sie brauchen. In unserem Service können Sie sich die populärste Bedienungsanleitung des Produkts Renesas H8S2215R ansehen.

Ähnliche Bedienungsanleitungen

Die komplette Bedienungsanleitung des Geräts Renesas H8S2215R, wie sollte sie aussehen?
Die Bedienungsanleitung, auch bezeichnet als Benutzerhandbuch, oder einfach nur „Anleitung”, ist ein technisches Dokument, das dem Benutzer bei der Nutzung von Renesas H8S2215R hilfreich sein soll. Die Bedienungsanleitungen werden in der Regel von technischen Schriftstellern geschrieben, aber in einer Sprache, die für alle Nutzer von Renesas H8S2215R verständlich ist.

Eine gänzliche Bedienungsanleitung von Renesas sollte einige Grundelemente enthalten. Ein Teil von ihnen ist nicht so wichtig, wie z.B.: die Titelseite oder Autorenseiten. Die restlichen von ihnen jedoch, sollten Informationen liefern, die für den Nutzer von enormer Wichtigkeit sind.

1. Einführung und Hinweise, wie man sich in einer Bedienungsanleitung von Renesas H8S2215R bewegt - Am Anfang jeder Bedienungsanleitung sollten wir Hinweise bezüglich der Nutzungsart eines bestimmten Ratgebers finden. In ihr sollten sich Informationen über die Lokalisierung des Inhaltsverzeichnisses von Renesas H8S2215R befinden, FAQ oder über oft auftretende Probleme – also Stellen, die von den Benutzern in jeder Bedienungsanleitung am meisten gesucht werden
2. Inhaltsverzeichnis - Index aller Ratschläge bezüglich Renesas H8S2215R, die wir im aktuellen Dokument finden
3. Ratschläge zur Nutzung der Grundfunktionen des Geräts Renesas H8S2215R - die uns die ersten Schritte während der Nutzung von Renesas H8S2215R erleichtern sollten
4. Troubleshooting - geordneter Tätigkeitslauf, der uns bei der Diagnose und als nächstes bei der Lösung wichtiger Probleme mit Renesas H8S2215R hilft
5. FAQ - häufig gestellte Fragen
6. Kontaktdaten Informationen darüber, wo man Kontakt zum Produzenten / Service von Renesas H8S2215R im bestimmten Land suchen kann, wenn es nicht gelingt, das Problem selbst zu lösen.

Haben Sie eine Frage bezüglich Renesas H8S2215R?

Nutzen Sie das untere Formular

Wenn Sie mit Hilfe der gefundenen Bedienungsanleitung Ihr Problem mit Renesas H8S2215R nicht gelöst haben, stellen Sie eine Frage, indem Sie das untere Formular nutzen. Wenn einer der Nutzer ein ähnliches Problem mit Renesas H8S2215R hatte, ist es möglich, dass er mit Ihnen die Lösung teilen möchte.

Text vom Bild übertragen

Kommentare (0)