Teledyne HPT User Manual

Computer Access Technology
Corporation
2403 Walsh Avenue, Santa Clara, CA 95051-1302 Tel: +1/408.727.6600 Fax: +1/408.727.6622
CATC™ HPT
USB Host Production Tester
User’s Manual
15 September 1999
Copyright 1996, 1997, 1998, 1999 Computer Access Technology Corporation (CATC)
CATC, Inspector, Detective, and HPT are trademarks of Computer Access Technology Corporation
CATC HPT User’s Manual Version 2.27
TABLE OF CONTENTS
1. INTRODUCTION............................................................................................................................................. 1
1.1 USB O
VERVIEW.............................................................................................................................................. 1
2. CATC HPT SYSTEM....................................................................................................................................... 2
3. SYSTEM SETUP............................................................................................................................................... 2
3.1 C
ONNECTORS AND CABLES ............................................................................................................................. 3
4. SOFTWARE INSTALLATION....................................................................................................................... 3
4.1 S
OFTWARE COMPONENTS................................................................................................................................3
4.2 I
NSTALLING THE SOFTWARE ............................................................................................................................. 3
4.3 R
UNNING THE SOFTWARE ................................................................................................................................3
4.3.1 Setting the PIIX4 Interrupt Line Number.............................................................................................. 4
4.3.2 Command Line Options......................................................................................................................... 4
5. HPT SOFTWARE FUNCTIONALITY.......................................................................................................... 5
5.1 H
5.2 P
OST TEST INITIALIZATION ............................................................................................................................. 5
ORT TEST SEQUENCE..................................................................................................................................... 6
5.2.1 Set Address............................................................................................................................................ 6
5.2.2 Get Device Descriptor........................................................................................................................... 7
5.2.3 Get Configuration Descriptor............................................................................................................... 7
5.2.4 Set Configuration.................................................................................................................................. 8
5.2.5 Bulk Read..............................................................................................................................................8
5.2.6 Loopback Test....................................................................................................................................... 8
5.2.7 Connection/Disconnection Ability.........................................................................................................9
5.3 USB P
5.4 T
OWER STATE TEST................................................................................................................................9
EST RESULTS: MONI T OR DISPLAY............................................................................................................... 10
5.4.1 OHCI Error Reporting........................................................................................................................ 12
5.5 T
5.6 T
5.7 C
EST RESULTS: DISK FILES............................................................................................................................12
EST RESULTS: ERROR LEVELS..................................................................................................................... 13
ONFIGURATION FILE INFORMATION............................................................................................................. 15
5.7.1 For Intel PIIX3 UHCI systems only.................................................................................................... 15
5.7.2 For Systems Running EMM386........................................................................................................... 15
6. HOW TO CONTACT CATC.........................................................................................................................16
7. WARRANTY AND LICENSE....................................................................................................................... 16
i
CATC HPT User’s Manual Version 2.27
1. INTRODUCTION
The CATC HPT USB Host Production Tester is designed for use on the production line to test the Universal Serial Bus ports of USB-capable motherboards and PCs, according to the USB specifications. The HPT supports USB host implementations of both the Intel UHCI and Open HCI specifications.
CATC HPT Features:
Intel 8x930 USB controller-based circuitry, packaged in a sturdy metal box
DOS-based software program verifies functionality of the USB system under test
supports UHCI and OHCI USB host implementations
two cables enable simultaneous testing of two USB root ports in under 10 seconds
tests for full- and low-speed port operation
enclosure-mounted LEDs for second-level visual status and test verification
can be incorporated into customer system test platforms (custom integration service
available)
tested for compliance with the USB specification
one year warranty and hot-line customer support
The HPT box connects to the two USB ports of the USB Host PC unit under test, using two USB cables. The tester is an intelligent USB device, allowing for quick and accurate testing for proper USB device enumeration, data transfers, and detection of connection status for full- and low­speed devices, as well as the proper operation of USB host interrupt circuitry and the various USB status flags.
The HPT software program connects with the tester via the USB host controller on the motherboard. For each port, the HPT software checks for proper operation in both full- and low­speed modes. When all tests are successful, the software declares the USB host unit functional. Any failures are both displayed on the screen and saved as a text file. For units that fail these tests, a CATC Inspector™ or Detective™ USB Bus & Protocol Analyzer can be used to assist in debug and rework.
1.1 USB Overview
USB is an open industry standard, providing a simple and inexpensive way to connect up to 127 devices to a single computer port. Keyboards, mice, tablets, digitizers, scanners, bar-code readers, modems, printers, and more can all run at the same time. USB devices plug into any platform that supports the standard, from notebooks to desktop PCs to workstations.
USB is a dynamically reconfigurable serial bus with an elementary data rate of 12,000,000 bits/sec, based on off the shelf, low cost micro-controller technology. Its modular layered software protocol supports sophisticated device drivers and application programs.
Page 1
CATC HPT User’s Manual Version 2.27
Please refer to the USB Specifications for details on the USB protocol. The USB specifications are available from the USB Implementers Forum at:
USB IF M/S JF2-51 Tel: +1/ 503 264 0590 2111 NE 25th Avenue Fax: +1/ 503 693 7975 Hillsboro, OR 97124 Web: http://www.usb.org/
2. CATC HPT SYSTEM
The CATC HPT package includes the following components:
a sturdy metal box housing the HPT electronic test circuitry, based on the Intel 8x930 USB
controller
an AC to DC converter
two USB cables
a diskette with the CATC HPT DOS software program
this user’s manual
The HPT box is an intelligent USB device. It has two female B-type USB connectors and two LEDs on the front of the unit and a +9V DC @ 500mA power connector on the rear. The USB connectors (marked “CH 1” and “CH 2”) are used to connect the HPT box to the host under test. The power connector is used to power the box from the AC to DC power converter; when power is applied, the red LED (marked “PWR”) is illuminated. The green LED (marked “STATUS”) is a status indicator; it blinks to indicate that the on-board microcontroller is functioning properly.
The DOS-based HPT software runs on the USB host under test; it communicates with the HPT box via the USB host controller (on the motherboard). For each USB port, the software program checks for proper operation in both full- and low-speed modes. When all tests are successful, the software declares the USB host to be functional; any failures are reported on the computer display screen, and saved on the hard disk as a text file.
3. SYSTEM SETUP
Position the CATC HPT box on the test bench, near the USB host to be evaluated. Connect the DC plug of the AC to 9V DC @ 500mA power converter to the +9V power
receptacle of the CATC HPT box. To activate the unit, plug the AC to DC converter into an appropriate AC power outlet.
In the USB test system, connect the USB HPT box as follows: A) Connect a USB cable between the USB connector labeled “CH 1” (on the CATC HPT
box) and the USB port of the host system under test.
B) If the system under test has a second USB port, use another USB cable to connect it to
the USB connector labeled “CH 2” (on the CATC HPT box).
The CATC HPT USB Host Tester hardware is now ready for operation.
Page 2
CATC HPT User’s Manual Version 2.27
3.1 Connectors and Cables
All connectors have a limited life (i.e., number of connect/disconnects before failure). When testing multiple hosts, be sure to plug and unplug cables at the host only, not at the HPT box. There is generally no need to disconnect the B-type USB connectors from the HPT. There is also no need to power down the HPT box between tests.
Additionally, forceful or otherwise improper connection and disconnection of USB cables can damage the cables and connectors on the USB host system and the CATC HPT box.
Note that the CATC Warranty (see “Warranty and License”) specifically excludes damage caused by this kind of product misuse.
USB ports on the host PC under test can be connected to the HPT box in either order; this will only affect the sequence in which the ports are tested. The software will first test the port connected to “CH 1”, then that connected to “CH 2”.
Note: To observe bus traffic, a CATC Inspector or Detective USB Bus & Protocol Analyzer can
be connected between the CATC HPT box and the host system under test.
4. SOFTWARE INSTALLATION
4.1 Software Components
The CATC HPT software diskette includes the following files:
USB_HPT.EXE executable code of the CATC HPT program
USB_HPT.CFG configuration text file for the USB host controller
(used only for Intel PIIX3 UHCI systems)
4.2 Installing the software
Make a copy of the CATC diskette for backup, then copy usb_hpt.exe (and also usb_hpt.cfg, in the case of Intel PIIX3 UHCI systems) to the hard drive of the USB-capable host PC to be tested.
4.3 Running the software
The HPT software program (usb_hpt.exe) is a DOS application and must be run under the DOS operating system. It supports both UHCI and OHCI USB host controller implementations.
The program scans the PC’s PCI devices and locates the USB host controller by class code. It uses the first host controller it finds as the test target. On some systems with a USB-aware BIOS,
the software may fail to communicate with the USB host controller; should this occur, contact CATC technical support (see “How to Contact CATC”).
To run the program, type USB_HPT at the DOS prompt and press the “Enter” key. The program will clear the monitor screen and begin execution. During the test, the program displays the test results on the monitor screen. The tests conclude in less than 10 seconds, leaving the test results on the screen. To terminate the program and get back to the DOS prompt, press any key.
Page 3
CATC HPT User’s Manual Version 2.27
4.3.1 Setting the PIIX4 Interrupt Line Number
In some computers the BIOS does not set the PIIX4 interrupt line, and as a result, the USB host controller interrupt line remains disabled.
The HPT software allows setting of the PIIX4 interrupt line number, using the /I:N option, where N is the IRQ number of the USB host controller (in the range 3–F).
If the IRQ setting is done by the BIOS, the /I option is not required. When thus directed, the HPT software reads the Interrupt Line Register contents (function 2). If a
valid interrupt line number (3–F) is found, it uses this interrupt number even if the /I option specifies a different IRQ number. If an invalid interrupt value is found (not 3–F) the driver alerts the user with a screen message, stating that an invalid interrupt number was found, and requests the use of the /I option to specify a valid IRQ value.
Ignoring the /I option when a valid IRQ number is detected allows the user to use the same software configuration to run the HPT tester on different systems (where some need this option and some do not).
When the /I option is used, the driver writes the specified IRQ number to both the Interrupt Line Register and the PIRQD Route Control Register (function 0), and clears the Interrupt Routing Enable bit of the latter.
4.3.2 Command Line Options
The test program supports a variety of command line options. To use these options, type USB_HPT (at the DOS prompt) followed by one or more of the following options, and press the “Enter” key. Note that option switches may be either upper- or lowercase.
Command Line Options
Options Purpose Default
/A[:TIME] Specifies an integer value representing the number of
milliseconds to wait at the end of the test before
Wait for operator
to press a key. terminating (without waiting for the operator to press a key). The maximum value of “TIME” is 32,768 (approximately 32.8 seconds).
/B:Address Valid for OHCI Host Controllers ONLY !!!
Default value of
“TIME” is 1000.
N/A Specifies (in HEX) the base address for the
operational registers of the host controller
/C Sends all screen output to the console (so it can be
redirected to a file or communication port).
/D:DEVICE Specifies (in HEX) a device ID for the host controller.
Display screen
output only.
N/A Note: In this case, the HPT software will not do
automatic search; this option should be used in conjunction with option /V.
Page 4
Loading...
+ 12 hidden pages