usb 2.0 production testing

19

Upload: marlee

Post on 10-Feb-2016

68 views

Category:

Documents


1 download

DESCRIPTION

USB 2.0 Production Testing. Michael Pasumansky CATC. USB Production Testing. What Is in the Presentation. Production test Vs Validation Test Test Environment Test Methods Test Setup Test Coverage Test Configuration Test results. USB Production Testing. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: USB 2.0  Production Testing
Page 2: USB 2.0  Production Testing

May 9, 2001 2

USB 2.0 Production Testing

Michael PasumanskyCATC

Page 3: USB 2.0  Production Testing

May 9, 2001 3

USB Production Testing

Production test Vs Validation Test Test Environment Test Methods Test Setup Test Coverage Test Configuration Test results

What Is in the Presentation

Page 4: USB 2.0  Production Testing

May 9, 2001 4

USB Production Testing

Verification test validates the correctnessof the design

Production test tests specific units of the product with the basic assumption that the product was designed to spec

Production Test vs.Verification Test

Page 5: USB 2.0  Production Testing

May 9, 2001 5

USB Production Testing

DOS Vs Windows Stand alone HW box Vs integrated ATE Tester recovery after testing a bad unit How to protect the tester USB connectors Operator skills

Test Environment

Page 6: USB 2.0  Production Testing

May 9, 2001 6

USB Production Testing

Method I - Plug a USB mouse to each one of the USB ports and check the mouse cursor movement

Method II - Use a special purpose USB tester that was designed to test USB host controllers(OHCI / UHCI) and USB hubs

Test Methods

Page 7: USB 2.0  Production Testing

May 9, 2001 7

USB HCUSB HCunder testunder test

DOS test SW

USBUSB

Tester BoxTester BoxProgrammable USBProgrammable USB

DeviceDevice

USB Production Testing

Testing USB host root ports

Test Setup andTest Methodology

Page 8: USB 2.0  Production Testing

May 9, 2001 8

USB Production TestingTesting Any USB Ports

USBUSBUSBUSB

USB HCUSB HCunder testunder test

DOS test SW HubHub Tester BoxTester Box

Programmable Programmable USB DeviceUSB Device

Page 9: USB 2.0  Production Testing

May 9, 2001 9

USB Production Testing

Writing and reading all host controllers registers Host controller initialization FS and LS device enumeration FS and LS Data loop-back Device connect and disconnect Analog measurements of D+, D- and VCC

Test Coverage(USB Host Controller)

Page 10: USB 2.0  Production Testing

May 9, 2001 10

USB Production Testing

Hub enumeration FS and LS connect and disconnect events at

every downstream port FS and LS Data loop-back through each port Remote wakeup (all combinations) Power management (OC, PWR switching) Analog measurements of all downstream ports

Test Coverage(USB Hub)

Page 11: USB 2.0  Production Testing

May 9, 2001 11

USB Production Testing

Customers require control on what to test and on the Go / No Go values

Special test option to allow the test to pass even when there are known issues

API to enable 3rd party test utilities to use the same tester box

Test Configuration /Customization

Page 12: USB 2.0  Production Testing

May 9, 2001 12

USB Production Testing

Production line operator screen Debug screen Analog results screen USB setup topology report Detailed failure description Daily test report Daily statistical report

Test Results

Page 13: USB 2.0  Production Testing

May 9, 2001 13

USB Production Testing ; AutoReturnToDOS=Yes,1000 ; TypeOfPortsToBeTested=Root ; TypeOfUSBHostController=UHCI ; NumberOfPorts=1 ; EndOfTestSound=Off ; OHCIBaseAddress=D800 ; TestLog=Statistics DefaultScreen=Debug ; ConsoleMode=Yes ; UHCIPix4Irq=11 DisableTest=2,3,4,5,6,7,8,9,10,11,12,13 DisableFunctionKeys=9 ; EmbeddedPorts=2,3 ; HubTrafficIndicatorDuration=Yes,200 USBLineIdleHigh=3.10 USBLineIdleLow=0.11 USBLineDrivenHigh=3.15 USBLineDrivenLow=0.22

USBLineDrivenHigh=3.15 USBLineDrivenLow=0.22 CHigh=5.43 VCCLow=5.00 ; VCCLoad=700 ; OvercurrentValue=1500 ; OvercurrentDuration=300 ; PropagationDuration=200 RunTestKey=Space ; PIX3IOSpace ; PIX3IRQ PIX3Clock USBKeyboardEnabled=Yes PowerSwitchingDelay=30 ; AutoOCStartFrom=40 ; AutoOCIncreaseBy=1 ; AutoOCDelay=50

Page 14: USB 2.0  Production Testing

May 9, 2001 14

USB Production Testing

Page 15: USB 2.0  Production Testing

May 9, 2001 15

USB Production Testing

Page 16: USB 2.0  Production Testing

May 9, 2001 16

USB Production Testing

Page 17: USB 2.0  Production Testing

May 9, 2001 17

USB Production Testing

USB 2.0 specifics– Have to test 3 speeds– Have to talk to multiple host controllers

Challenges for split transactions for host testing– Cannot test unless a 2.0 hub is connected to the host

(or the host has an integrated hub)– It is not feasible to put a 2.0 hub on the tester– An option can be provided using an external 2.0 hub

between the host and a channel on the tester

New for 2.0

Page 18: USB 2.0  Production Testing

May 9, 2001 18

USB Production Testing

Unlike for HCs and Hubs, cannot be generalized Still want full Software control

– Minimize test time– Perform tasks that are hard to set up with target OS

driver/application for your device Modified Linux USB stack can help, have to do

modifications yourself Can use USB stack for DOS Can concentrate on testing the functionality

Testing USB Devices

Page 19: USB 2.0  Production Testing

May 9, 2001 19

USB Production Testing

Production test environment, with a focus of the specific issues that are related to testing USB (Host controllers and USB hubs)

Different test methods Configuration and customization requested by

USB product manufacturers Test coverage and test results

Summary