SlideShare uma empresa Scribd logo
1 de 5
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

Mais conteúdo relacionado

Destaque

Android booting sequece and setup and debugging
Android booting sequece and setup and debuggingAndroid booting sequece and setup and debugging
Android booting sequece and setup and debugging
Utkarsh Mankad
 

Destaque (17)

BeagleBone Workshop
BeagleBone WorkshopBeagleBone Workshop
BeagleBone Workshop
 
Android Custom Kernel/ROM design
Android Custom Kernel/ROM designAndroid Custom Kernel/ROM design
Android Custom Kernel/ROM design
 
HKG15-409: ARM Hibernation enablement on SoCs - a case study
HKG15-409: ARM Hibernation enablement on SoCs - a case studyHKG15-409: ARM Hibernation enablement on SoCs - a case study
HKG15-409: ARM Hibernation enablement on SoCs - a case study
 
Beagle board
Beagle boardBeagle board
Beagle board
 
Usb 72213 76207
Usb 72213 76207Usb 72213 76207
Usb 72213 76207
 
Database mirroring setup
Database mirroring setupDatabase mirroring setup
Database mirroring setup
 
Intro
IntroIntro
Intro
 
How To Build Android for ARM Chip boards
How To Build Android for ARM Chip boardsHow To Build Android for ARM Chip boards
How To Build Android for ARM Chip boards
 
Android booting sequece and setup and debugging
Android booting sequece and setup and debuggingAndroid booting sequece and setup and debugging
Android booting sequece and setup and debugging
 
Android HAL Introduction: libhardware and its legacy
Android HAL Introduction: libhardware and its legacyAndroid HAL Introduction: libhardware and its legacy
Android HAL Introduction: libhardware and its legacy
 
Learning AOSP - Android Booting Process
Learning AOSP - Android Booting ProcessLearning AOSP - Android Booting Process
Learning AOSP - Android Booting Process
 
Linux Sürücü Geliştirme (Linux Device Driver Development)
Linux Sürücü Geliştirme (Linux Device Driver Development)Linux Sürücü Geliştirme (Linux Device Driver Development)
Linux Sürücü Geliştirme (Linux Device Driver Development)
 
Automating Analysis and Exploitation of Embedded Device Firmware
Automating Analysis and Exploitation of Embedded Device FirmwareAutomating Analysis and Exploitation of Embedded Device Firmware
Automating Analysis and Exploitation of Embedded Device Firmware
 
Accessing Hardware on Android
Accessing Hardware on AndroidAccessing Hardware on Android
Accessing Hardware on Android
 
Design Of A Usb Device Driver (Overview)
Design Of A Usb Device Driver (Overview)Design Of A Usb Device Driver (Overview)
Design Of A Usb Device Driver (Overview)
 
An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761
 
Usb Overview
Usb OverviewUsb Overview
Usb Overview
 

Mais de allankliu (8)

NMEA Manual of SiRF-III
NMEA Manual of SiRF-IIINMEA Manual of SiRF-III
NMEA Manual of SiRF-III
 
Lecture24 Multiprocessor
Lecture24 MultiprocessorLecture24 Multiprocessor
Lecture24 Multiprocessor
 
Mp Os Survey
Mp Os SurveyMp Os Survey
Mp Os Survey
 
Embedded Systems Design Embedded
Embedded Systems Design   EmbeddedEmbedded Systems Design   Embedded
Embedded Systems Design Embedded
 
Usb In A Nutshell
Usb In A NutshellUsb In A Nutshell
Usb In A Nutshell
 
Pdiusbd11
Pdiusbd11Pdiusbd11
Pdiusbd11
 
Usb Multi Role Device Design By Example
Usb Multi Role Device Design By ExampleUsb Multi Role Device Design By Example
Usb Multi Role Device Design By Example
 
Usb Wp Implementing Usb
Usb Wp Implementing UsbUsb Wp Implementing Usb
Usb Wp Implementing Usb
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

Usb Connection With The Hid Class Driver

  • 1. 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?
  • 2. 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
  • 3. 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
  • 4. 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
  • 5. 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