Manuel d’utilisation Renesas H8SX1664

21 pages 0.38 mb
Télécharger

Aller à la page of 21

Summary
  • Renesas H8SX1664 - page 1

    REG10J0134-0100 Renesas Starter Kit for H8SX1664 USB Sample Code User's Manual RENESAS SINGLE-CHIP MICROCOMPUTER H8SX F AMIL Y Rev .1.00 Renesas T echnology Europe Ltd. Revision date 08.January .2008 www .renesas.com ...

  • Renesas H8SX1664 - page 2

    T able of Content s T able of Content s ............................................................................................................................... ................... ii Chapter 1. Preface ............................................................................................................................................ ...

  • Renesas H8SX1664 - 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 H8SX1664 - page 4

    Chapter 2.Introduction The RSK USB sample code provides a basis for a developer to add USB device functionalit y to a system. It includes sample appli cations for the three most common USB Device classes * :- • Human Interface Device (HID) • Communication Device Class - Abstract Control Model (CDC-ACM) • Mass Storage Class (MSC) In addition t ...

  • Renesas H8SX1664 - page 5

    Chapter 3.Development Environment 3.1.Sample Code Configuration The Sample code is provided as a project generator with the RSK. To create the sample code project follow the instructions in t he RSK Quick Start Guide. When created the sample code will contain the source for both the Host and Target projects, including any configuration driver files ...

  • Renesas H8SX1664 - page 6

    Chapter 4.USB S tack (T arget) The USB software is implemented in the form of a USB stack comprising of three layers. At the top of the stack are the USB Device Classes c onsisting of HID, CDC and MSC which are all described later. In the middle is a core layer (USBCore) that handles standard device requests. At the bottom is a hardware abstraction ...

  • Renesas H8SX1664 - page 7

    4.2.USBCore The USBCore layer handles standard USB requests common to all USB devices d uring the enumeration stage. This means that a devel oper can concentrate on any class or vendor specific implementation. The USBCore requires initialising with the descriptor s specific to the device being implemented. It uses the USBHAL, which it initialises, ...

  • Renesas H8SX1664 - page 8

    4.3.Human Interface Device Class The HID class as the name suggests is commonly used for things like keyboards, mice and joysticks where a human’s action is causing the need for communication. However this does not need to be the case. The HID class is suitable for any device where the communica tion can be achieved by sending data in ‘reports? ...

  • Renesas H8SX1664 - page 9

    4.4.Communication Device Class The CDC ACM allows a host to see a device as a standard serial (C OM) port. This is particularly us eful when working with legacy applications that use serial communications. Bulk IN and Bu lk OUT t r ansfers are used for all non-setup data. The CDC module utilises the USBCore layer for the processing of all standard ...

  • Renesas H8SX1664 - page 10

    4.5.Mass Storage Class The MSC class has become a very popular way for devices, such as cameras an d USB Pens, to share data with PCs. The reason for t he success is that when the device is plugged in to a host PC it app ears to the PC as just another drive and therefore users can u se familiar applications such as Windows Explorer to access the da ...

  • Renesas H8SX1664 - page 11

    Chapter 5.Applications 5.1.Introduction to Applications The following sections introduce the sample applications that c an be used to demonstrate each of the USB solutions. The HID and LibUSB projects require specially written host appl ications that are supplied as both exec utables and as source. The CDC and MSC proje cts make use of standard Win ...

  • Renesas H8SX1664 - page 12

    Input Report: Byte 1 Bit 0 = LED status. Bit 1 = ADC value valid indicator. Bit 2 = Switch pressed indicator. Byte 2-5 = 32 bit, little endian ADC Value. Output Report: Byte 1 Bit 0 = LED toggle request. Bit 1 = ADC read request. Bit 2 = LCD set request. Byte 2-17 = 16 ASCII Characters for LCD. An input report is sent whenever a switch on the RSK i ...

  • Renesas H8SX1664 - page 13

    5.3.Communications Devi ce Class Application The CDC sample application demonstrates communication with a Windows PC using a standar d terminal program. Windows provide a suitable application called Hyper Terminal. Any other serial terminal program will be able to be used if available. Program the RSK with the CDC application and run the code as de ...

  • Renesas H8SX1664 - page 14

    Either type or browse to the location of the CDC project you have generated and built. Press next to install the CDC support. During the installation process a warning may be displayed as shown. Please choose “Continue Anyway” to install the driver. Please review the Microsoft website for details of the Windows Logo Testing programme. Windows w ...

  • Renesas H8SX1664 - page 15

    Pressing SW1 on the RSK will stop this repeating message and will bring up the m ain menu as shown below. To demonstrate two way communication press SW2 to put the RSK into echo mode. In this mode anything typed on the Terminal will be read by the RSK and then echoed back to the terminal. Pressing SW3 cancels this echo mode. Figure 3 - Seri al comm ...

  • Renesas H8SX1664 - page 16

    5.4.Mass Storage Class Demonstration The MSC sample demonstrates how a host can view a MSC device as an external drive. There is no additional ap plication for this as the MSC support is inherent in Windows XP. Start the MSC sample application running on the RSK t hen connect the RSK to a Windows PC via a USB cable. Using Windows Explorer, or simil ...

  • Renesas H8SX1664 - page 17

    5.5.LibUSB The LibUSB sample application is functionally similar to the prev ious HID application. The difference is that th is sample inclu des software for a Windows host PC called RSK_LibUSB. The intention of this open source library is to provide a platform independent operati ng system interface allowing a device to be used on multiple operati ...

  • Renesas H8SX1664 - page 18

    3. The “Set LCD” button allows the text of the LCD on the RSK to be changed. To demonstrate that the RSK can also instigate communications y ou can press a switch on the RSK and this will be indicated back to the host resulting in a message being displayed on the dialog. This demonstrates that data can be sent successf ully between th e RSK and ...

  • Renesas H8SX1664 - page 19

    Chapter 6.Additional Information For details on how to use High-performance Embedded Workshop (HEW), refer to the HEW manual available on the CD or installed in the Manual Navigator. For information about the H8SX/1664 series microcontrollers refer to the H8SX/1663 Group Hardware Manual For information about the H8SX/1664 assembly language, refer t ...

  • Renesas H8SX1664 - page 20

    Renesas S tarter Kit for H8SX1664 USB Sample Code User's Manual Publication Date Rev .1.00 08.Jan.2008 Published by: Renesas T echnology Europe Ltd. Dukes Meadow, Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdom ©2008 Renesas T echnolog y Europe an d Renesas Solu tions Corp., All Rights Reserved. ...

  • Renesas H8SX1664 - page 21

    Renesas S tarter Kit for H8SX1664 USB Sample Code User's Manual Renesas T echnology Europe Ltd. Dukes Meadow , Millboard Road, Bourne End Buckingham shi r e SL8 5FH, United Kingdom ...

Fabricant Renesas Catégorie Computer Hardware

Les documents que nous recevons du fabricant de l'appareilRenesas H8SX1664 peuvent être divisés en plusieurs groupes. Ceux-ci sont, entre autres:
- dessins techniques Renesas
- manuels d’utilisations H8SX1664
- fiches produit Renesas
- dépliants
- ou étiquettes-énergie Renesas H8SX1664
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 H8SX1664.

Un groupe de documents appelé manuels d’utilisation est également divisé en types plus spécifiques, tels que: Manuels d’installation Renesas H8SX1664, manuels d’entretien, brefs manuels ou manuels de l’utilisateur Renesas H8SX1664. 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 H8SX1664.

Manuels d’utilsiation similaires

Manuel d’utilisation complet de l’appareil Renesas H8SX1664, 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 H8SX1664 par les utilisateurs. Des manuels sont généralement écrits par un rédacteur technique, mais dans un langage accessible à tous les utilisateurs Renesas H8SX1664.

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 H8SX1664 - 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 H8SX1664, 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 H8SX1664 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 H8SX1664 - qui devraient nous aider dans les premières étapes lors de l'utilisation Renesas H8SX1664
4. Troubleshooting - séquence systématique des activités qui nous aideront à diagnostiquer et ensuite résoudre les principaux problèmes de Renesas H8SX1664
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 H8SX1664 dans un pays donné, si le problème ne peut être résolu par nous-mêmes.

Avez-vous une question à propos de Renesas H8SX1664?

Utiliser le formulaire ci-dessous

Si vous n’avez pas résolu votre problème avec Renesas H8SX1664, 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 H8SX1664 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)