Manuale per l’uso Renesas H8S2215R

26 pagine 0.71 mb
Scarica

Vai alla pagina 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 ...

Fabbricante Renesas Categoria Computer Hardware

I documenti che otteniamo dal fabbricante del dispositivoRenesas H8S2215R possono essere suddivisi in diversi gruppi. Questi sono tra gli altri:
- disegni tecnici Renesas
- manuali per l’uso H8S2215R
- schede prodotto Renesas
- opuscoli
- o etichette energetiche Renesas H8S2215R
Tutti sono importanti, ma le informazioni più importanti dal punto di vista di utilizzo del dispositivo possono essere trovate nel manuale per l’uso Renesas H8S2215R.

Un gruppo di documenti denominato manuali per l’uso, è anche suddiviso in tipi più specifici, come: Manuali di installazione Renesas H8S2215R, manuali di manutenzione, brevi manuali o manuali utente Renesas H8S2215R. A seconda delle esigenze, si dovrebbe cercare il documento necessario. Nel nostro sito web, puoi visualizzare il manuale più popolare per l'uso del prodotto Renesas H8S2215R.

Manuali per l’uso simili

Manuale completo del dispositivo Renesas H8S2215R, come deve essere?
Il manuale per l’uso, denominato anche istruzioni per l’uso, o semplicemente il manuale è un documento tecnico progettato per aiutare ad utilizzare Renesas H8S2215R dagli utenti. I manuali sono di solito scritti da uno scrittore tecnico, ma in un linguaggio accessibile a tutti gli utenti Renesas H8S2215R.

Il manuale per l’uso completo Renesas, dovrebbe includere vari elementi di base. Alcuni di loro sono meno importanti, come ad esempio: copertina / pagina del titolo o pagina di autore. Tuttavia, la parte rimanente, dovrebbe fornire informazioni importanti dal punto di vista dell'utente.

1. Introduzione e la guida su come utilizzare il manuale Renesas H8S2215R - All'inizio di ogni manuale, dovremmo trovare indizi su come utilizzare il documento. Dovrebbe contenere informazioni sulla posizione dell’indice Renesas H8S2215R, FAQ o i problemi più comuni : i punti che sono più spesso cercati dagli utenti di ogni manuale
2. Indice - elenco di tutti i suggerimenti per Renesas H8S2215R che possono essere trovati nel documento corrente
3. Suggerimenti su come utilizzare le funzioni di base del dispositivo Renesas H8S2215R - che ci dovrebbe aiutare nei primi passi durante l'uso Renesas H8S2215R
4. Troubleshooting - sequenza sistematica delle attività che vi aiuterà a diagnosticare e, successivamente, risolvere i problemi più importanti del Renesas H8S2215R
5. FAQ - domande più frequenti
6. Dettagli di contatto Informazioni su dove cercare il contatto con il fabbricante / servizio Renesas H8S2215R in un dato paese, se il problema non può essere risolto da noi stessi.

Hai una domanda su Renesas H8S2215R?

Utilizza il modulo sottostante

Se non hai risolto il problema con Renesas H8S2215R con l'aiuto del manuale che hai trovato, fai una domanda utilizzando il modulo sottostante. Se un utente ha avuto un problema simile con Renesas H8S2215R è probabile che voglia condividere il modo di risolverlo.

Riscrivi il testo dall’immagine

Commenti (0)