Design Considerations for USB Mass Storage



Similar documents
Hard Drive Installation Options Ontrack Data Recovery Technical Paper.2004

PCI SATA RAID Card User Manual

Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Q&A. DEMO Version

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

PC Boot Considerations for Devices >8GB

VIA Fedora Linux Core 8 (x86&x86_64) VT8237R/VT8237A/VT8237S/VT8251/CX700/VX800 V-RAID V3.10 Driver Installation Guide

PCI Express SATA III RAID Controller Card with Mini-SAS Connector (SFF-8087) - HyperDuo SSD Tiering

Republic Polytechnic School of Information and Communications Technology C226 Operating System Concepts. Module Curriculum

PCI Express 2.0 SATA III RAID Controller Card with Internal Mini-SAS SFF-8087 Connector

File System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System

4 Port PCI Express 2.0 SATA III 6Gbps RAID Controller Card with HyperDuo SSD Tiering

UEFI on Dell BizClient Platforms

Evaluation of Software Write Blocking In SAFE Block XP V1.1

Embedded Operating Systems in a Point of Sale Environment. White Paper

is605 Dual-Bay Storage Enclosure for 3.5 Serial ATA Hard Drives FW400 + FW800 + USB2.0 Combo External RAID 0, 1 Subsystem User Manual

USB Simply Buffered (USB) Mass Storage Class Bulk-Only Transport

QuickSpecs. HP Integrity Virtual Machines (Integrity VM) Overview. Currently shipping versions:

3 Port PCI Express 2.0 SATA III 6 Gbps RAID Controller Card w/ msata Slot and HyperDuo SSD Tiering

Chapter 8: Installing Linux The Complete Guide To Linux System Administration Modified by M. L. Malone, 11/05

H ARDWARE C ONSIDERATIONS

This user guide describes features that are common to most models. Some features may not be available on your computer.

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

Taurus - RAID. Dual-Bay Storage Enclosure for 3.5 Serial ATA Hard Drives. User Manual

Artikel-Detailinformationen

Serial ATA ( ULi M1573)... 2

User Manual. 2 ) PNY Flash drive 2.0 Series Specification Page 3

PCI Express SATA / esata 6Gb/s RAID Card User Manual

RDX Compatibility Guide. Revision: 1.15 February 8, 2012

How To Set Up A Raid On A Hard Disk Drive On A Sasa S964 (Sasa) (Sasa) (Ios) (Tos) And Sas964 S9 64 (Sata) (

HP dx5150 RAID Installation and Setup Guide Version Document Part Number:

SiS964/SiS180 SATA w/ RAID User s Manual. Quick User s Guide. Version 0.3

DESIGNING SECURE USB-BASED DONGLES

This user guide describes features that are common to most models. Some features may not be available on your computer.

Phoenix SecureCore TM Setup Utility

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 5 Storage Devices

Intel ICH7R/ICH9R/ICH10R HostRAID Setup Guidelines

AVR287: USB Host HID and Mass Storage Demonstration. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Strategies for Firmware Support of Self-Encrypting Drives

How to Create a Windows El Torito Bootable CD/DVD-ROM

M5281/M5283. Serial ATA and Parallel ATA Host Controller. RAID BIOS/Driver/Utility Manual

How to install Windows XP / 7 using a USB flash drive and create a bootable USB flash drive!

BIOS Update Release Notes

How To Compare Two Servers For A Test On A Poweredge R710 And Poweredge G5P (Poweredge) (Power Edge) (Dell) Poweredge Poweredge And Powerpowerpoweredge (Powerpower) G5I (

RDX Compatibility Guide. Revision: May 06, 2014

USB2229/USB th Generation Hi-Speed USB Flash Media and IrDA Controller with Integrated Card Power FETs PRODUCT FEATURES.

Paragon Backup Retention Wizard

RDX Compatibility Guide. Revision: September 25, 2014

Floppy Drive & Hard Drive

SiS964 RAID. User s Manual. Edition. Trademarks V1.0 P/N: U49-M2-0E

Guide to SATA Hard Disks Installation and RAID Configuration

Minimum Hardware Specifications Upgrades

User Guide Max Secure Recovery CD/USB creation

Corsair Flash Voyager USB 2.0 Flash Drive UFD Utility User s Manual

Universal Serial Bus Mass Storage Class. Bulk-Only Transport

USB FLASH DRIVE. User s Manual 1. INTRODUCTION FEATURES SPECIFICATIONS PACKAGE CONTENTS SYSTEM REQUIREMENTS...

FAT12 and FAT16 description HIW Document Server Index Updated 09 Nov Contents:

HP Z220, Z420, Z620, and Z820 Workstations Microsoft Windows XP Installation Reference Guide

Guide to SATA Hard Disks Installation and RAID Configuration

Using iscsi with BackupAssist. User Guide

Phone and Fax: (717) or Send to- On the Internet at

The Bus (PCI and PCI-Express)

vpro Prerequisites and Trade-offs for the dc7700 Business PC with Intel vpro Technology

ZENworks 11 Support Pack 4 Full Disk Encryption Agent Reference. May 2016

VT8237 SATA RAID User Manual

Autodesk Inventor on the Macintosh

Backup & Recovery. 10 Suite PARAGON. Data Sheet. Automatization Features

Intel ESB2 SATA RAID Setup Guidelines

Intel Server Board S5000PALR Intel Server System SR1500ALR

The easy way! Mark Maszak. Jane Lawrence Program Manager Microsoft. Microsoft

HP User Manual for LSI Integrated RAID on HP xw4200/xw6200/xw8200/xw9300 Workstation

Hi-Speed USB Flash Disk User s Manual Guide

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

SiS S-ATA User s Manual. Quick User s Guide. Version 0.1

1.0. User s Guide & Manual USB 2.0 FLASH DRIVE

Price/performance Modern Memory Hierarchy

OpenVMS CD & DVD, IDE ATA & ATAPI

Booting XP Embedded from USB Flash By Sean D. Liming and John R. Malin

Crazybit computer Di Brignoli Natale Tel: Fax:

2 Port PCI Express 2.0 SATA III 6Gbps RAID Controller Card w/ 2 msata Slots and HyperDuo SSD Tiering

Read Me UNISTREAM AUTOMATION IDE

EHCI Removal from 6 th Generation Intel Core Processor Family Platform Controller Hub (PCH)

Operating Systems: Basic Concepts and History

RDX Compatibility Guide. Revision: Oktober 21, 2013

GPT hard Disk Drives. For HP Desktops. Abstract. Why GPT? April Table of Contents:

Guardian: Hypervisor as Security Foothold for Personal Computers

SiS 180 S-ATA User s Manual. Quick User s Guide. Version 0.1

Computer Basics: Chapters 1 & 2

Power Efficiency Comparison: Cisco UCS 5108 Blade Server Chassis and IBM FlexSystem Enterprise Chassis

Intel NUC. Installing Microsoft Windows* 7 from USB Flash Drives onto USB 3.0 Computers

USB 2.0 Flash Drive User Manual

Ahsay BackupBox v1.0. Deployment Guide. Ahsay TM Online Backup - Development Department

Install Microsoft XP Home/Pro to RoBoard RB-100

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 3 Installing Windows

USB Flash Drive User s Manual

HP 80 GB, 128 GB, and 160 GB Solid State Drives for HP Business Desktop PCs Overview. HP 128 GB Solid State Drive (SSD)

AMD RAID Installation Guide

INDIAN INSTITUTE OF TECHNOLOGY KANPUR Department of Mechanical Engineering

User s Manual CONTENT. Nano NAS Server for USB storages. 1. Product Information Product Specifications System requirements..

Users Guide. Wyse USB Firmware Tool Issue: PN: Rev. K

HP 128 GB Solid State Drive (SSD) *Not available in all regions.

Transcription:

Design Considerations for USB Mass Storage Steve Kolokowsky Cypress Semiconductor syk@cypress.com June 12, 2002 2

Mass Storage The Killer App June 12, 2002 3

Outline Mass Storage Class Bridge Selection Criteria Fixed Function vs. Programmable Bridges Driver Performance Issues June 12, 2002 4

Mass Storage Class SCSI Command Set RBC, Transparent, SFF-8070 subsets Defines 13 possible combinations of host and device behavior Defines Bulk Only Transport (BOT) and Command Bulk Interrupt (CBI) transport June 12, 2002 5

Bulk Only Transport (BOT) One IN and one OUT endpoint CBW -- Data -- CSW Uses STALL for Synchronization Control Pipe IN Pipe Out Pipe June 12, 2002 6

READ Transaction Host OUT (CBW) "Read Sectors" IN IN Read Data CSW Device June 12, 2002 7

Read Stall OUT (CBW) "Read Sectors" IN Host SETUP Clear Stall IN STALL CSW w/ Residue Device June 12, 2002 8

Write Transaction Host OUT (CBW) "Write (10)" OUT (DATA) IN Device CSW w/ Residue June 12, 2002 9

Write with STALL Host OUT (CBW) "Write (10)" OUT (DATA) SETUP Clear Stall IN STALL CSW w/ Residue Device June 12, 2002 10

Command Block Wrapper (CBW) bit Byte 0-3 4-7 8-11 (08h-0Bh) 12 (0Ch) 13 (0Dh) 14 (0Eh) 15-30 (0Fh-1Eh) 7 6 5 4 dcbwsignature dcbwtag 3 2 1 0 dcbwdatatransferlength bmcbwflags Reserved (0) bcbwlun Reserved (0) bcbwcblength CBWCB Source USB MSC BOT spec version 1.0 June 12, 2002 11

Command Block (CBWCB) READ Example bit Byte 7 6 5 4 3 2 1 0 0 OPERATION CODE (28h) 1 Reserved DPO FUA Reserved RELADR 2 3 (MSB) LOGICAL BLOCK ADDRESS 4 5 6 7 8 9 (LSB) Reserved (MSB) TRANSFER LENGTH (LSB) CONTROL Source SCSI2 Block Command specification June 12, 2002 12

Command Status Word (CSW) Contents bit Byte 0-3 4-7 8-11 (08h-0Bh) 12 (Ch) 7 6 5 4 3 2 1 dcswsignature dcswtag dcswdataresidue bcswstatus 0 June 12, 2002 13

The 13 Cases D e v i c e Phase Error Causes Stall HOST Hn Hi Ho Dn (1) Hn = Dn (4) Hi > Dn (9) Ho > Dn (5) Hi > Di Di (2) Hn < Di (6) Hi = Di (10) Ho <> Di (7) Hi < Di Do (3) Hn < Do (8) Hi <> Do Successful Transfer (11) Ho > Do (12) Ho = Do (13) Ho < Do June 12, 2002 14

Host Support Both Transports Supported Bulk Only Transport (preferred) CBI (Obsolete) Supported by Microsoft (W2K, ME, XP) Supported by Apple (OS9, OS X) Linux driver Available Vendors provide drivers for Win 98 June 12, 2002 15

OTG Support Proposal for FAT16 under discussion. Implementations are ahead of the spec OTG Demo seen earlier Concerns about support for other devices CD/DVD Larger drives June 12, 2002 16

Bridge Selection Criteria All Bridge Chips are not Created Equal Consider Power Flexibility Translation Speed June 12, 2002 17

Power Some Mass Storage Class devices must be bus-powered Key chain drives Flash readers Most are not HDD CD, DVD, CDRW June 12, 2002 18

Programmable Vs Fixed ATA Interface Solutions Programmable Requires Learning Custom Features BIOS / OS support Performance tweaks Fixed Function Plug n Play No changes Maybe Fixed performance June 12, 2002 19

Programmable Device Benefits Work With Non ATA compliant devices Many optical drives are non-compliant in subtle ways Market Differentiation Add features beyond raw disk drive Special OS support Support different spec variants Boot Windows boot is still a work in progress. May need device changes June 12, 2002 20

IDE Translation The Class Spec only uses ATAPI commands Translation required for non-atapi devices Hard Drives Compact Flash Embedded Flash Other IDE devices New OS / BIOS may need more translation June 12, 2002 21

Error Recovery Errors are not special cases. They are a fact of life for removable media Error recovery strategies Drive firmware errors Some may only be fixable by a programmable solution Testing with errors is critical June 12, 2002 22

Speed ATA Interface Speed UDMA/66 = 500MBits/sec Buffering Buffering Larger buffers if no buffer on the drive Queuing Support Still undefined in the spec Enhanced Drivers June 12, 2002 23

Driver Performance System Configuration Software Configuration Mass Storage Drivers Used Test Results June 12, 2002 24

System Configuration System Tested P4 1.7Ghz, 128MB Windows XP Intel USB 2.0 Integrated Host Controller (ICH4) Test Devices Cypress ISD300 ATA/ATAPI Bridge Chip IBM DTLA-307030 HD (30.7GB, 7200RPM) Ricoh MP7120A CD-R/RW (12x10x32x) June 12, 2002 25

Software Configuration Software Stack Intel Labs EHCI Driver Microsoft USB Mass Storage Class Driver Cypress USB Mass Storage Class Driver Benchmark Software HD Tach 2.60 CD Tach 98 June 12, 2002 26

Software Configuration Intel Labs ECHI Evaluation Driver Custom ECHI driver developed by Intel Labs Four different binaries used in Benchmark Comparisons: Compiled Compiled with Interrupt Threshold of 1 (ITH1) High priority Compiled Compiled with Interrupt Threshold of 2 (ITH2) Compiled Compiled with Interrupt Threshold of 4 (ITH4) Compiled Compiled with Interrupt Threshold of 8 (ITH8) Lower priority June 12, 2002 27

Software Configuration Microsoft USB Mass Storage Class Driver USB Storage Class driver included in the Windows XP distribution Used to obtain the results of a Traditional implementation of the USB Storage Class BOT specification Cypress USB Mass Storage Class Driver Custom USB Storage Class driver developed by Cypress Added performance enhancements to eliminate the latency incurred by the Traditional implementation of the USB Storage Class BOT specification. June 12, 2002 28

Traditional Driver June 12, 2002 29

Performance Enhanced Implementation June 12, 2002 30

USB 2.0 Benchmark Comparisons Average Read Performance Traditional vs. Cypress performance enhanced implementation, plus Native IDE M B P S 30 25 20 15 10 5 0 ITH8 ITH4 ITH2 ITH1 Native Microsoft USB Storage Class Driver Cypress USB Storage Class Driver Native IDE June 12, 2002 31

USB 2.0 Benchmark Comparisons Average Write Performance Traditional vs. Cypress performance enhanced implementation, plus Native IDE M B P S 16 14 12 10 8 6 4 2 0 ITH8 ITH2 Native Microsoft USB Storage Class Driver Cypress USB Storage Class Driver Native IDE June 12, 2002 32

Summary Mass Storage Class Overview BOT Shared Interface for Commands and Data Bridge Selection Programmable Solutions Allow Customization Custom Drivers Boost Performance June 12, 2002 33

Questions and Answers June 12, 2002 34

Contact Information Marketing: Jack Woods VJW@cypress.com June 12, 2002 35