Introduction to USB Development

Similar documents
lnput/output (I/O) AND INTERFACING

LCD Video Controller. LCD Video Controller. Introduction Safety Precautions Indentifying the Components... 5

Four Circuit 4 Wire Unit With Dante Network Audio Interface

Hour 3: The Network Access Layer Page 1 of 10. Discuss how TCP/IP s Network Access layer relates to the OSI networking model

USB (Universal Serial Bus) Presentation to UCHUG - 2/06/08 G. Skalka

Computing devices have become increasingly mobile at the client end, and the

Commentary Unit With Talkback And Dante Network Audio Interface

Authorization of a QoS Path based on Generic AAA. Leon Gommans, Cees de Laat, Bas van Oudenaarde, Arie Taal

ngenius Instrumentation Overview

STORAGE SOLUTIONS QUICK REFERENCE GUIDE. Product Applications

Designing Cost-Effective Ethernet Automotive E/E Architecture Against Security Threats IEEE-SA Ethernet & Automotive Technology Day

MAXPRO IP Video Solutions LEARN ONE, KNOW THEM ALL. Open, Flexible and Scalable Video Surveillance Platform

Self Service Personality Module and Serial Distributed Control Link

Scalable Video Management and Surveillance System

An Introduction to Design Patterns

BGP-Based SPF IETF 96, Berlin. Keyur Patel, Cisco Acee Lindem, Cisco Derek Yeung, Cisco Abhay Roy, Cisco Venu Venugopal, Cisco

Intel Server System SR1600 and SR2600 Family

Insert the power cord into the AC input socket of your projector, as shown in Figure 1. Connect the other end of the power cord to an AC outlet.

USB Complete. The Developer's Guide Fifth Edition. Jan Axelson. Lakeview Research LLC Madison, WI 53704

Intel Architecture: Features & Futures

Multi-MANO interworking for the management of multi-domains networks and network slicing Functionality & Demos

RTS-LIKE Pisa Soft PLC Real Time solutions. An alternative to the Windows WEC7 offer

Industrial Process Control Trainers with Discovery software PROCON PROCESS CONTROL TRAINERS

Symmetra. Product Overview. Redundancy. Scalability. Serviceability. Manageability. Components. How to Configure. Specifications.

Avaya Extension to Cellular User Guide Avaya Aura TM Communication Manager Release 5.2.1

Windows NT, Terminal Server and Citrix MetaFrame Terminal Server Architecture

Hardware Installation & Reference Manual Expandable I/O Subsystem

Intro to Programming & C Why Program? 1.2 Computer Systems: Hardware and Software. Why Learn to Program?

Subject: Intel D815EEA Desktop Board - Product Brief (

Eaton 93PM Remote Monitoring Device. Installation and Operation Manual

UnixWare 7 System Administration UnixWare 7 System Configuration

PDF created with pdffactory Pro trial version How USB Ports Work by Marshall Brain. Introduction to How USB Ports Work

Building the Web of Things

810 SMART CARD READER

Further Optimization of the Decoding Method for Shortened Binary Cyclic Fire Code

Microsoft Visual Studio 2005 Professional Tools. Advanced development tools designed for professional developers

Introducing a Target-Based Approach to Rapid Prototyping of ECUs

Chapter 11: Input/Output Organisation. Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses

Intel Server Board S5500WB Intel Server System SR1690WB Intel Server System SR1695WB

David Harrison, Design Engineer for Model Sounds Inc.

The 3ISYS-ETHG-4C4FC is managed redundant ring Ethernet switch. with 4x10/100/1000Base-T(X) and 4xGigabit Combo ports. With

Inside TCP/IP, Third Edition Network Support for TCP/IP

wepresent SharePod User's Manual Version: 1.1

Create. Collaborate. Inspire.

Exabyte Tape Drives: Mammoth Technology

Intro to Programming & C Why Program? 1.2 Computer Systems: Hardware and Software. Hardware Components Illustrated

Link Registry Protocol Options

Testing and Debugging

Avaya one-x Mobile Pre-Installation Checklist

USER MANUAL. Managed Switch MPEGS24

Computer Networks. College of Computing. Copyleft 2003~2018

MCSE Training Guide: Windows Architecture and Memory

Realization of GGF DAIS Data Service Interface for Grid Access to Data Streams

Patent Application Publication. Apr. 24, 2014 Sheet 1 0f 6 US 2014/ A1. mm msm E996. Em:

DP-8020 Hardware User Guide v1.10. DP-8020 Hardware User Guide V1.10

Hybrid IP-PBX Systems KX-TDA100 KX-TDA200 KX-TDA600. The intelligent business solution.

Smart Solutions for Power Protection & Control. SCADA System

Microprocessors LCD Parallel Port USB Port

Ranger* Pro Wireless Condition Monitoring

M Tech credit seminar report, Electronic Systems group, EE Dept, IIT Bombay, submitted Nov 2002 UNIVERSAL SERIAL BUS

Chapter 3: Introduction to the Flash Workspace

From i* to istar 2.0: An Evolving Social Modelling Language

HDTV Supply s. HD Multimedia Integrator. (Model No HDMICVC301) Enjoy the vivid world! REMARK

>2033AUPS UNINTERRUPTIBLE P O W E R SUPPLIES

An Introduction to Universal Serial Bus

Course 10: Interfaces Agenda

file://j:\macmillancomputerpublishing\chapters\in073.html 3/22/01

DETERMINING INTUITIONISTIC FUZZY DEGREE OF OVERLAPPING OF COMPUTATION AND COMMUNICATION IN PARALLEL APPLICATIONS USING GENERALIZED NETS

Editorial Message. Dear Reader,

10.4, 15, 17 & 19 Models Powerful, Heavy Industrial Construction Loaded With Windows Operating System. Powerful Durable Affordable

Administration and Autonomy In A Replication-Transparent Distributed DBMS

Device Connection Systems for Industrial Ethernet

Intelligent Machinery Protection

RDF Objects 1. Alex Barnell Information Infrastructure Laboratory HP Laboratories Bristol HPL November 27 th, 2002*

Neural Network Enhancement of the Los Alamos Force Deployment Estimator

Resource Optimization to Provision a Virtual Private Network Using the Hose Model

USB. The Universal Serial Bus. Most of the material is taken from Jan Axelsson: USB Complete, third edition Lakeview Research ISBN:

The Internet and the web

SiP Modules Application Driven Integration. Eelco Bergman ASE Group November 14, 2016 San Jose, CA

ZUP SERIES. Model naming method. Features. Applications. Conformity to RoHS Directive. Product Line up ZUP / Programmable CVCC 200W 800W 19Model

Self-Control Cyclic Access with Time Division - A MAC Proposal for The HFC System

SmartMesh Wireless Mesh for Tough Industrial IoT Applications

Module 5. Input/Output Ports

User Manual TL-SMP-HD Collaboration Hub All Rights Reserved Version: TL-SMP-HD_170104

USB for Embedded Devices. Mohit Maheshwari Prashant Garg

TD-SCDMA Physical Layer Design Overview

Quick Reference Guide 2-Piece Power Connectors

Telephony Trainers with Discovery Software

2-Piece Power Connectors

DXP Digital Communications System 7: :., ; :., Station User s Guide

1. INTRODUCTION 2. OVERVIEW

Computer Networks. College of Computing. Copyleft 2003~2018. Prof. Lin Weiguo

Computer Architecture CS 355 Busses & I/O System

5,740,422. United States Patent 119] Apr. 14, 1998 / DUOODDDDDDDD. [45] Date of Patent: [11] Patent Number: Foltz et a1. [73] Assignee: L 26

Service Scheduling for General Packet Radio Service Classes

A Memory Grouping Method for Sharing Memory BIST Logic

(12) United States Patent (10) Patent N0.: US 6,230,287 B1 Pinard et al. (45) Date of Patent: May 8, 2001

H 10 M645 GETTING STA RT E D. Phase One A/S Roskildevej 39 DK-2000 Frederiksberg Denmark Tel Fax

Avaya Meeting Exchange Express 2.0 Service Pack 1 Installation and Configuration Guide

Quick Start Instructions

Transcription:

Introduction to USB Deveopment

Introduction Technica Overview USB in Embedded Systems Recent Deveopments Extensions to USB USB as compared to other technoogies

USB: Universa Seria Bus A seria bus standard for connecting devices usuay periphera devices to computers. Need for USB To eiminate a proiferation of the cabes Eiminate the need for pug in expansion cards Standardization Design of USB standardized by USB impementers forum Why USB for Embedded Systems?

USB: Offers simpe connectivity Low cost Ease of use Manages power effecienty Supports a kinds of Data

Seria Protoco and Physica Link uses two pairs of wires Upstream Connection and Downstream Connection Uses three types of cabes and two types of connectors High Speed cabes at 480 Mbps Fu Speed cabes at 12 Mbps and Low Speed cabes at 1.5 Mbps USB standard uses NZRI system to encode data

Two Types of Connectors: Type A Type B

Architecture of a USB network Consists of one host device and mutipe daisy chained devices

Foows a Tiered star Topoogy and consists of: Peripheras Hubs Host controer Peripheras receive and respond to the commands from the host. E.g. Mice, Keyboard, Joysticks Two types of Peripheras Standaone and Compound Device

Host recognizes the periphera through a process caed Enumerations Host communicates with the periphera to earn its identity and identifies which device driver is required Host suppies the periphera with an address HUBS: Aows many USB devices to share a singe USB port USB devices with some incorporated inteigence Increase the ogica and physica fan out Singe upstream connection and one-many down stream connection

Two kinds of Hubs: Bus Powered Hub: Draws power from the host computers USB interface Sef Powered Hub: Has a buit in power suppy. Smart wire passing data between the periphera and Host Direct connection exists between host and peripheras Host is the controer of the entire network.e.g.pc

!""# Peripheras connected regardess of the power state A pair of wires to suppy power to the peripheras Manage power by enabing and disabing power to devices Removes eectricay i behaved systems from the network

$%"% % Communication between the host and the end points ocated in the periphera End point is a unique point in the device which is the source or the receiver of the data End point has a definite address associated with it Codes indicate the type of transfer 16 end points within each device each end point has a 4 bit address End point 0 reserved for contro transfers

$%"% % Transactions between the host and end point take pace through virtua pipes Pipes are ogica channes which connect the host to the end points Once the communication is estabished the end points return a descriptor Descriptor is a data structure tes the host about the end points configuration and expectations

$%"% % USB supports four transfer types of data: Contro Transfers: exchange information such as configuration, command information, set up between host and end point Buk Transfers: Supports buk amounts of data when timey deivery isn t critica.e.g. Printers and Scanners Isochronous transfers: Hande transfers ike streaming data Interrupt transfers: Po devices to see if they need service

USB is a compex standard requires enormous amount of software support both of firmware side and the host support USB communication mode reies on the Win32 Driver mode Win32 driver mode ayers different processes of communication into a stack Its organized into Appication Layer, Driver casses, Bus Driver and Host controer driver

%% Appication Code reacts with the drivers using API cas Within the stack itsef the communication is through Interrupt I/O request packets USB Bus driver manages Enumeration, power management and other USB transactions

% Two types of drivers. Cass Drivers and Custom Drivers Drivers are organized into casses where hardware that fas into a singe cass share simiar interfaces E.g. HID Cass which supports devices ike mice, Joy sticks Monitor cass which supports image position, aignment Custom Driver expoits capabiities of a particuar piece of Hardware E.g. A Data Acquisition system

%&''' Processor based USB controer adding Keyboard and mouse to an existing design USB Host controer wi communicate with the existing design via an UART Code for the Host USB controer wi contain a Library of routines and an Appication ayer Firmware Code from the Library wi take care of enumerating newy attached or removed devices, communication to and from the devices, Memory management, etc.

%&''' Whie creating the code the first step is to determine how many and what type of devices wi be supported The next step is to create appication code for each device. The driver tempate wi incude start, stop and run functionaity Addition of Hub Support is the key design consideration

( USB 2.0 PictBridge Standard to communicate imaging devices Microsoft X box consoe IBM Utraport USB 1.0 OTG USB 1.0a suppement OTG Wireess USB

)*)+ * # USB On-The-Go Technoogy is used to provide dua roe to the peripheras Enabes direct communication between the hosts without invoving the processor Incorporates Mini A, Mini B, Mini AB pugs and receptaces Highy compex design

*+ Advantages: Provides Dua Roe Devices Introduces new connector types, Mini A, Mini B, Mini AB Provides with Aggressive Power Management On the Go Functionaity of the USB can be impemented: Using a Fu soution Approach Using a USB microcontroer Designing a custom IC

% A Paradigm deveoped by Cypress that aows devices to be connected but appear as if they are connected to the host over norma USB connectivity Addresses many of the Design issues of Wireess networking An evoution that reies on famiiar and existing technoogies Desirabe for point to point devices Features of Wireess USB are its Ease of use, simpe connectivity and conservation of the battery power

" "' * "'"',-%%. USB Connects peripheras to the computers Operates at ow data rates Cannot be intended to act as an interna bus for storage Foows a tiered star topoogy USB uses a speak when spoken to protoco Reies on a singe host to contro the network FireWire A technoogy to interconnect mass storage devices Has higher data rates Uses a repeater based topoogy Can connect with any node at a time Any capabe node can contro the network FireWire ports are expensive

- http://en.wikipedia.org/wiki/usb http://www.embeddedcomputing.com/artices/wright_et_a/ http://www.embedded.com/2000/0003/0003ia2.htm Introduction to USB for Design Engineers- A Webminar : http://www.pmc-sierra.com/webinars/usb.htm

/00