2403 Walsh Avenue, Santa Clara, CA 95051-1302 Tel: +1/408.727.6600 Fax: +1/408.727.6622
CATC
™
USB Chief
™
Bus & Protocol Analyzer
User’s Manual
ForUSBChiefSoftwareVersion1.3
Manual Version 1.7
9 November, 2001
Document Disclaimer
The information contained in this document has been carefully checked and is believed to be reliable.
However, no responsibility can be assumed for inaccuracies that may not have been detected.
CATC reserves the right to revise the information presented in this document without notice or
penalty.
Changes or Modifications
Any change or modification not expressly approved by CATC voids the user’s authority to operate
this equipment.
Trademarks and Servicemarks
CATC, NetMate, Advisor, Chief, FireInspector, Inspector, Detective, Traffic Generator, BusEngine,
USB4DOS, UPT, HPT, UHT, Galaxy, and Andromeda are trademarks of Computer Access
Technology Corporation.
Microsoft, Windows, Windows 98, Windows 2000, Windows ME and Windows NT are registered
trademarks of Microsoft Inc.
All other trademarks are property of their respective companies.
This document may be printed and reproduced without additional permission, but all copies should
contain this copyright notice.
FCC Conformance
This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection
against harmful interference when the equipment is operated in a commercial environment. This
equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in
accordance with the instruction manual, may cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful interference in which case
the user will be required to correct the interference at his own expense. The end user of this product
should be aware that any changes or modifications made to this equipment without the approval of
CATC could result in the product not meeting the Class A limits, in which case the FCC could void
the user's authority to operate the equipment.
EU Conformance
This equipment complies with the EMC Directive 89/336/EEC and the Low Voltage Directive 73/
23/EEC, and their associated amendments for Class A Information Technology Equipment. It has
been tested and found to comply with EN55022:1995 Class A and EN61000-4-2:1995, EN61000-43:1995, EN61000-4-4:1995,and EN60950:1992. In a domestic environment this product may cause
radio interference in which case the user may be required to take adequate measures.
The CATC USB Chief Bus & Protocol Analyzer is an invaluable development and
test tool for designers involved with the Universal Serial Bus (USB). When
connected to any USB branch, the USB Chief Analyzer can monitor the bus
activity and display information about the recorded packets. The easy-to-use USB
Chief program operates in the Windows 95® (OSR 2.1), Windows 98®, Windows
98SE®, and Windows 2000® environments.
The USB Chief Analyzer consists of the Bus & Protocol Analyzer unit and USB
Chief software. Not to be confused with the USB bus being monitored, the
Analyzer unit itself is configured and controlled by a personal computer through
a USB port. The Analyzer is connected to a USB branch with a non-intrusive, high
impedance tap. It listens and records relevant signals on the bus and is also capable
of transmission.
The USB Chief Analyzer supports the Universal Serial Bus, version 1.1. The USB
industry standard refers to a cable bus that supports data exchange between a host
computer and a wide range of simultaneously accessible peripherals. The attached
peripherals share USB bandwidth through a host-scheduled, token-based
protocol. The bus allows peripherals to be attached, configured, used, and
detached while the host and other peripherals are in operation.
Please refer to the Universal Serial Bus Specification, version 1.1 for details on
the protocol. The USB specification is available from the USB Implementers
Forum (USB-IF) at
USB Implementers Forum
1730 SW Skyline Blvd. Suite 203
Portland, OR 97221
The USB Chief Bus & Protocol Analyzer components and software are easily
installed and quickly ready to run on most personal computer systems. You can
begin making USB recordings after following these initial steps. However, if you
are new to personal computers and protocol Analyzers, if you are unsure about
what to do after reading the Quick Installation instructions, or if your Analyzer
does not work after you follow these instructions, read through the subsequent
sections in this manual.
Setting Up the USB Chief Analyzer
Step 1Connect the AC power cable to the rear of the Analyzer.
Step 2Turn on the power switch on the rear of the Analyzer.
Step 3Insert the first diskette for your operating system.
Step 4Connect the USB port on the back of the Analyzer to the PC for analysis
using the LONG (6’) USB cable.
Step 5Connect the USB host (or hub) and the device being analyzed to the
primary USB port on the front of the Analyzer (Record & Generate)
using the
SHORTER (3’) USB cables.
Step 6Follow the on-screen Plug-and-Play instructions under Windows.
Step 7Search the diskette for the USB Chief Bus & Protocol Analyzer drivers.
Installing the USB Chief Software
Step 1Run the program a:\setup and follow the on-screen instructions.
Step 2Launch the CATC USB Chief program from the CATC programs group.
Making a USB Recording
After installation, the software is configured to make a one-Mbyte snapshot
recording of your USB traffic.
To make this recording, follow these steps:
Step 1Clickon the Tool Bar.
After 1 Mbyte of traffic is recorded, the Analyzer uploads the data and
displays the packets.
To upload and display less than one Mbyte of traffic,
Step 2Clickon the Tool Bar at any time before recording automatically
terminates.
When the recording session is finished, the bus traffic is saved to the hard
drive as a file named data.usb or whatever name you assign as the
default filename.
3
Chief User’s ManualCATCVersion 1.7
To save a current recording for future reference, follow these steps:
Step 3Select Save As under File on the Menu Bar.
OR
Clickon the Tool Bar.
You see the standard Save As screen.
Step 4Give the recording a unique name and save it to the appropriate directory.
Capturing Your First CATC Trace
Trace View Features
• The USB Chief packet view display makes extensive use of color and graphics
to fully document the captured traffic.
• Packets are shown on separate rows, with their individual fields both labeled
and color coded.
• Packets are numbered (sequentially, as recorded), time-stamped (with a
resolution of 83.3ns), and highlighted to show the transmitted speed
(low-speed or full-speed).
• Display formats can be named and saved for later use.
• Pop-up Tool Tips annotate packet fields with detailed information about their
contents
• Data fields can be collapsed to occupy minimal space in the display (which can
in turn be zoomed in and out to optimize screen utilization).
• The display software can operate independent of the hardware and so can
function as a stand-alone Trace Viewer that may be freely distributed.
4
Chief User’s ManualCATCVersion 1.7
5
Chief User’s ManualCATCVersion 1.7
6
Chief User’s ManualCATCVersion 1.7
Chapter 3: Upgrades
From time to time as modifications are made to the Analyzer, it is necessary to
update the Chief for optimal performance. These changes require that you be
familiar with the procedures for updating the three portions of the Analyzer: the
software, the firmware, and the BusEngine. If you haven’t already done so, you
may also want to upgrade from USB Chief to Chief Plus so that you can use your
Analyzer to generate traffic.
You can check the version of USB Chief you are running by selecting About USBChief from the Help menu.
Software Upgrades
When a new software release is available, it is posted on the Support page of the
CATC website at www.catc.com/support.html.
To update the software, follow these steps:
Step 1In the About USB Chief screen, verify which version of USB Chief
Software you are currently running.
Step 2Find the latest released software version on the CATC website under
Support.
If you are running the latest version of the software, no further action is
needed.
If you are not running the latest version, continue to Step 3.
Step 3Click on the first link to download the zipped Disk 1 files for your
Step 5Unzip the files into your choice of directory.
Step 6Click Start,thenRun, and browse to where you unzipped the files.
Step 7Select the program named Setup and click Open.
Step 8Click OK to run the Setup and begin the installation.
Step 9Follow the on-screen instructions to complete the installation.
Step 10 Read the Readme file for important information on changes in the
release.
7
Chief User’s ManualCATCVersion 1.7
BusEngine and Firmware Upgrades
To update the BusEngine and the USB Chief Analyzer Firmware, follow these
steps:
Step 1From the Setup menu, select Analyzer.
The Analyzer Setup window appears:
Step 2Click Reset Analyzer
The Analyzer resets, performs self-diagnostics, and returns to service.
Note The self-diagnostics should complete about five seconds after the trigger LED
lights. If the diagnostics fail, the trigger LED blinks on and off continually,
indicating faulty hardware. If this occurs, contact CATC for customer support.
Downloading New Code
The BusEngine core is the heart of the USB Chief Analyzer. Using state-of-the-art
PLD technology, it incorporates both the high speed recording engine and the
configureable building blocks that implement data/state/error detections,
triggering, capture filtering, external signal monitoring, and event counting and
sequencing. Both the BusEngine program and the Firmware that manages the
internal microcontroller are fully field upgradeable.
Upgrading the BusEngine
Within a new software release, it may be necessary to update the Analyzer’s
BusEngine hardware for proper operation. The Readme file lets you know if this
is necessary.
To update the BusEngine, follow these steps:
Step 1Click Update BusEngine on the Analyzer Setup screen.
8
Chief User’s ManualCATCVersion 1.7
The Select engine file window appears:
The program has already automatically searched for the correct file and
displays it in the File name field.
Note The most current Primary BusEngine file (chief.rbf), Secondary Channel
BusEngine file (chief_s.rbf), and Firmware file (chieffw.ihx) were copied to your
\CATC\USB Chief directory when you installed the program.
Step 2Click Open.
It is not necessary to restart the Analyzer. Once upgraded, the Analyzer takes
approximately 15 seconds to reinitialize, with Time Remaining displayed on the
screen. During this time the Trigger LED is on, indicating that power-on
diagnostics are being run. If there is a hardware failure, the Trigger LED continues
to blink after initialization is complete. If this occurs, contact CATC for customer
support.
Upgrading the Firmware
Within a new software release, it may also be necessary to upgrade the Analyzer’s
firmware for proper operation. The Readme file informs you if this is necessary.
To upgrade the firmware, follow these steps:
Step 1Click Upgrade Firmware on the Analyzer Setup screen.
The Select firmware file window appears:
9
Chief User’s ManualCATCVersion 1.7
The program has already automatically searched for the correct file and
displays it in the File name field.
Step 2Click Open.
The Analyzer upgrades the Firmware.
Step 3Unplug the USB cable from the back of the Analyzer box and then
reinsert it so the new Firmware upgrade can take effect.
Upgrading from Chief to Chief Plus
Traffic Generation (Host Emulation) is an optional feature of the USB Chief
Analyzer and requires hardware support. Each unit is capable of supporting
Traffic Generation and must be upgraded only once to enable this additional
feature. Once upgraded, your USB Chief Analyzer becomes a USB Chief Plus
Analyzer.
10
Chief User’s ManualCATCVersion 1.7
To upgrade your Analyzer for Traffic Generation, follow these steps:
Step 1From the Setup menu, select Traffic Generation .
The Traffic Generation Setup window appears:
Step 2In the Password field, enter the password supplied by CATC .
If your unit has already been upgraded, the dialog will notify you of this and a
password will not be necessary.
11
Chief User’s ManualCATCVersion 1.7
12
Chief User’s ManualCATCVersion 1.7
Chapter 4: Detailed Installation
System Features
• Third generation Analyzer, backward compatible with Inspector
Detective
• Modular system architecture with field upgradeable firmware & recording
engine
™
†
Trace files
• Fully USB version 1.1 compliant
• One year warranty and hotline customer support
• Expanded 128MB of physical data recording memory
†
• New secondary recording channel to aid in the development of hub devices
• High speed USB connection to desktop or portable host PC
• Convenient access to measure device current, detect bad device power, and
scope USB D+/D- signals
†
• High impedance tap that inserts non-intrusively into any branch of a USB
system
• Convenient detach device switch that saves time and reduces USB
cable/connector wear for multiple connects and disconnects to the host
• Detection and alert for every potential bus error, protocol violation, and
combinations thereof
• High resolution, accurate time stamping of bus packets, timing measurement,
and analysis functions
†
™
and
†
†
†
• The popular CATC Trace graphical display of bus packets, transactions, and
transfers
• Extensive search and packet hiding capabilities
• Enhanced device class decoding plus user-defined protocol decoding
†
†
†
• Software operation as stand-alone Trace Viewer
• Built-in USB bus Traffic Generation (“Plus” model only)
†
new or enhanced feature not available in the Detective or Inspector Analyzer
Recording Features
• Versatile triggering—bit-wise value and mask data patterns up to eight bytes
wide for SETUP transactions and data packets
• Advanced triggering with event counting and sequencing
• Triggering on multiple error conditions—PID bad, bit stuffing bad, CRC bad,
end-of-packet bad, babble, loss of activity, frame length violation, time-out or
turn-around violation, data toggle violation
13
†
†
†
Chief User’s ManualCATCVersion 1.7
• Real-time traffic capture filtering
• Automatic detection and capture of full- and low-speed traffic
†
new or enhanced feature not available in the Detective or Inspector Analyzer
System Components/Packing List
• One stand-alone USB Chief Analyzer unit with AC power cord
• One External Interface Breakout Board with a 37-pin ribbon cable
• Three USB cables: two 3-foot (1-meter) cables and one 6-foot (2-meter) cable
• USB Chief software program installation diskette(s)
• Product documentation including on-line help
Stand-Alone Unit
The USB Chief Analyzer has several user-accessible controls on its front and rear
panels.
Figure 1: Front Panel
†
†
• Red PWR (power) indicator LED (lights when the unit power is switched on)
• Green REC (recording) LED (lights when the unit is recording)
• Yellow TRG (triggered) LED (lights when the unit triggers an event)
— Also lights during power-on testing and blinks when the hardware is faulty
• Yellow GEN (generate) LED (lights when the unit is generating traffic)
• Manual Trigger push-button (allows a manual Trace capture)
— After beginning a recording session, press the Manual Trigger switch to
force a Trigger condition. The session completes when a specified
post-Trigger amount of bus data is recorded or when you manually stop a
recording session.
• Detach Device push-button (allows a momentary disconnection of the device
from the host on the primary port).
— This is especially useful when the traffic of interest occurs during device
enumeration. Use the Detach Device switch shortly after starting
recording to capture a Trace of the device’s enumeration.
• Two USB ports, Record & Generate (Primary Port) and Secondary Record
(Secondary Port), each with a type "A" and a type "B" connector
— (Record & Generate) records and generates traffic
— (Secondary Record) records only
14
Figure 2: Rear Panel
• Wide range AC connector module
— Power socket
— Enclosed fuse
— Power on/off switch
• External Clock (EXT CLK) input for future enhancement
• USB type “B” host computer connector
• Data In/Out DB-37 (37-pin) external interface connector
Figure 3: Data In/Out Connector
Chief User’s ManualCATCVersion 1.7
Use the 37-pin Data In/Out connector located on the rear of the USB Chief
Analyzer box to connect the External Interface Breakout Board.
Table 1 lists the pin-out and signal descriptions for the Data In/Out connector.
Signal inputs (IN x) function under the control of the USB Chief program and may
be set as active-low or active-high in Recording Options. Signal inputs 0 through
3 can be recorded optionally along with USB traffic and displayed in a CATC
Trace. Signal outputs (OUT x) function under the control of the USB Chief
program and are used to link any events to an external signal.
Table 1: Data In/Out Connector – Pin-Out
PinSignal DescriptionPinSignal Description
15V, 500mA DC source20Ground
2TRIGGER OUT (active low)21Ground
3Not connected22Ground
4IN 0 – Signal input23Ground
5IN 1 – Signal input24Ground
6IN 2 – Signal input25Ground
7IN 3 – Signal input26Ground
8IN 4 – Signal input27Ground
9TRIGGER IN28Ground
10CURRENT MEASURE +29Ground
11CURRENT MEASURE -30Ground
12OUT 0 – Signal output31Ground
13OUT 1 – Signal output32Ground
14OUT 2 – Signal output33Ground
15
Chief User’s ManualCATCVersion 1.7
PinSignal DescriptionPinSignal Description
15OUT 3 – Signal output34Ground
16OUT 4 – Signal output35Ground
17OUT 5 – Signal output36Ground
18GATED VP37Ground
19GATED VM
USB Chief System Setup
The USB Chief Analyzer functions with any personal computer using the
Windows 95 (OSR 2.1), Windows 98, Windows 98SE, or Windows 2000
operating systems and equipped with a functional USB interface. The Analyzer is
a stand-alone unit configured and controlled through a personal computer USB
port. It can be used with portable computers for field service and maintenance as
well as with desktop units in a development environment. It is easily installed by
connecting a cable between the computer’s USB port and the Analyzer’s USB
port.
16
USB Chief
PC Connection
Chief User’s ManualCATCVersion 1.7
USB Chief
PC for Analysis
USB Host
External Events
USB Device
USB
Under Analysis
The USB Chief Analyzer provides on-the-fly detection of and triggering on such
events as specific user-defined bus conditions, packets matching any Packet
Identifier (PID), packets matching a Token or Setup transaction, data patterns, and
many abnormal (error) bus conditions. Whether recording manually or with a
specified trigger condition, the USB Chief Analyzer continuously records the bus
data in a wrap-around fashion until manually stopped or until the Trigger Event is
detected and a specified post-Trigger amount of bus data is recorded.
Upon detection of a triggering event, the Analyzer continues to record data up to
a point specified by the user. Real-time detection of events can be individually
enabled or disabled to allow triggering on events as they happen. This includes
predefined exception or error conditions and a user-defined set of trigger events.
The unit can also be triggered by an externally supplied signal. An external DB-37
connector provides a path for externally supplied data or timing information to be
recorded along with bus traffic.
17
Chief User’s ManualCATCVersion 1.7
Real-time event detection information is available via an external DB-37
connector and makes many control, timing, and recovered signals available
externally. These signals can be probed and used by other circuitry.
The USB Chief software provides powerful search functions that enable
investigation of particular bus events and allow the software to identify and
highlight specific events. In addition to immediate analysis, you can print any part
of the data. Use the Save As feature to save the data on disk for later viewing. The
program also provides a variety of timing information and data analysis reports.
The USB Chief Analyzer is designed to work with either desktop or laptop
computers equipped with a functional USB interface. To set up the system
hardware,
• Connect the Analyzer to an AC power source.
• Connect the External Interface Breakout Board to the Data In/Out connector
(optional).
• Connect to the personal computer via USB.
• Connect the USB host and the device being analyzed to the Record &
Generate USB port.
AC Power Source
Step 1Connect the Analyzer box to a 120-volt or 240-volt supply using the
provided power cord.
Note The Analyzer is capable of supporting supply voltages between 100-volt and
240-volt, thus supporting all known supply voltages around the world.
Step 2Use the power switch located on the rear panel to turn the Analyzer unit
on and off.
Note At power-on, the Analyzer initializes itself in approximately ten seconds and
performs an exhaustive self-diagnostic that lasts about five seconds. The Trigger
LED illuminates during the power-on testing and turns off when testing is
finished. If the diagnostics fail, the trigger LED blinks continuously, indicating a
hardware failure. If this occurs, call CATC Customer Support for assistance.
18
Chief User’s ManualCATCVersion 1.7
External Interface Breakout Board
The External Interface Breakout Board is an accessory that allows convenient
access to several potentially useful TTL output and input signals. It also offers a
simple way to connect logic analyzers or other tools to the Analyzer unit. Four
ground pins and one 5-volt pin are provided.
The Breakout Board connects via a ribbon cable to the Data In/Out connector
located on the rear of the Analyzer box. Each pin is isolated by a 100Ωseries
resistor and a buffer inside the Analyzer box.
For more detailed information on the Breakout Board installation and setup,
please refer to External Interface Breakout Board in the Appendix.
PC Connection
Use the LONGEST (6-foot/2-meter) of the three USB cables provided to connect
the host computer to the USB Chief Analyzer box.
19
Chief User’s ManualCATCVersion 1.7
Record & Generate USB Port
The USB Bus uses keyed connectors so that the type ‘A’ connector joins a cable
directed to downstream devices or to a hub and the type ‘B’ connector joins a cable
directed to an upstream host controller or to a hub. A USB hub is used to join
multiple devices to an upstream host controller and therefore has both type ‘A’
and type ‘B’ connectors.
USB Host
USB Device
The Record & Generate port has both type ‘A’ and type ‘B’ connectors so the
Analyzer can conveniently tap a USB branch. To connect your USB branch for
analysis, use the two SHORT (3-foot/1-meter) USB cables to insert the Analyzer
in place of the existing cable. Connect one cable to the type ‘A’ connector and join
it downstream to your device or hub. Connect the other cable to the type ‘B’
connector and join it upstream to your host or hub.
Note The USB Chief Bus & Protocol Analyzer is not a hub device; it connects to a USB
branch by inserting a non-intrusive, high impedance tap. Because of the poor
signal quality in the middle of a USB cable, CATC recommends using the shortest
possible cables so that the total length of both cables together is less than 6 feet.
The USB cables provided with your Analyzer meet this requirement. When longer
cables are used, the Analyzer may record incorrect data.
Secondary Record USB Port
When connected, the Secondary Record port taps another USB branch and records
bus traffic in the same fashion as the primary port. This port allows the
simultaneous recording of traffic on two USB branches. The USB Chief analyzes
the traffic from both ports and presents the analysis in a unified view.
Note When recording on both the Primary and the Secondary Channels, Generate is
disabled.
PC-for-Analysis Requirements
• x86-based personal computer (386 minimum, Pentium MMX, or Pentium II
recommended)
• USB connection to the computer (unless using the PC only as a viewer)
• Microsoft Windows 95(OSR 2.1), Windows 98, Windows 98SE, or Windows
2000 for recording and viewing traffic
20
Chief User’s ManualCATCVersion 1.7
• Microsoft Windows 95 or any later Windows system, including NT4.0, for
viewing traffic only
• Minimum of 16MB physical RAM; 32 MB recommended for viewing
transactions
• At least 10 MB hard disk space, plus additional memory for recordings (as
much as 200MB when recording a full buffer size)
• Monitor resolution at least 800x600 with thousands of colors
USB Chief Program Installation
The CATC USB Chief software is provided on two 3½ inch diskettes and requires
a Windows 95 (OSR 2.1), Windows 98, Windows 98SE, or Windows 2000
operating system.
Note The USB Chief program also operates on earlier versions of Windows 95 or
Windows NT (4.0) systems in a Trace View mode. That is, it may be used to view,
analyze, and print data that was collected and saved on another system.
There are different installations for Windows 95 and Windows 98/2000 because
of the difference in the Plug-and-Play drivers that automatically load when an
active USB device is detected. Use the diskette(s) appropriate for the operating
system on your computer.
Loading the USB Chief Drivers
Step 1Insert the USB Chief program floppy for your operating system labeled
Disk 1 of 2 into the a: drive.
Step 2Power-on the USB Chief Analyzer.
Step 3Connect the USB cable to the rear of the Analyzer and to the personal
computer.
The host operating system detects the Analyzer and begins to install the
driver.
Step 4Follow the installation instructions provided on your screen and insert
the USB Chief program floppy labeled Disk 2 of 2 into the a: drive when
prompted.
Note When Windows prompts you for a file, browse to the CATC floppy in the a: drive.
Installing the USB Chief Program
Step 1Insert the USB Chief program floppy into the a: drive on your computer.
Step 2Click Start.
Step 3Click Run.
21
Chief User’s ManualCATCVersion 1.7
Yo u s ee t he Run screen.
Step 4Click Browse.
Yo u s ee t he Browse screen.
Step 5Select the a: drive.
Step 6Click Setup.exe
Step 7Click Open.
YoureturntotheRun screen.
Step 8Click OK.
The CATC USB Chief Install Wizard automatically installs the necessary files to
the computer’s hard drive. USB Chief software is installed in the c:\ProgramFiles\CATC\USB Chief directory unless you specify otherwise. Follow the
installation instructions on your screen.
Making a USB Recording
After installation, the software is configured to make a one-Mbyte snapshot
recording of your USB traffic.
To make this recording,
Step 1Clickon the Tool Bar.
After 1 Mbyte of traffic is recorded, the Analyzer uploads the data and
displays the packets.
To upload and display less than one Mbyte of traffic,
Step 2Clickon the Tool Bar at any time before recording automatically
terminates.
When the recording session is finished, the bus traffic is saved to the hard
drive as a file named data.usb or whatever name you assign as the
default filename.
To save a current recording for future reference,
Step 3Select Save As under File on the Menu Bar.
OR
Clickon the Tool Bar.
You see the standard Save As screen.
Step 4Give the recording a unique name and save it to the appropriate directory.
22
Loading...
+ 103 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.