advertisement

Usb Connection With The Hid Class Driver

50 %
50 %
advertisement
Information about Usb Connection With The Hid Class Driver

Published on February 6, 2008

Author: allankliu

Source: slideshare.net

Description

USB development
advertisement

USB Communication/Configuration Overview How does communication between a USB device and a PC work? How does a USB device initiate contact with a PC?

How does communication between a USB device and a PC work? Logical Communication Flow Endpoint 1 Endpoint 2 Endpoint N Endpoints Have 4 Transfer Types: Control Transfer – For sending commands Interrupt Transfer – Host must poll this EP Isochronous Transfer – Time sensitive Info Bulk Transfer – For large data bursts Buffer 1 Buffer 2 Buffer N Data is sent to memory buffers which will be processed by the software application Interface 1 Software Application Interfaces : grouping of the endpoints into a functional group performing a single feature of the device. For example: Keyboard,Mouse,Camera,Scanner,DVD drive Operating System

How does communication between a USB device and a PC work? Renesas H8S /2215 Device c PC OS Firmware Hardware Firmware Hardware Firmware Firmware Interface Description Grouping of endpoints performing a single feature of the device Relationship Collection of Endpoints Various transfer types: Control,Interrupt, Isochronous,Bulk Data Transfer Per Endpoint Serial Interface Engine USB Bus Interface Physical/Signal/Packet Connectivity Data USB Driver Software Application Interprets data based on Interfaces Buffered Data USB Bus Interface Serial Interface Engine Physical/Signal/Packet Connectivity USB Cable Data Host Controller Driver Device’s configuration, status, and control information. Endpoint 0: Control Pipe Manages System Devices . Data USB System Software Host Controller UHCI OHCI EHCI Data

How does a USB device initiate contact with a PC? Configuration Descriptor How the Device is setup Device Address Device Descriptor Represents the device 1 USB System Software Endpoint 0 Control Pipe Device’s configuration, status, and control information. Wait 100ms for USB Stabilization 2 3 PC gives Device an Address 4 PC requests Device Descriptor 5 PC requests Configuration Descriptor 6 Windows asks for driver for the device. Driver is then located and installed. 7

How does a USB device initiate contact with a PC? USB System Software Endpoint 0 1 Wait 100ms for USB Stabilization 2 This descriptor contains the Interface and Endpoint descriptor 5 Configuration Descriptor How the Device is setup PC gives Device an Address Device Address 4 3 Device Descriptor Represents the device PC requests Device Descriptor 6 Windows asks for driver for the device. Driver is then located and installed. 7

Add a comment

Related pages

Using the HID class eases the job of writing USB ... - EDN

CONNECT WITH EDN ON TWITTER ON FACEBOOK ... also attempting to eliminate the legacy connections in favor of the USB, ... handoff is to the HID-class driver.
Read more

USB PC Drivers Based on Generic HID Class

USB PC Drivers Based on Generic HID Class ... TRUE: if the connection has succeeded and the handle is opened. 2.2 closeDevice
Read more

HID Drivers (Windows CE 5.0) - msdn.microsoft.com

... the Device Class ... USB Web site. In This Section HID Driver Development Concepts Explains the basic development concepts for HID drivers. HID ...
Read more

Application Note 1163, USB HID Class on an Embedded Device

The Human Interface Device (HID) is a class for ... SolutionsMicrochipUSBhid_device_driver USB HID device class driver ... MPLAB REAL ICE connections.
Read more

Interface to an USB Host Computer

Some software needs to be written for the USB Host Computer when USB Driver classes are used to ... all available HID devices for connection to ...
Read more

USB HID Device Class specification - Universal Serial Bus

This document describes the Human Interface Device (HID) class for use with ... also specifies how the HID class driver should extract data from USB devices.
Read more

Supported by all Microsoft O/S from Windows 98SE and later ...

• Supported by all Microsoft® O/S from Windows® 98SE and later † Simple PC Interface with Read ... note USB PC Drivers Based on Generic HID Class for ...
Read more

USB.org - HID Tools

Device Class Definition HID ... It also specifies how the HID class driver should extract data from USB ... USB HID Working Group member companies ...
Read more

Sensor HID class driver (Windows Drivers) - msdn.microsoft.com

Sensor HID class driver. HID Usages. HID Collections. Opening HID collections. Handling HID Reports. Freeing Resources. Installing HID clients. HIDClass ...
Read more