October 11, 20001
2 USB 2.0 Production Testing Michael Pasumansky CATC
October 11, USB Production Testing w Production test Vs Validation Test w Test Environment w Test Methods w Test Setup w Test Coverage w Test Configuration w Test results What Is in the Presentation
October 11, USB Production Testing w Production Test Vs Verification Test – Verification test validates the correctness of the design – Production test tests specific units of the product with the basic assumption that the product was designed to spec
October 11, USB Production Testing w Test Environment – 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
October 11, USB Production Testing w Test Setup and Test Methodology – Testing USB host root ports USB HC under test USB HC under test DOS test SW Tester Box Programmable USB Device Tester Box Programmable USB Device USBUSB USBUSB
October 11, USB Production Testing w Testing any USB ports Tester Box Programmable USB Device Tester Box Programmable USB Device USB USB HC under test USB HC under test DOS test SW DOS test SW HubHub
October 11, USB Production Testing w Test Methods – 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
October 11, USB Production Testing w Test Coverage (USB host controller) – 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
October 11, USB Production Testing w Test Coverage (USB hub) – 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
October 11, USB Production Testing w Test Configuration / Customization – 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
October 11, USB Production Testing w Test Results – Production line operator screen – Debug screen – Analog results screen – USB setup topology report – Detailed failure description – Daily test report – Daily statistical report
October 11, USB Production Testing w ; AutoReturnToDOS=Yes,1000 w ; TypeOfPortsToBeTested=Root w ; TypeOfUSBHostController=UHCI w ; NumberOfPorts=1 w ; EndOfTestSound=Off w ; OHCIBaseAddress=D800 w ; TestLog=Statistics w DefaultScreen=Debug w ; ConsoleMode=Yes w ; UHCIPix4Irq=11 w DisableTest=2,3,4,5,6,7,8,9,10,11,12,13 w DisableFunctionKeys=9 w ; EmbeddedPorts=2,3 w ; HubTrafficIndicatorDuration=Yes,200 w USBLineIdleHigh=3.10 w USBLineIdleLow=0.11 w USBLineDrivenHigh=3.15 w USBLineDrivenLow=0.22 w CHigh=5.43 w VCCLow=5.00 w ; VCCLoad=700 w ; OvercurrentValue=1500 w ; OvercurrentDuration=300 w ; PropagationDuration=200 w RunTestKey=Space w ; PIX3IOSpace w ; PIX3IRQ w PIX3Clock w USBKeyboardEnabled=Yes w PowerSwitchingDelay=30 w ; AutoOCStartFrom=40 w ; AutoOCIncreaseBy=1 w ; AutoOCDelay=50
October 11, USB Production Testing
October 11, USB Production Testing
October 11, USB Production Testing
October 11, USB Production Testing w USB 2.0 specifics – Have to test 3 speeds – Have to talk to multiple host controllers w 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
October 11, USB Production Testing Summary w Production test environment, with a focus of the specific issues that are related to testing USB (Host controllers and USB hubs) w Different test methods w Configuration and customization requested by USB product manufacturers w Test coverage and test results