Universal Serial Bus System Architecture, 2/e (Paperback)
暫譯: 通用串行總線系統架構(第二版)
MindShare Inc., Don Anderson
- 出版商: Addison Wesley
- 出版日期: 2001-04-13
- 售價: $1,127
- 語言: 英文
- 頁數: 544
- 裝訂: Paperback
- ISBN: 0201309750
- ISBN-13: 9780201309751
已絕版
買這商品的人也買了...
-
$580$458 -
$680$537 -
$650$553 -
$980$774 -
$970Introduction to Algorithms, 2/e
-
$920$727 -
$880$695 -
$1,029Operating System Concepts, 6/e (Windows XP Update)
-
$1,920$1,824 -
$690$587 -
$780$741 -
$750$638 -
$650$553 -
$760$600 -
$590$466 -
$690$538 -
$720$569 -
$750$638 -
$560$476 -
$490$417 -
$850$723 -
$480$379 -
$750$593 -
$780$616 -
$650$507
相關主題
商品描述
Summary
Universal Serial Bus System Architecture, Second Edition, based on the 2.0 version of the Universal Serial Bus specification, provides in-depth coverage and a detailed discussion of USB. It focuses on the USB protocol, signaling environment, and electrical specifications, along with the hardware/software interaction required to configure and access USB devices. Key topics include:
- Hot plug support (detection of low-, full-, and high-speed devices)
- Electrical signaling at the 1.5, 12, and 480Mb/s rates
- 2.0 hub operation (including split transaction support)
- 2.0 high-speed protocol (including high-bandwidth and ping transactions)
- High-speed transceiver test modes
- Suspend/resume operations
- Device descriptors
- Device requests (commands)
- USB transaction protocols (low-, full-, and high-speed)
- Bus-powered devices
- Self-powered devices
- Error detection and handling
- Device configuration
- Device classes
This second edition has been updated to reflect the changes in the USB specification from the original 1.0 to the current 2.0. The USB 2.0 specification defines high-speed transactions operating at 480Mb/s that increase throughput by a factor of 40 over the older USB devices. New high-bandwidth, ping, and split transactions have also been added to further increase efficiency of the high-speed protocol. The USB 2.0 specification makes major improvements to USB, while maintaining backward compatibility with 1.0 and 1.1 USB devices. If you design or test hardware or software that involves USB, you wouldn't want to miss the important updates in this book. Universal Serial Bus System Architecture, Second Edition, is an essential, time-saving tool.
The accompanying CD-ROM includes an 85-minute USB 2.0 overview video by Don Anderson, featuring an introduction to the basic concepts underlying USB 2.0 bus operation and protocol. Topics covered include terminology, design goals of USB, a review of low- and full-speed operation used by USB 1.0 and 1.1 systems and devices, an introduction to USB 2.0 high-speed transfers, and how USB 2.0 hubs use split transactions to provide backward compatibility to low- and full-speed devices.
The PC System Architecture Series is a crisply written and comprehensive set of guides to the most important PC hardware standards. Each title is designed to illustrate the relationship between the software and hardware and explains thoroughly the architecture, features, and operations of systems built using one particular type of chip or hardware specification.
Table of Contents
About This Book.
The MindShare Architecture Series.
Cautionary Note.
Specifications This Book is Based On.
Organization of This Book.
Who Should Read this Book.
Prerequisite Knowledge.
Documentation Conventions.
Identification of Bit Fields (logical groups of bits or signals).
Visit Our Web Page.
We Want Your Feedback.I. OVERVIEW OF USB 2.0.
1. Design Goals of USB.
Shortcomings of the Original PC I/O Paradigm.Limited System Resources.
End User Concerns.
Cost.
The USB Paradigm.Enhanced System Performance.
Hot Plug and Play Support.Expandability.
Legacy Hardware/Software Support.Low Cost.
Summary of Key USB Features.How to Get the USB Specifications.2. The Big Picture.
Overview.
USB 1.x Systems and Devices.Low-Speed and Full-Speed Devices.
How Transactions Are Generated.Sharing the Bus.
Bandwidth Consideration Summary.
2.0 Systems and Devices.Low-Speed and Full-Speed Devices in a 2.0 System.
High-Speed Devices in a 2.0 System.
High-Speed Bandwidth Summary.
The Players.USB Client Drivers.
USB Bus Driver.
USB Host Controller Driver.
USB Host Controller/Root Hub.
USB Hubs.
USB Devices.
USB Communications Model.Communications Flow.
Transfers, IRPs, Frames, and Packets.
Device Framework (how devices present themselves to software).Device Descriptors.
Device Framework.
USB Peripheral Connection.Full-Speed Hubs.
High-Speed Hubs.
Topology.3. Cables and Connectors.
The Connectors.Series A Connectors.
Series B Connectors.
Cables.Low-Speed Cables.
Full- and High-Speed Cables.
Cable Power.
Electrical and Mechanical Specifications.4. USB Cable Power Distribution.
USB Power.
Hubs.Current Budget.
Over-Current Protection.
Voltage Drop Budget.
Power Switching.
Bus-Powered Hubs.Power During Hub Configuration.
Bus-Powered Hub Attached to 500ma Port.
Bus-Powered Hub Attached to 100ma Port.
Bus-Powered Hub Attached to Port with >100ma but <500ma.
Current Limiting.
Bus-Powered Devices.Low-Power Devices.
High-Power Devices.
Self-Powered Hubs.Power During Configuration.
Current Limiting.
Self-Powered Devices.Power During Configuration.II. LOW- & FULL-SPEED DEVICE OPERATION.
5. LS/FS Signaling Environment.
Overview.
Detecting Device Attachment and Speed Detect.Full-Speed Device Connect.
Low-Speed Device Connect.
Detecting Device Disconnect.
Bus Idle.
Device RESET.
Differential Signaling.Differential Drivers.
Differential Receivers.
Start of Packet (SOP).
End of Packet (EOP).
Single-Ended Receivers.
NRZI Encoding.
Bit Stuffing.
Summary of USB Signaling States.6. LS/FS Transfer Types & Scheduling.
Overview.
Client Initiates Transfer.Communications Pipes.
Communication Initiated by I/O Request Packets.
Frame-Based Transfers.
Transfer Types.Isochronous Transfers.
Establishing Synchronous Connections.
The Feedback/Feed Forwarding Solution.
Interrupt Transfers.
Control Transfers.
Bulk Transfers.7. Packets & Transactions.
Overview.
Packets—The Basic Building Blocks of USB Transactions.Synchronization Sequence.
Packet Identifier.
Packet-Specific Information.
Cyclic Redundancy Checking (CRC).
End of Packet (EOP).
Token Packets.SOF Packet.
IN Packet.
OUT Packet.
SETUP Packet.
Data Packets—DATA0 and Data1.
Handshake Packets.
Preamble Packet.
Transactions.IN Transactions.
OUT Transactions.
Setup Transactions/Control Transfers.8. Error Recovery.
Overview.
Packet Errors.PID Checks.
CRC Errors.
Bit Stuff Errors.
Packet-Related Error Handling.
Bus Time-Out.
False EOPs.False EOP During Host Transmission.
False EOP During Target Transmission.
Data Toggle Errors.Data Toggle Procedure Without Errors.
Data Toggle Procedure with Data Packet Errors.
Data Toggle Procedure With Handshake Packet Errors.
Special Case. Data Toggle During Control Transfer.
Babbling Devices.
Loss of Activity (LOA).
Babble/LOA Detection and Recovery.Frame Timer.
Host to Hub Skew.
Hub Repeater State Machine.
Isochronous Transfers (Delivery Not Guaranteed).
Interrupt Transfer Error Recovery.
Bulk Transfer Error Recovery.
Control Transfer Error Recovery.9. USB Power Conservation.
Power Conservation—Suspend.Device Response to Suspend.
Hub Response to Suspend.
Global Suspend.Initiating Global Suspend.
Resume from Global Suspend.
Selective Suspend.Initiating Selective Suspend.
Resume from Selective Suspend.
Selective Suspend When Hub is Suspended.
Selective Suspend Followed by Global Suspend.
Resume via Reset.Hub Frame Timer After Wakeup.III. HIGH SPEED DEVICE OPERATION.
10. Overview of HS Device Operation.
Overview.
New High-Speed Device Features.
1.x USB Device Support.
The 2.0 Host Controller.11. The High-Speed Signaling Environment.
Overview.
Detecting High-Speed Device Attachment.Initial Device Detection.
Device Reset and the Chirp Sequence.
High-Speed Interfaces Idled.
High-Speed Differential Signaling.Impedance Matching.
High-Speed Driver Characteristics.
High-Speed Idle.
High-Speed Differential Receivers.
High-Speed Driver/Receiver Compliance Testing.
High-Speed Start of Packet & Synchronization Sequence.
High-Speed End of Packet (EOP).
Detection of High-Speed Device Removal.
High-Speed RESET and Suspend.Signaling RESET.
Signaling Suspend.
Differentiating Between RESET and Suspend.12. HS Transfers, Transactions, & Scheduling.
Overview.
High-Speed Transaction Scheduling.Microframes.
Theoretical HS Bandwidth.
Periodic Transfers.High-Speed Isochronous Transfers.
High-Speed Interrupt Transfers.
High-Bandwidth Transactions.
Non-Periodic Transfers.High-Speed Bulk Transfers.
High-Speed Control Transfers.
Ping Transactions.13. HS Error Detection and Handling.
Overview.
High-Speed Bus Time-out.
False EOP.
HS Babbling Device Detection.14. HS Suspend and Resume.
Overview.
Entering Device Suspend.
Device Resume.IV. USB 2.0 HUB OPERATION WITH LS/FS/HS DEVICES.
15. HS Hub Overview.
Overview.
USB 2.0 Hub Attached to High-Speed Port.High-Speed Transactions.
Low- and Full-Speed Transactions.
USB 2.0 Hub Attached to Full-Speed Port.16. 2.0 Hubs During HS Transactions.
Overview.
High-Speed Hub Repeater.Receiver Squelch.
Re-clocking the Packet.
Port Selector State Machine.
Elasticity Buffer.
The Repeater State Machine.17. 2.0 Hubs During LS/FS Transactions.
Overview.
The Structure of Split Transactions.Isochronous Split Transaction Examples.
Example Split Transactions with Data Verification.
The Split Token Packet.
The Transaction Translator.
The Major Elements of the Transaction Translator.
Split Transaction Scheduling.Split Transaction Scheduling Example.
Single versus Multiple Transaction Translators.
Periodic Split Transactions.Periodic Split Transaction Pipeline.
Isochronous OUT Split Transaction Sequence.
Isochronous IN Split Transaction Sequence.
Interrupt Split OUT Transaction Sequence.
Interrupt IN Split Transaction Sequence.
Non Periodic Split Transactions.Non-Periodic Split Transaction Pipeline.
Bulk/Control Split OUT Transaction Sequence.
Bulk/Control Split IN Transaction Sequence.V. USB DEVICE CONFIGURATION.
18. Configuration Process.
Overview.
The Configuration Software Elements.USB Host Controller Driver.
Configuration Software.
Default Control Pipe.
Resource Management.
Device Client Software.
Root Hub Configuration.Each Device Is Isolated for Configuration.
Reset Forces Device to Default Address (zero).
Host Assigns a Unique Device Address.
Host Software Verifies Configuration.
Configuration Value Is Assigned.
Client Software Is Notified.19. USB Device Configuration.
Overview.
Summary of Configuration Process.
How Software Detects Device Attachment & Speed.Polling the Status Change Endpoint.
Getting Port Status.
Resetting the Port.
Reading and Interpreting the USB Descriptors.The Standard Descriptors.
How Software Accesses the Descriptors.
Device Descriptor.
Device Qualifier Descriptor.
Configuration Descriptors.
Other Speed Configuration Descriptor.
Interface Descriptors.
Endpoint Descriptors.
Device States.Attached State.
Powered State.
Default State.
Addressed State.
Configured State.
Suspend State.
Client Software Configuration.20. Hub Configuration.
Configuring the Hub.The Default Pipe.
The Status Change Pipe.
Reading the Hub's Descriptors.
1.x Hub Descriptors.Hub's Standard Device Descriptor.
Hub Configuration Descriptor.
Hub Interface Descriptor.
Status Endpoint Descriptor.
Hub Class Descriptor.
High-Speed Capable Hub Descriptors.Descriptors When Hub Is Operating at Full Speed.
The 2.0 Hub's Class-Specific Descriptor.
Powering the Hub.
Checking Hub Status.Detecting Hub Status Changes.
Reading the Hub Status Field.
Reading Port Status.
Enabling the Device.
Summary of Hub Port States.21. Device Classes.
Overview.
Device Classes.
Audio Device Class.Standard Audio Interface Requirements.
Synchronization Types.
Audio Class-Specific Descriptors.
Audio Class-Specific Requests.
Communications Device Class.Communications Device Interfaces.
Communications Class-Specific Descriptors.
Communications Class-Specific Requests.
Display Device Class.The Standard Display Device Class Interface.
Display Device-Specific Descriptors.
Device-Specific Requests.
Mass Storage Device Class.Standard Mass Storage Interface.
General Mass Storage Subclass.
CD-ROM Subclass.
Tape Subclass.
Solid State Subclass.
Class- and Device-Specific USB Requests.VI. USB SOFTWARE OVERVIEW.
22. Overview of USB Host Software.
USB Software.Function Layer.
Device Layer.
Interface Layer.
The Software Components.
USB Driver (USBD).
Configuration Management.
USB Elements Requiring Configuration.Allocating USB Resources.
Data Transfer Management.
Providing Client Services (The USB Driver Interface).Pipe Mechanisms.
Command Mechanisms.VII. APPENDIX.
Appendix A. Standard Device Requests.
Overview.
Standard Device Requests.
Set/Clear Feature.Device Remote Wakeup.
Endpoint Stall.
Set/Get Configuration.
Set/Get Descriptor.
Set/Get Interface.
Get Status.Device Status.
Endpoint Status.
Sync Frame.
Device Tests.High-speed Driver/Receiver Compliance Testing.Appendix B. Hub Requests.
Overview.
Hub Request Types.Standard Requests and Hub Response.
Hub Class Requests.
Get/Set Descriptor Request.
Get Hub Status Request.Hub Status Fields.
Hub State Change Fields.
Set/Clear Hub Feature Request.Hub Local Power Change Request.
Hub Over-Current Change Request.
Get Port Status Request.Port Status Fields.
Port Change Fields.
Set/Clear Port Feature.
Port Test Modes.
Get Bus State.Appendix C. Universal Host Controller.
Overview.
Universal Host Controller Transaction Scheduling.Universal Host Controller Frame List Access.
UHC Transfer Scheduling Mechanism.
Bus Bandwidth Reclamation.
Transfer Descriptors.
Queue Heads.
UHC Control Registers.Appendix D. Open Host Controller.
Overview.
Open Host Controller Transfer Scheduling.The Open Host Controller Transfer Mechanism.
The ED and TD List Structure.
Interrupt Transfer Scheduling.
Endpoint Descriptors.Transfer Descriptors.
General Transfer Descriptor.
Isochronous Transfer Descriptor.
The Open Host Controller Registers.Index.
商品描述(中文翻譯)
**摘要**
《通用串行總線系統架構(第二版)》基於通用串行總線(USB)規範的2.0版本,提供了USB的深入涵蓋和詳細討論。它專注於USB協議、信號環境和電氣規範,以及配置和訪問USB設備所需的硬體/軟體互動。主要主題包括:
- 熱插拔支持(低速、全速和高速設備的檢測)
- 1.5、12和480Mb/s速率的電氣信號
- 2.0集線器操作(包括分割交易支持)
- 2.0高速協議(包括高帶寬和ping交易)
- 高速收發器測試模式
- 暫停/恢復操作
- 設備描述符
- 設備請求(命令)
- USB交易協議(低速、全速和高速)
- 總線供電設備
- 自供電設備
- 錯誤檢測和處理
- 設備配置
- 設備類別
本第二版已更新,以反映USB規範從原始的1.0版本到當前的2.0版本的變化。USB 2.0規範定義了以480Mb/s運行的高速交易,通過40倍的增長提高了舊USB設備的吞吐量。還新增了高帶寬、ping和分割交易,以進一步提高高速協議的效率。USB 2.0規範對USB進行了重大改進,同時保持與1.0和1.1 USB設備的向後兼容性。如果您設計或測試涉及USB的硬體或軟體,您不會想錯過本書中的重要更新。《通用串行總線系統架構(第二版)》是一本必備的省時工具。
隨書附帶的CD-ROM包含Don Anderson製作的85分鐘USB 2.0概述視頻,介紹了USB 2.0總線操作和協議的基本概念。涵蓋的主題包括術語、USB的設計目標、對USB 1.0和1.1系統及設備的低速和全速操作的回顧、USB 2.0高速傳輸的介紹,以及USB 2.0集線器如何使用分割交易來提供對低速和全速設備的向後兼容性。
PC系統架構系列是一本清晰且全面的指南,涵蓋了最重要的PC硬體標準。每本書旨在說明軟體和硬體之間的關係,並徹底解釋使用特定類型的晶片或硬體規範構建的系統的架構、特徵和操作。
**目錄**
關於本書。
- MindShare架構系列。
- 警告說明。
- 本書所依據的規範。
- 本書的組織結構。
- 誰應該閱讀本書。
- 先備知識。
- 文件約定。
- 位元域的識別(邏輯位元或信號的組合)。
- 訪問我們的網頁。
- 我們希望聽到您的反饋。
I. USB 2.0概述。
1. USB的設計目標。
- 原始PC I/O範式的缺陷。
- 系統資源有限。
- 最終用戶的關注。
- 成本。
USB範式。
- 增強的系統性能。
熱插拔和即插即用支持。
- 可擴展性。
舊硬體/軟體支持。
- 低成本。
USB主要特徵摘要。
- 如何獲取USB規範。
2. 大局觀。
- 概述。
- USB 1.x系統和設備。
- 低速和全速設備。
交易是如何生成的。
- 共享總線。
帶寬考量摘要。
- 2.0系統和設備。
- 2.0系統中的低速和全速設備。
- 2.0系統中的高速設備。
- 高速帶寬摘要。
參與者。
- USB客戶端驅動程式。
- USB總線驅動程式。
- USB主控制器驅動程式。
- USB主控制器/根集線器。
- USB集線器。
- USB設備。
USB通信模型。
- 通信流。
- 傳輸、IRP、幀和數據包。
設備框架(設備如何向軟體呈現自己)。
- 設備描述符。
- 設備框架。
USB外圍設備連接。
- 全速集線器。
- 高速集線器。
拓撲。
3. 電纜和連接器。
- 連接器。
- A系列連接器。
- B系列連接器。
電纜。
- 低速電纜。
- 全速和高速電纜。
- 電纜供電。
電氣和機械規範。
4. USB電纜供電分配。
- USB供電。
- 集線器。
- 電流預算。
- 過電流保護。
- 電壓降預算。
- 電源切換。
總線供電集線器。
- 集線器配置期間的供電。
- 連接到500mA端口的總線供電集線器。
- 連接到100mA端口的總線供電集線器。
- 連接到>100mA但<500mA端口的總線供電集線器。
- 電流限制。
總線供電設備。
- 低功率設備。
- 高功率設備。
自供電集線器。
- 配置期間的供電。
- 電流限制。
自供電設備。
- 配置期間的供電。
II. 低速和全速設備操作。
5. LS/FS信號環境。
- 概述。
- 檢測設備連接和速度檢測。
- 全速設備連接。
- 低速設備連接。
- 檢測設備斷開。
總線空閒。
- 設備重置。
- 差分信號。
- 差分驅動器。
- 差分接收器。
- 數據包開始(SOP)。
- 數據包結束(EOP)。
- 單端接收器。
NRZI編碼。
- 位元填充。
- USB信號狀態摘要。
6. LS/FS傳輸類型和排程。
- 概述。
- 客戶端啟動傳輸。
- 通信管道。
- 由I/O請求數據包啟動的通信。
- 基於幀的傳輸。
- 傳輸類型。
- 等時傳輸。
- 建立同步連接。
- 反饋/前饋解決方案。
- 中斷傳輸。
- 控制傳輸。
- 批量傳輸。
7. 數據包和交易。
- 概述。
- 數據包——USB交易的基本構建塊。
- 同步序列。
- 數據包識別符。
- 數據包特定信息。
- 循環冗餘檢查(CRC)。
- 數據包結束(EOP)。
令牌數據包。
- SOF數據包。
- IN數據包。
- OUT數據包。
- SETUP數據包。
數據包——DATA0和Data1。
- 握手數據包。
- 前導數據包。
- 交易。
- IN交易。
- OUT交易。
- 設置交易/控制傳輸。
8. 錯誤恢復。
- 概述。
- 數據包錯誤。
- PID檢查。
- CRC錯誤。
- 位元填充錯誤。
- 與數據包相關的錯誤處理。
- 總線超時。
- 假EOP。
- 主機傳輸期間的假EOP。
- 目標傳輸期間的假EOP。
- 數據切換錯誤。
- 無錯誤的數據切換程序。
- 有數據包錯誤的數據切換程序。
- 有握手數據包錯誤的數據切換程序。
- 特殊情況。控制傳輸期間的數據切換。
- 嘮叨設備。
- 活動丟失(LOA)。
- 嘮叨/LOA檢測和恢復。
- 幀計時器。
- 主機到集線器的偏差。
- 集線器重複器狀態機。
- 等時傳輸(不保證交付)。
- 中斷傳輸錯誤恢復。
- 批量傳輸錯誤恢復。
- 控制傳輸錯誤恢復。
9. USB電源節省。
- 電源節省——暫停。
- 設備對暫停的響應。
- 集線器對暫停的響應。
- 全局暫停。
- 啟動全局暫停。
- 從全局暫停恢復。
- 選擇性暫停。
- 啟動選擇性暫停。
- 從選擇性暫停恢復。
- 當集線器被暫停時的選擇性暫停。
- 選擇性暫停後的全局暫停。
- 通過重置恢復。
- 集線器幀計時器在喚醒後。
III. 高速設備操作。
10. 高速設備操作概述。
- 概述。
- 新的高速設備特徵。
- 1.x USB設備支持。
- 2.0主控制器。
11. 高速信號環境。
- 概述。
- 檢測高速設備連接。
- 初始設備檢測。
- 設備重置和啟動序列。
- 高速接口空閒。
- 高速差分信號。
- 阻抗匹配。
- 高速驅動器特性。
- 高速空閒。
- 高速差分接收器。
- 高速驅動器/接收器合規性測試。
- 高速數據包開始和同步序列。
- 高速數據包結束(EOP)。
- 檢測高速設備移除。
- 高速重置和暫停。
- 信號重置。
- 信號暫停。
- 區分重置和暫停。