Home

CATC USB Chief Bus & Protocol Analyzer User`s Manual

image

Contents

1. Device Connection Detach e Attach Unplug Replug Internal Termination Ge Pole Toe Pole Host Connection C Detach Attach a detached host results in suspend Refresh Defaults Step5 Select Detach under Host Connection You must leave the Power and Connection window open while you generate traffic If you close the window the Power and Connection settings revert to the default the Host Connection is attached and you cannot generate traffic Generating Traffic Without a Device Connected You can generate traffic without having a USB device connected to the Analyzer After completing the steps above in the Power and Connection window Stepl Select Detach under Device Connection Step 2 Select D Pull Up under Internal Termination to record at Full Speed OR Select D Pull Up under Internal Termination to record at Low Speed Leave the Current Measure in the default OFF setting while generating traffic Opening a Traffic Generation File To open a Traffic Generation file Step1 Select Open under File on the Menu Bar OR u Click li on the Tool Bar 99 CATC Chief User s Manual Version 1 7 The Open File window appears Open Look in E LISB Chief Bee errors usb Es Sample Chan uzb Es S ampleL ata usb Be VisualElements usb Fieneme Files of type USE Chief Trace Files usb Cancel Step 2 For File of type select USB Chief Generator Text Files u
2. A E Search Direction Forward Data Length 0x87 Ox Error Data Pattern IAT AG Oxc3 0000 4D OE 2a Die 5E 06 3i Step2 Select the event you want to go to and enter the necessary information User Data 76 CATC Chief User s Manual Version 1 7 Packet IDs PIDs Search SET IT METE B Idle 00 11755 rame CRCS EGP Select the type of packet you want to go to Bus Conditions Go ho ST ET Sen Ga Idle 0 11735 Define the Bus conditions and speeds Addr amp EndP Search for Address amp Endpoint 1 lt all endpoints gt lt all endpoints gt lt all endpoints gt rin CATC Chief User s Manual Version 1 7 Select and search an address and endpoint combination from the recording You can also search only IN OUT or SETUP transactions Frame Search for Frame Search for a Frame by number search for all empty Frames or search for all non empty frames Data Length Search for Data Length Select and search data length in bytes from the recording 78 CATC Chief User s Manual Version 1 7 Error Search for the next error LI E m m L m L LI E a Select any or all of the listed error types b Click Search to find the first error To find subsequent errors c Select Find Next under Search on the Menu Bar from a Trace View OR Click v in the Tool Bar Data Pattern Sear
3. 1 Upgrade your Analyzer for Traffic Generation if you have not previously done SO 2 Verify that the Analyzer is configured for Primary channel recording 3 Physically disconnect your Analyzer from the up stream host connection 4 Reserve half the recording memory for downloading Generator Text Files Text File Format for Traffic Generation Input Traffic is generated from a Text file named utg Each packet definition consists of this set of assignments key value White space is permitted around the equal sign There are no restrictions on dividing packet definition to lines nor is it necessary to define each packet in a separate line although it is recommended e The characters and indicate end of line comments 1 e the rest of the line is ignored e No keys or values are case sensitive Each packet definition starts with one of these assignments e pid N where N is a string representing a valid packet identifier or an eight bit value OR e frame N where N is an eleven bit value of the frame number or the strings auto and keep alive 95 CATC Chief User s Manual Version 1 7 A bus condition definition starts with one of these assignments e file speed N where N is a string LOW e reset N where N is a positive integer or string suspend N where N is a positive integer resume N where N is a positive integer Subsequent assignments after a packet s starting assignment define the valu
4. Repeat Control Key wrap string Defines the point in the traffic flow where the traffic generator returns when running in repeat mode wrap here 97 CATC Chief User s Manual Version 1 7 Generating USB Traffic Generating USB traffic using the USB Chief Analyzer is a two step process First the traffic must be described in a free form textual format Once the text file input is complete the USB Chief application reads it in and generates the traffic on the USB bus The USB Chief generates on the same port as it normally records You do not have to change any cabling to record traffic the USB Chief generates USB Chief Menea Kino Secondary Record R cord amp Generate PWR REC TRG GEN Trigger Device EM MEO mm NE USB Scanner Generation A Traffic Generation file contains free form text and 1s named with a utg extension setting Up the Generator Before you can generate traffic you must assign memory and set power and connection parameters Step 1 Step 2 Step 3 Step 4 From the Setup menu select Recording Options Check Reserve Memory for Traffic Generation under Options on the Recording Options General settings window Click OK From the Setup menu select Power and Connection 98 CATC Note Note Chief User s Manual Version 1 7 The Power and Connection window appears Power and Connection m ES Device Power Curent Measure C ON OFF Voltage BAD
5. 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 3 3 3 3 3 3 3 9 3 frame auto pid SETUP addr 8 endp 8 idle 3 pid DATAB data 86 06 66 01 00 66 68 66 idle T0_EOF frame auto idle T0_EOF frame auto idle T0_E0F frame auto pid IN addr 8 endp 8 idle BYTES_IN_8 pid ACK idle T0_EOF frame auto pid 0UT addr 8 endp 8 idle 3 pid data1 data idle T0_E0F Start of Frame packet SETUP packet specify idle in bit times DATAG packet GET DESCRIPTOR eight byte Device should ACK next Add as many frames as necessary until th device is ready to respond empirical IN packet idle for eight bytes from deu Start of Frame packet OUT packet to handshake request zero by 3 HHH E 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 3 3 3 3 3 3 3 3 9 3 9 3 9 3 9 3 3 3 3 After knowing basic information from the GET DESCRIPTOR Device set the address with a control transfer SET ADDRESS g XXE CC JC JC CC JE JE JC JE JE JC C JE JE JE JE JE JE JE JE E J JE JE JE JE JE JE 3 JE JE 3 3 JE JE JE JE JE JE JE JE JE JE JE J JE E JE J
6. IM Hub Status Change Endpoint Address Ux04 Endpoint 0207 TM Address 0x05 Endpoint 0x03 IM Address 0x05 Endpoint 0 04 OUT Class Vendor Endpoint Decoding po Assign to Endpoint Keep Across Recordings Cancel Ampy Help The Endpoint field shows all the Endpoints found in the Trace file Displayed on the right are the names of Class Vendor Decoding that are currently assigned to Endpoints Step 11 To select an endpoint for which to assign or modify its Class Vendor decoding display the Class Vendor Decoding Groups drop down menu Request Recipients and Endpoints lt gt Class endor Decod Request Recipients Endpoints Endpaint lass Vendor Endpoint Decoding Address ODZ Endpoint 0x01 IN Hub Status Change Endpo Address 0403 Endpoint 0x01 IM Hub Status Change Endpoint Address 0504 Endpoint 0207 IN Address 0x05 Endpoint 003 TM Address 0405 Endpoint 0 04 OUT Class endor Endpoint Decoding EN Assign to Endpoint Ma Decoding Hub Status Change Endpoint Communication Class Notification Bluetooth HCI Event Packet Bluetooth ALL or SCO Data Packet Cancel Ampy Help Step 12 In the Endpoint field highlight an address Endpoint and Field Step 13 From the Class Vendor Endpoint Decoding drop down menu select the type of decoding you want 12 CATC Chief User s Manual Version 1 7 OR Select No Decoding if you don t want any specific dec
7. Recording Options x Event Groups M Token Patterns Frame Patterns Device Request OD ata Pattern Bus Conditions Errors External Signals PID Addr Endp n A Specify USB token events for tiggeringfiltenng Uncheck All Save Save s Default Load Cancel Version 1 7 When the BusEngine is configured for Secondary Recording these triggering options are changed in the display or are not available and appear faded e Token Patterns You may specify only one rather than the three permitted during Primary Recording 109 CATC Chief User s Manual Version 1 7 Device Requests Data Patterns Actions Recording Options When the BusEngine 1s configured for Secondary Channel recording this Actions option is not available Token Pattern Sequencing secondary Report Options secondary Recording File Information The Secondary Recording File Information report gives valuable information about the recording method the buffer settings the trigger options and the version of all the Analyzer hardware that was used to make the recording File Information Ea File name Sample Char usb Comment This trace contains a channel recording of a mouse above the h Secondary Channel Enabled during Recording Mumber of Primary packets 1880 Number of Secondary packets 1234 Trigger packet number Recorded with application version 1 20 Analyzer Serial N
8. 00 04 00 Setup Data Data stage 4 bytes Direction Deyice to host Port Status bits bytes 0 1 Type Class PORT CONNECTION Recipient Other PORT ENABLE zc LLL LL uu LLL LL LL PORT SUSPEND hRequest GET STATUS PORT OVER CURRENT PORT RESET wValue x PORT POWER PORT LOW SPEED windex For Port Port Change bits bytes Z 3 1 Length 4 C PORT CONNECTION Previous Done Decoding Vendor Requests C PORT ENABLE C PORT SUSPEND C PORT OVER CURRENT C PORT RESET Shown here is a sample GET_STATUS Hub Class Request Decoding a Vendor Request is the same as decoding a Class Request except that you use Vendor Request definitions rather than Class Request definitions 66 CATC Chief User s Manual Version 1 7 Decoding USB Requests USE Device Request Decode USB Request Decode Class Request k Request Recipients to lass Yendor Decoding Search for the next SETUP Packet Identifier Export Data When your Decoding request does not belong to any of the defined Decoding groups Standard Class or Vendor Select Decode USB Request from the Request menu You The USB Decode Request window appears USB Device Request packet 651 E Setup Data 43 00 00 00 Of 04 00 Data stage 4 bytes Direction Device to host ns 01 00 00 Type Class Recipisnt wWalue axpooo wlndex Oxoooz whength Previous 1 This window provides definitions for the individual fields of th
9. Al CATC Chief User s Manual Version 1 7 General Display Options Use the General Display Options to specify the basic appearance of a Trace View Zoom Level Adjustable in discrete increments from 10 to 200 percent Enable Tool Tips Select to enable tool tips with explanation text to pop up when you position your cursor over various fields in the Trace View No Wrap Inhibits carriage returns in packets when they exceed the width of the window Show Transactions Combines packets into individual transactions Show Transfers Combines transactions into individual transfers Hide Primary Shows only those Traces from Secondary Channel Recording Hide Secondary Shows only those Traces from Primary Channel Recording Time Presentation Select Show Time Stamp Idle Time or Idle in Bit Time End Of Packet Time Select Show Time or Show in Bit Time Error Scan upon Open Controls the scan for Babble Errors Frame Errors and Data Toggle Errors Display Configuration Name A Comment field associated with the opt file containing the current Display Options values You can also create and store your unique Display Options for future use To create a new Display Options file follow these steps Step 1 Enter a comment for the new file in the Display Configuration Name field Step 2 Click Save You see the Save As window Step 3 Specify a filename opt Step 4 Click Save 42 CATC Note Chief User s
10. Groups drop down menu select the decoding group you want to assign to the highlighted Recipient OR Select No Decoding if you do not want any specific decoding Step 6 Click Assign to Recipient The name of the selected decoding group appears next to the selected Address in the Request Recipient field Step 7 Click OK 70 CATC Chief User s Manual Version 1 7 Class Vendor Endpoint Decoding Some usb endpoints can transfer formatted data that is defined in various device class or vendor specifications USB Chief provides the same decoding capabilities for data sent on endpoints as for device requests You can define decoding for endpoints by adding EndpointData contruct to your req file see examples in hub req and bluetooth req To assign a Class Vendor Endpoint decoding follow these steps Step 8 Left click once in the packet s IN or OUT field to open the following menu fa theaheenctiony itt data Decode as Hub Status Change Endpoint Request Recipients to Class endor Decoding Search for the next IM Packet Identifier Export Data Step9 Select Request Recipient to Class Vendor Decoding 71 CATC Chief User s Manual Version 1 7 Step 10 Click on the tab marked Endpoints Request Recipients and Endpoints lt gt Class endor Decod Request Recipients Endpoints Endpoint Class endor Endpoint Decoding Address O02 Endpoint Ust Hub Status Change Endpoint Address 0503 Endpoint 0201
11. Including Idle EndP 4 Data Only Advanced Filtering Off Ww Setup Min M Out Iv Quality Handshake C NAK D ACK 0 075 Mbs 0 0060 Mbs 0 067 Mb s 0 042 Mbs 0 780 Mbs 0 716 Mb s Calculate Show Formulas Enter the necessary data to select the values to be calculated Click Calculate Measure Time from Marker You can make a quick measurement from a specific packet to any previously entered marker Step 1 Step 2 Step 3 Click on Time from Marker The All Markers window appears Packet tt 333 The top level hub reports a change on one of its ports Packet tt 338 The hub driver reads the status for the part and continues with the Packet 411 You can select Show Transactions in Display Options to see all the Packet 424 Click on a setup field to decode a request or to view change requ Packet tt 664 The system starts talking to the second hub Packet tt 8 4 The hub driver starts talking to the second hub Packet tt 358 The hub driver configures the second hub Packet tt 967 The hub driver powers up ports on the second hub Packet 1827 This Get Port Status request returns Low speed connection on m Cancel Select the Marker you want to measure to Click OK 53 CATC Chief User s Manual Version 1 7 Search for the next Within a Trace View you can search from one PID for the next occurrence of the same PID For example if you search from an SOF packet you are tak
12. Options Event Group to enable it as a Trigger You can enable or disable Trigger Inputs 0 through 4 from the Breakout Board These inputs may also be set as Active Low or Active High signals Note When you use the Active High setting the Analyzer internally pulls up the Trigger input signals on the Breakout Board Your External Trigger source should drive the input signal low before starting to record or the Analyzer immediately detects a Trigger Event because of the signal pull ups 116 CATC Chief User s Manual Version 1 7 The Main Display Windows While some of the Analyzer s Main Display window options are familiar many contain options specific to the Analyzer program Table 6 Main Display Pull Down Windows Cos Export Exports Packets to text Packet View Format Generator Text File Format and Data Display Options Provides the operator control of various display options such as color formats and filters Recording Options Gives the operator control and setup features associated with recording triggering events filtering events counting and sequencing Analyzer Allows the operator to reset the Analyzer or update the BusEngine and Firmware Power and Connection Provides setup of the device current and voltage measurement features Gives direct access to the upstream and downstream connections on the Primary Record amp Generate channel Traffic Generation Enables the optional Traffic Gener
13. SPARE IN 0 IN 1 IN 2 IN 3 IN 4 TRIGGER IN RESERVED 1 RESERVED 2 OUT 0 OUT 1 OUT 2 OUT 3 OUT 4 OUT 5 GATED P GATED M GND GND 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 000000000 GND Version 1 7 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 The Breakout Board connects via a ribbon cable to the Data In Out connector on the rear of the Analyzer box Four ground pins and one 5 volt pin are provided Each pin is isolated by a 100Q series resistor and a 74F244 inside the Analyzer box Setting Up the External Interface Breakout Board The Breakout Board Setup Window allows you to configure the External Interface Breakout Board To display the Breakout Board Setup Window follow these steps Step 1 113 Select Breakout Board under Setup on the Menu Bar The Breakout Board Setup window appears CATC Merlin Protocol Analyzer User s Manual Version 1 7 Breakout Board Setup y UY E mate c AGUIE LE Lo gt Lo Lo Lo gt Step2 Use the Breakout Board Setu
14. Setup on the Menu Bar Prototype Rework Area The Breakout Board contains a prototype rework area for making custom circuits for rapid development The area consists of plated through holes 9 columns wide by 31 rows long The top row of holes is connected to 5V and the bottom row is connected to GND The remaining holes are not connected Use the rework area to insert custom components and wire wrap their respective signal power and ground pins 115 CATC Merlin Protocol Analyzer User s Manual Version 1 7 Table 5 External Interface Breakout Board Pin Description Pin Signal Desripion SSS Le mo Tresor nal TT Input programmable as acne high orion s m3 Tresor nal TL impar programmable as active high orion S m3 isesi TTLinpur programmable as active high orlow BP CURRENT MEASURE Banana plug for optionally measuring the current of the USB Device I connected to the Record amp Generate port of the Analyzer BP CURRENT MEASURE Banana plug for optionally measuring the current of the USB Device 2 connected to the Record amp Generate port of the Analyzer n a 9 by 31 plated through Prototype rework area Top row connected to 5V Bottom row holes connected to GND Remaining holes are not connected You can use pins 6 10 on the Breakout Board as Trigger Inputs for the Analyzer from your hardware If you hook up any of these pins you must check the corresponding Trigger Input number in this Recording
15. USB Chief EN aa chief rbf chief s rbf File name Files af type use Chief BusEngine files rbF Cancel 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 Step2 Click Open It 1s 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 1 Click Upgrade Firmware on the Analyzer Setup screen The Select firmware file window appears CATC Chief User s Manual Version 1 7 Select the firmware file to download Look im E USE Chief chieffwi ihs File name Files of type use Chief Firmware Files ih Cancel The program has
16. already automatically searched for the correct file and displays it in the File name field Step2 Click Open The Analyzer upgrades the Firmware Step3 Unplug 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 CATC Chief User s Manual Version 1 7 To upgrade your Analyzer for Traffic Generation follow these steps Step 1 From the Setup menu select Traffic Generation The Traffic Generation Setup window appears Traffic Generation Setup Step 2 Inthe 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 CATC Chief User s Manual Version 1 7 CATC Chief User s Manual Version 1 7 Chapter 4 Detailed Installation System Features Third generation Analyzer backward compatible with Inspector and Detective Trace files Modular system architecture with field upgradeable firmware amp recording mel engine Fully USB version 1 1 compliant One year warranty and hotline customer support Expande
17. anywhere in the trace window and then left click on Show USB transactions You can also switch to Transaction View from the Menu Bar Step1 From the Setup menu select Display Options The Display Options General window appears Display Options x General Colors Formats Filters Zoom Level M Enable Tips Hide Primary IV No Wrap Hide Secondary Show Transactions Show Transfers Time Presentation End Of Packet Time C Show Time Stamp C Show Time C Show Idle Time Show in Bit Time Show Idle in Bit Time Error Scan upon Open Display Configuration Name car C default Save Save As Default Load Cancel Step2 Check Show Transactions Step3 Click OK Apply 59 CATC Chief User s Manual Version 1 7 View Decoded Transactions Once you set Display Options the Trace View screen is re drawn to display decoded transactions in the colors and format you selected Transaction F SETUP ADDR 1 7 R bRequest vwwalue windex wLength SENE oes 2 o F S F S D H Cfo oxoo exoooo oxooo2 4 SETUP ADDR CRCS EOP 00000001 oxes 2 o oxis 2 50 DATAO DATA CRC16 EOP f idle 00000001 oxcs As 00 00 00 02 00 04 00 E EOP Idle 00000001 11787 Frame CRCS EOP f Idle Transaction F 34 S os 2 0 F IN ADDR CRS EOP SL 00000001 oxse 2 o ots 200 F DATA 1 DATA CRC16 EOP J Idle IE F EOP Id
18. ar NK qr qund d arl EN ER qd vds 1 Chapter 2 Quick Installaton 2 2222 a a ewe DV SCR ER 3 seine Up the USB Chier Analyzer aa oa PRA es 3 Installing the USB Chief Software lesen 3 Making a USB Recording soe u a ORO Oe ES 3 Capturing Your First CATC Trace 6 neces 4 Trace View CAMUS on suma uuo YA COR ae ee eh Bale In ae 4 Chapter 3 Uperades 32 tie 7 S A OL ee a el ne ree eee E E are 7 BusEngine and Firmware Upgrades 0 0 0 0 ccc eens 8 Downloading New Code is ck doce eese x db gee ead ker 8 Upgrading the BusEngine 0 0 0 eens 8 Upgrading the Firmware ovs aed a bande na adn Peds HRs ana 9 Upgrading trom C mMef to Chief Plus xx ee UE SS 10 Chapter 4 Detailed Installation u oa a xe he 13 AS IA ed eee Fa ab Dal Red eee Ma A Rb Dal EQUUS 13 Recordinb FeabufeSo s d em Hed Esa Un dde oed d Ur de od a 13 System Components Packing List 0 0 2 cc eee 14 Stand Alone WIE siii ocd kin ek bae s 14 USBC Mef Syste Seu v stris E d bape Nox D ES Dae A 16 PRE OW EE 9 OUR CC ce testes tetas es erin aun ied aan A 18 External Interface Breakout Board 0 0 0 00 eee 19 POCO E GOD suu set soma a te lo do bale 19 Record amp Generate USB Poll area ia en ad oa 20 Secondary Record USB POIL ond scan dou T oem sto Tas e md 20 PC for Analysis Requirements 0 00 ccc ccc eee een 20 USB Chief Program Installation llli 21 Loading the USB Chief Drivers 0 0 0 0 cee
19. 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 4 3 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 Part number 730 0010 00 CATC Chief User s Manual Version 1 7 Chapter I Overview 5 aacen d vos e poo quae d
20. ees 21 Installing the USB Chief Programs esera ino neda tee eee P ooh oe 21 Makme a USB Recording 3 A A e ERES 22 USB Chief Program Startup o eens 23 Starting the USB Chief Program from the Desktop 25 Starting the USB Chief Program from its Directory 29 Software Firmware and BusEngine Revisions 0 000 c eee eens 24 Tool Tips and Context Sensitive Help 0 0 00 000 eee 24 Chapter 5 Recording Options 45 a daiene ii WESS 27 General Recording ODUOnS uoces ker deese oe Hoa aKa ek wenden cd 21 Record ns CY DG seele ea akt 21 ODON aaa y ea ts a Se ones 28 Bullet S2 id aa 28 UTN o A sacs Sy oum 102 d nube dra aerate Ge de dunt ae ee 28 OU ONG MAIC sos icu ae te aoe a cae Se Hien Ba A aaa eee aw nen EA 29 iii CATC Chief User s Manual Version 1 7 Trace File Name Path 2 2242 PEAUX RRR PES ES 29 Events Recordin OBHon8 esoo ETE A S VERAM S eee dG VERS 30 Packet Identifiers auriense a da RE Ege xd Eire Solas 30 Ns os fae EET T II 3l Frame APLC LING ente e SOR cee doth esr aded dcn a de stri A et 3l Device Requests ci e e e PALEIS y vto e PAL t 32 Data Patterson qe he ea diuo eod su rob due aod sul 33 Bus CONOS ea RE AAA CSIRO ace a vd 33 legis 538 ed Gree ata ata en ado une y er cios ins e a 34 External Sonae css 34 ZXCHORS RECON CODHODBS a 2 ave au aren doa iR UE a era ae eae 35 Using the Blue Dot Men s 224 2 reg 36 betunp External MSCS so
21. 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 Manual Detach SECH Onda eco HECONOES IG EMEA PWR REC TRG GEN Tigger Device ura ocoe LLEN USB Device The Record amp 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 The USB Chief Bus amp 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 C
22. hs A SP aL kes 55 Hide Packets and PICAS cra Pues Hee oa NEN IM REN e PI 56 Prom he TOOL DIE su sau o Pe Ai 56 From the User Defined Hide Window 0 cece eee eee 56 Switch to Transactions View 0 0c ccc eee eee teen nooo 58 iv CATC Chief User s Manual Version 1 7 View Decoded TransacuOns 443040204 ch NE ra d ae x o CR CR 60 Expanded and Collapsed Transactions 0000s 60 SWILCH TO Trauster VIEWS amis rr ARCU qe rd Sra pe e ee Seas bea CR qnn 61 WIEN DECO A MAS oleo vitoria 62 Expanded and Collapsed TransferS o oooooooooooooooooo o 63 Decoding of Protocol Specific Fields in Transactions Transfers 64 Chapter 5 Decode Requests u sau a PE RS CURVE yoke ee we Saw ek 65 Ge Metal ODUOBS osi radere one v facea d ee dide ar Aro UN 65 V SBER QUSE Lucae prat Sept dee Ufo og c P ono dea EUR og RUBRO d suit 65 Decoding C las COMICS EO our vuoi ae donor qi EE ee 66 Decoding Vendor Requests qeria a 66 Decodmo USB Requests picaro SEVERI ia ade 67 Decoding Class and Vendor Specific Descriptors 67 Creating a New Class or Vendor Definition File oooooooooo 67 Class Vendor Decoding Options vet AA AAA AAA 69 Request Recipient to Class Vendor Decoding o o ooooooo oo 69 Class Vendor Endpoint Decoding o ooooooooooooo eens 71 Chapter 9 Other Features ooa o EORR AA 75 SISTERE RENE ES TRU TETUER DEDIT TID ct Pree oe ee 75 GOtO THI
23. is mode less and stays on top allowing you to record and perform other operations Closing the Power and Connection window returns the settings to the default This ensures that you have more direct control over the connections in the hardware and do not mistakenly leave the power device or host disconnected To use the Analyzer with the connections in a non default setting leave the Power and Connection window open or minimized 84 CATC Chief User s Manual Version 1 7 Use the Power and Connection window to control these settings Device Power Current Measure When On the cable power towards the downstream connection is passed through the current measure terminals on the Breakout Board Voltage Detection Indicates good or bad voltage at the downstream connection The voltage must be at least 4 15V to indicate good Device Connection Detach Breaks the downstream connection Attach Reconnects the downstream connection Unplug Replug Simulates a two second detachment and reattachment of the downstream connection Internal Termination When the downstream connection is detached you can control an appearance of a device to the upstream host controller by terminating the bus inside the USB Chief D Pull Up Simulates a full speed device D Pull Up Simulates a low speed device Host Connection Detach The upstream connection is broken and proper termination is connected downs
24. the Expand Collapse Transfers menu to shift between expanded and collapsed views of a transfers Double click in the Transfer number field to toggle back and forth between collapsed and expanded views 63 CATC Chief User s Manual Version 1 7 Decoding of Protocol Specific Fields in Transactions Transfers When transfers or transactions are displayed the fields in setup transactions or control interrupt and Bulk transfers by default do not get decoded and are shown in hexidecimal values The exceptions are setup transactions and control transfers for standard USB device requests which are always decoded In order to show specific decoding for class and vendor specific device requests and endpoints you have to use the decoding association mechanism that is described in Chapter 9 on decoding When you have performed the association you will see the protocol specific fields of transfers and transactions decoded in the trace view 64 CATC Chief User s Manual Version 1 7 Chapter 8 Decode Requests General Options Commands are transferred on USB using special control transfers called USB Device Requests The Analyzer can decode Device Requests as they are defined in the USB specifications and various Device Class and Vendor specifications USB Request Each USB Device Request is sent using a Control Transfer Each Control Transfer starts with a SETUP transaction To decode a USB Device Request follow these steps l
25. the Menu Bar The Go to Packet window appears Go to Packet x Go to Packet Number uk Cancel Step 2 Enter the number of the packet you want to display J3 CATC Chief User s Manual Version 1 7 Note Step3 Click OK The Trace View is repositioned with the selected packet at the top of your screen Go to Marker To instruct the Analyzer to display a marked packet follow these steps Step 1 From the Search menu select Go to Marker to display the drop down menu listing the marked packets in that Trace View View Window Help Go to Trigger nl amp Goto Packet mm l i Go to Marker Packet 239 Mark here E eg Eind Packets I inn E isla EEU Find Next E Search Direction Forward Step 2 Select the desired packet from the displayed list The Trace View is repositioned with the selected packet at the top of your screen The Go to Marker feature functions in conjunction with the Set Marker feature The comments within the parentheses following each marked packet are added or edited with the Set Marker feature Please refer to Set Marker in Reading a CATC Trace Go to The Go To feature takes you directly to an event in a Trace Step 1 From the Search menu select Go To under Search ocol Analyzer SampleData usb CATC default EE view Window Help Goto Trigger Goto Packet Goto Marker ld Goto I i P k Em Pii Find Next F3 ra ME Jl
26. traffic Start Traffic Generation To instruct the USB Chief Plus Analyzer to begin generating traffic Step 1 Open a Traffic Generation file Step 2 From the Generate menu select Start Traffic OR Click on the Tool Bar The Analyzer downloads the generation stream to the unit and then begins transmitting on the USB Traffic is generated on the primary Record amp Generate port sequentially as defined in the traffic generation view If your Generator Text File is large or has lengthy bus conditions a progress bar displays the status of the download When the generation reaches the end of the view the traffic stops Repeat Mode To instruct the Analyzer to continue to generate traffic until you stop it manually Select Repeat Mode under Generate on the Menu Bar OR Click a on the Tool Bar Stop Traffic Generation To instruct the Analyzer to halt traffic generation e Select Stop Traffic under Generate on the Menu Bar OR Click on the Tool Bar Examples of utg files are included with the software and are located in the installation directory 102 CATC Chief User s Manual Version 1 7 Sample Generator File Enumeration utg F3 3 3 3 3 3 HEH 3 3 3 3 3 HH 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3E E E EE EE EE EE EXE
27. upload and display less than one Mbyte of traffic Step2 Click m on the Tool Bar at any time before recording automatically terminates When the recording session 1s 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 CATC Chief User s Manual Version 1 7 To save a current recording for future reference follow these steps Step 3 Select Save As under File on the Menu Bar OR Click on the Tool Bar You see the standard Save As screen Step 4 Give the recording a unique name and save it to the appropriate directory Capturing Your First CATC Trace Packet F Frame CROCS EOP NAK EOP Idle 00000001 1 167 us 991 792 us PRE Idle 00000001 6 417 us IN ADDR CRES EOP J 00000001 0x96 4 1 Oxt9 1 333 us NAK EOP Idle 00000001 1 167 us 951 000 us Frame CRCS EOP ldle 997 063 us 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 detail
28. while the display 1s set to show USB transactions the program displays a warning to alert you that the exported text will be of packets only and not transactions Setup Record Generate Report Search View Window Help Open Ctrl O Save Ag Print Ctrl F E Print Preview Print Setup Frame CRCS EOP Export Packets ta Text Packet View Format Packets ta leet eneraton lest Ele Eommat Edit Comment 1 Sample2Chan ere 2 VisualElements 3 SampleTrace 4 SampleD ata 5 Enumeration Hak Ear AA Exit 108 CATC Chief User s Manual Secondary Setup Options General Recording Options Recording Options X General Events Actions Recording type ptions en Truncate Data Fields to 8 Bytes Beep When Trigger Occurs Save Extemal Interface Signals Event Trigger Reserve Memory for Traffic Generation C Manual Trigger Buffer Size 64 MB Max Trigger Position 0 500 MB Not used with snapshot Options name Defaut Trace Filename amp Path Save Save As Default Load Cancel When the BusEngine is configured for Secondary Channel recording these recording options are not available and either appear faded or are changed in the display e Truncate Data Field to 8 Bytes Reserve Memory for Traffic Generation Buffer Size reduced to 64MB max per channel Events Recording Options
29. 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 49 CATC Chief User s Manual Version 1 7 Each row numerates labels and color codes a USB packet PIP NAK EGE Idle bh 00000001 1 167 us 991 792 us E Frame Jl p 00000001 1185 1 333 us PRE Idle A 00000001 6 417 us IN ADDR CRC5 EOP Idle 7 00000001 ox9s 4 1 0x19 1 333ps 2 833 us J E NAK EOP Idle T 00000001 1 167 ps 951 000 us o 4 Frame CRES EOP Idle 00000001 OxA5 1186 OxOC 1 337 s Over sampled EOP Time stamp appended to each packet Filtered traffic is displayed as a gray line 997 063 u Specifies speed packet transmitted Indicates a marked comment is set Set Marker Note The Set Marker works in conjunction with the Go to Marker feature You can define a unique Marker for each packet To place a marker on a packet Step1 Left click on Packet for the packet you wish to mark You see the Packet menu mu E BEI ETE Set Marker EGP E Idle Yew Raw Bits Ti F Ti Frame CROCS EOP f idle Ime From ngger Time From Marker AS Step 2 Select Set Marker Mark packet 401 enter optional marker comment x OF Cancel Step3 In the Edit Marker Comment w
30. 1 1 0 1 1 0 Next Stuff Bit Next Stuff Bit Error Note You can also display the Raw Bits View by double clicking on Packet Along the top of the Raw Bits View is a linear strip of the logical bit values with corresponding field demarcations Bit stuffing is displayed in color Below the logical bit values is a representation of the D D signaling complete with NRZ encoding A scroll bar assists in navigation of larger packets Two buttons below the scroll bar Next Stuff Bit and Next Stuff Bit Error are used to find bit stuffing in larger packets Note Due to a limitation with Windows 98 and Windows 95 the Raw Bits View is limited to roughly the first 100 bytes Measure Time from Trigger You can make a quick measurement from a specific packet to the Trigger Position To measure from a packet Step 1 _ Left click on Packet for the packet you want to measure 418 Packebi ais s I 2 o ets A1 DATA ae EOF Idle Set Marker View Raw Bits Idle Time Fram Trigger Time Fram Marker Step2 Select Time from Trigger 52 CATC Chief User s Manual Version 1 7 The Timing and Bus Calculations window appears Timing and Bus Usage calculator ie Ea Step 3 Step 4 From packet Topacket 500 TOTAL TIME 00 307 ms Time Usage Bandwidth Bus Utilization M Global Iv Low Speed Iv Full Speed Y Transactions w o Idle Including Idle I Device dec w o Idle Addr 3
31. 3 ENAME Enumeration utg right C 1999 Computer Access Technology Corporation CRIPTION his is an example file for traffic generation on a USB Chief Plus In this example an enumeration is carried out with a device Note how proper lelays are used to handshake with the device IISION HISTORY HJUN99 First created hjb SHIEH 3E 3E 3E 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 3 t3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 wm a bus reset and then SOFs for 18msec H3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 88808 idle 1008 18 nilliseconds standard reset u
32. BusEngine window appears Select the Secondary Channel Bus Engine file to download Look in E USB Chief d a chief s rbl File name Files of tupe use Chief BusEngine files chiet s rbf Esnez Note The most current Primary BusEngine file chief rbf Secondary Channel BusEngine file chief_s rbf and the Firmware file chieffw ihx are copied to your CATC USB Chief directory by the Setup program The program has already automatically searched for the correct file and displays it in the File name field Step3 Click Open Once again you see the Secondary Recording Channel window The Analyzer takes approximately 15 seconds to reinitialize with Time Remaining displayed on the screen When you have completed your settings and made a Secondary Channel Recording you see the Secondary Channel Recording Trace View CATC USB Chief Bus and Protocol Analyzer Sample2Chan CATC default File Setup Record Generate Report Search View Window Help lj x sjaj XE elo aja e ol v v Bla el B IN ADDR CRC5 EOP f idle L CRCS EOP J Idle 90000001 xut mE 0x04 3 C JL3 E 4 OP Frame CROS EOP Idle Frame CROS EOP Idle b For Help press F1 Primary Fwd 106 CATC Chief User s Manual Version 1 7 Secondary Recording Main Display Window When configured for secondary recording the USB Chief program s main display includes additional or modified items under th
33. Computer Access Technology A v Corporation 2403 Walsh Avenue Santa Clara CA 95051 1302 Tel 1 408 727 6600 Fax 1 408 727 6622 CATC USB Chief Bus amp Protocol Analyzer User s Manual For USB Chief Software Version 1 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 Copyright Copyright O January 2001 Computer Access Technology Corporation CATC AII Rights Reserved 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
34. Data dialog box from the Trace View Step1 Left click once in the packet s IN or OUT field One of these menus depending on whether you clicked on IN or Out appears Racker AGentiter EM Search for the next IM Packet Identifier Export Data Fackerlndenthen Bild Search for the next QUT Packet Identifier Export Data Step 2 Select Export Data Reports The Report menu provides several reports to assist you in analyzing USB traffic recorded by the Analyzer File Information To display a File Information report From the Report menu select File Information OR Click Ez inthe Tool Bat The File Information window appears 89 CATC Chief User s Manual Version 1 7 File Information ES File name SampleD ata usb Comment This iz a recording of a connection of a hub with a keyboard and he Number of packets 35681 Trigger packet number 398 Recorded with application version 1 11 Analyzer Serial Number 0004 Traffic Generation enabled Firmware version 1 03 ROM 1 02 BusEngine version 1 11 Number of markers 22 Recording Options Options name Default Recording made Use Trigger Buffer size 0 60 ME Post trigger amount 99 x of the buffer Original file name data usb Recording Events Save As The File Information report provides valuable information about how the recording was made what the buffer settings were what the trigger optio
35. E JJ JE 3 J JE 3 3 E 3E E3C3 frame auto pid SETUP addr 8 endp 8 idle 3 pid DATAB data 66 65 62 66 66 66 66 66 idle T0_EOF frame auto idle T0_EOF frame auto idle T0_E0F Start of Frame packet SETUP packet specify idle in bit times DATAB packet SET_ADDRESS eight bytes Device should ACK next Add as many frames as necessary until th device is ready to respond empirical 4 103 CATC Chief User s Manual Version 1 7 104 CATC Chief User s Manual Version 1 7 Chapter 11 Secondary Channel Recording Note USB developers have been faced with the challenge of accurately capturing and analyzing USB traffic on each side of the hub Setting the triggering mechanism to capture equal sections of USB data on both sides of the hub and attempting to correlate the packets from these two sets of data has been an extremely complicated but necessary task in order to analyze upstream and downstream traffic The addition of a Secondary Recording Channel allows developers to record bus traffic simultaneously on two USB branches CATC s USB Chief Analyzer analyzes the traffic from both channels and presents the analysis in a unified view verifying that USB traffic is being routed upstream efficiently and accurately Peripheral developers can use Secondary Channel Recording to verify proper operation of their designs while connected directly to the host or through a hub thus assisting designers in debuggin
36. Manual Version 1 7 Color Display Options Step 1 Click the Colors tab on the Display Options window Display Options LX General Colors Formats Filters PID Types CRCs Packet amp CRC5 CRCIE DATAO Addressing j Packet e Bus Conditions Framing Sw NAK Data Other STALL Invalid Data Save Save As Default Load Anp Cancel Step 2 Use this menu to customize the colors associated with each field in the Trace View You can experiment with this option to achieve the color combination best suited to a particular graphic system A brighter color might be appropriate for a specific field that should stand out in the display e g the PID Types The color of an Invalid Data packet error field cannot be changed it 1s permanently set to red Two color fields are provided for packet number displays to differentiate between pre Trigger traffic and post Trigger traffic The packet that causes the Trigger and all the packets before it are colored with the color The packet that follows a Trigger is colored with the color All packets are colored with a color when there is no Trigger Use the color buttons labeled and under the Packet section of the Colors screen to select a Trigger color To select or change a color follow these steps Step1 Click the appro
37. N This is the request file for USB Hub deuice class This file is prepared as per the Specification Revision 1 8 REVISION HISTORY File Created mp 27MAY99 Added description for the requests ag K k K Kk EEK TIT HH 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 3 3 3 9 3 3 3 3 3 3 3 3 3 3 9 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 y EEEE JEE JE JE JE E C 3 EE E E EE E JE 3E EE C EE E JE 3 JEJE E 3 JEJE E JE JE E E JE 3 JE E E 3 JE E E 3 JEJE E 3 3E E E 3 3E E E 3 EE 9 3 Specify the name for this set of requests as GroupName This name is listed under Decode Uendor Class Request menu depending on the GroupType specified and the Type field of the request you are trying to decode y ECC 3C CE 3E C 3 E EE E EE C EEE EE JEJE E 3 3 JEJE E JEJE E JEJE E 3 JE E E 3 JE E E 3 3E E E 3 3E E E 3 3E E E 3 EE 9 3 GroupName Hub Class GroupType Class ClassCode 6x 69 AllRequests 8x88 GET STATUS 6x 61 CLEAR_FEATURE 8x82 GET STATE 6x 63 SET_FEATURE 6x 64 Reserved 6x 65 Reserved The Analyzer also includes a sample of a Vendo
38. REAKOUT BOARD REY 1 0 CATC 1999 GND 5 GND 000000000 45y zes 200000 TRIGGER OUT SPARE IN 0 IN 1 IN 2 IN 3 IN 4 TRIGGER IN RESERVED 1 RESERVED 2 tttttt MH OUT 0 OUT 1 OUT 2 OUT 3 OUT 4 OUT 5 GATED P GATED VM GND 000000000 GND GND A444 O O O O D O O O O o O O O O 0 O O 0 o O O USB CURRENT MEASURE 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 100Q 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 CATC USB Chief o Note Note Chief User s Manual Version 1 7 Record amp 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
39. S Oo TC 75 Goo PI lt oco ee a ad ue 75 GOON A ee een ern 76 BO age hh Rae eee Paar U PAS RI 76 A a Ma u ea u E ent 80 PANA ad a a a aba cd 83 iia CO s esas cetera ee ae ed eee 83 Right Click Shortcuts Window 1 0 0 ccc aaaea 84 Power and Connection Settings 0 0 cette eens 84 EIER OUIBOBE 5 42 a5 d 8 sd dn anid bo godt ba Ure leere 85 EXPO PACKS zu Bond dc hung hk AS REESE d PRU SR 86 Packets to Text Packet View Format ooooooooooooooooo oo 86 Packets to Text Generator Text File Format ooooooooo 87 Data mer 88 Alternate Access to the Export Data Window o oooooooo oo 89 lise RTT 89 Pile InfOffdblOll easair ea be CS AO Aue TP ERA e 89 Emor UH dye tad do RR a an he USA Gus SERE a abb cg Node dias 90 Timing and Bus Usage Calculator 0 20 00 00 cee eee 92 Transact on SUMIMALY s vds goddess ehe 92 Chapter 10 Traffic Generation Host Emulation eee 95 Preparing the USB Chief for Traffic Generation o ooooooooooooooooooo 95 Text File Format for Traffic Generation Input 95 Generating SB Ir llie nas v oe Be ae Ped a E 98 CATC Chief User s Manual Version 1 7 Seting Wp the Generator cue ced acs e tpa CR SCR lar d SCR UE CER 98 Generating Traffic Without a Device Connected 99 Opening a Traffic Generation File o ooooooooooooo 99 Expor dmo 3 Traftie Generation ll
40. SS 115 Prototype Rework Area 0 0 es 115 The Mam Display WNdOWS ox 2 2 a2 dera 117 VIEW OODUDEHS wu ken a o tU Mec cena M P CELUM OU 118 TOOLS e dedo drm O d ptem EE d put rts 119 SAL SED Al pame hel bk Or nae n d Fe EROS HE RE ets CHE ei a 119 Recordin Prostess za Es 2873 a an A Notkerus 120 Recording SUAS ee oar ane si AU aa gen 120 FRE COATING CIVIC nes aod dae baberi a Subs eR al Perge deg 121 Search SPI Suas ctekadeuerd ne pU CES RE eae CERE EM Li 121 DOOM esse wre edat to oen d a RE ate pen e darte a oes en ae end td cee 121 LOQUE ed are Sos en d dede ee 122 INO ID ch auoarie ee fnt denas dre eatery frt deuote atten eae 122 Hide Devices sacado io 122 vi CATC Chief User s Manual Version 1 7 USB Chief Key board Shortcuts s o c r9 RE AE OR EYE a 123 Howto Contact C A DIC iios ew A C i CR ia 125 Warranty and License is aii ii esse es oe ae end 125 Vil CATC Chief User s Manual Version 1 7 viii CATC Chief User s Manual Version 1 7 Chapter 1 Overview The CATC USB Chief Bus amp 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 958 OSR 2 1 Windows 988 Windows 98SE and Windows 2000 environments The USB Chief Analyzer co
41. an 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 e Connect to the personal computer via USB Connect the USB host and the device being analyzed to the Record amp Generate USB port AC Power Source Step1 Connect the Analyzer box to a 120 volt or 240 volt supply using the provided power cord The Analyzer is capable of supporting supply voltages between 100 volt and 240 volt thus supporting all known supply voltages around the world Step2 Use the power switch located on the rear panel to turn the Analyzer unit on and off 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 CATC Chief User s Manual Version 1 7 External Interface Breakout Board CATC USB CHIEFPCB B
42. ansactions Show Transfers End Of Packet Time Show Time Show in Bit Time Time Presentation C Show Time Stamp C Show Idle Time Show Idle in Bit Time Error Scan upon Open Display Configuration M ame care default Save Save 4s Default Load o Apply Cancel Step 2 Check Show Transfers Step 3 Click OK View Decoded Transfers Once you set Display Options the Trace View screen is re drawn to display decoded transfers in the colors and format you selected CATC USB Chief Bus and Protocol Analyzer SampleD ata usb CATE default File Setup Record Generate Report Search View Window Help sa Djs e 7 ejer seres Ef Frame CRES EOF 5 Control ADDR bRequest windex Port Status bits Por ser 2 o GEr_staTUS ForPort 2 oooo0000100000001 0000 Frame CROCS EQF Frame CROCS EQF Frame CROCS EQF Frame CRS E Control ADDR bRequest windex Port Status bits Por ser 2 o seT_sT Tus For Port 2 0000000100000004 0000 Frame CRCS EOP f idle For Help press F1 Search Fwd 4 When you instruct the Analyzer to display USB transfers the components of each transfer are collected from the current recording and are grouped below each decoded transfer Each transfer row shows a transfer with a unique numeration a label and color coded decoding of important data 62 CATC Chief User s Manual Version 1 7 Expanded a
43. ared e Ifthe recording resulted from a Trigger Event the first packet following the Trigger or the packet that caused the Trigger is initially positioned second from the top of the display e Ifthe recording did not result from a Trigger Event the display begins with the first packet in the traffic file Recording Activity During recording the third segment of the Status Bar displays e The current recording speed FS full speed or LS low speed Recording activity The larger the number of vertical bars displayed the greater the amount of activity being recorded If there are no vertical bars there is no recorded activity During uploading this segment displays the percent of the upload process completed If packets are filtered from the recording or data are truncated the recording activity is reduced Search Status The rightmost segment displays the current search direction Fwd forward or Bwd backward Zoom In Zoom In increases the size of the displayed elements allowing fewer but larger packet fields per screen 121 CATC Merlin Protocol Analyzer User s Manual Version 1 7 Select Zoom In under View on the Menu Bar OR Click ER on the Tool Bar Zoom Out Zoom Out decreases the size of the displayed elements allowing more but smaller packet fields per screen Select Zoom Out under View on the Menu Bar OR Click cp on the Tool Bar No Wrap Select No Wrap to adjust the Trace Vie
44. ation capabilities in the USB Chief physical unit Secondary Channel Allows the user to switch between Primary only or additional Secondary channel setups Breakout Board Displays the Breakout Board control screen for configuring the use of the various available signals Record Causes the Analyzer to begin recording bus activity Causes the Analyzer to stop recording Unplug Replug Momentarily disconnects the device on the primary Record amp Generate port This is the same operation as pressing the Detach Device button Start Traffic Causes the Analyzer to start or stop generating traffic as defined in the open Traffic Stop Traffic Generation file Repeat Mode Continually generates traffic by repeating the current Traffic Generation file 117 CATC Merlin Protocol Analyzer User s Manual Version 1 7 File Information Details such information about the recording as number of packets and triggering setup Error Summary Summarizes the errors throughout the recording Allows for fast navigation to packet with errors Timing Calculations Calculates timing and bus utilization via packets From To Time Low or Full speed Address Endpoint etc Transaction Summary Details how many transactions were transferred throughout the recording Search Find Offers a more general find setup for search specifications direction and origin Find Next Repeats the previous Find operation Search Direction Toggles the sear
45. ch direction through the recording between forward and backward Switches display of the Tool Bar on or off Switches display of the Status Bar on or off Increases the size of the displayed elements Decreases the size of the displayed element No Wrap Inhibits carriage returns in the middle of packets when they exceed the width of the window Use the scroll bar to see the whole packet Hide Devices Provides a convenient way to display in the packet view only the address endpoint combinations the user is interested in viewing View Options The View feature in the Menu Bar allows you to Control the display of the Tool Bar and the Status Bar Control the display magnification e Select how a long packet wraps 118 CATC Chief User s Manual Version 1 7 Tool Bar ag X ro 7 aja Fe Elo S Bla el The Tool Bar provides quick and convenient access to the most popular USB Chief program functions Tool tips briefly describe the functionality of each icon and menu item as the mouse arrow is moved over the icon item Open file H Zoom In Fi Save As zi Zoom Out E i En Setup Record Options Hide Start Of Frame a Setup Display Option Bar Hide Nak Handshake REL Start Recording Hide Packets Dl Stop Recording File Information Report u y Unplug Replug o Error Summary T Timing Calculations Start Stop Traffic Ps Find Packets tal Repeat Mode ya Find Next Print Status Bar The Status Bar i
46. ch for Data Pattern Search for a pattern of up to ten hex bytes in data 79 CATC Chief User s Manual Version 1 7 Device Request Specify pattern 1 for USB device request X XXXXXXX XXXXXX XXXXXX XXXXXX XXXXXX XXXXXX ad b4 bi bd bj b XXXXXX X XXXXXXX i a Enter information in binary 1 e 1 or 0 b Enter X when you don t care about the binary value c Enter Mask and Match values in hexadecimal When selecting a hexadecimal value take care to select values so that a 1 bit equals a care value d Click OK when you have completed editing these values User Data Search for External User Data Select a Value or Don t Care for the first four External User Data signals from the Breakout Board Find The Find feature allows you to set complex search criteria for finding a specific event Step 1 Select Find under Search on the Menu Bar OR Click w in the Tool Bar 80 CATC Chief User s Manual The User Defined Find Events window appears User Defined Find x General Events Event Groups Bus Conditions Token Patterns IFrame Patterns Data Patterns Device Requests Version 1 7 Step2 Use the Events options to designate specific packets you want to search for While the setups for most of the options in the Event Groups window are easily understood the Token Patterns option is a bit more compl
47. configured to make a one Mbyte snapshot recording of your USB traffic To make this recording Step 1 Step 2 Step 3 Step 4 Click REC on 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 Click on the Tool Bar at any time before recording automatically terminates When the recording session 1s 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 Select Save As under File on the Menu Bar OR Click on the Tool Bar You see the standard Save As screen Give the recording a unique name and save it to the appropriate directory 22 CATC Chief User s Manual Version 1 7 USB Chief Program Startup You can start the USB Chief program from the Desktop or from the installed directory The program always begins with its main screen active ES CATC USB Chief Bus and Protocol Analyzer File Setup Record Generate View Help Su Ze o 75 M3 ole Elo El For Help press Fl Search Forward 7 The software may be used with or without the Analyzer box When used without an Analyzer box attached to the computer the program functions in a Trace Viewer mode to view analyze and print captured protocol traffic Files created with the CATC Detective and CATC Inspecto
48. ctual USB traffic Shorter USB packets yield a less efficient recording The non traffic portion of physical memory is utilized for control and timing information The scale is not linear and affords more granularity in the smaller buffer sizes Trigger Position You can adjust the amount of recording to be done post Trigger or select where you want the Trigger located within the defined buffer You can adjust the Triggering Position between land 99 post Trigger Trigger Position is available only when Manual Trigger or Event Trigger is selected as Recording type As an example if the buffer size is set to 16MB then for the following Trigger Position settings the amount of pre and post Trigger data is 95 post triggering 0 8MB pre trigger 15 2MB post trigger 28 CATC Note Chief User s Manual Version 1 7 e 75 post triggering 4MB pre trigger 12MB post trigger e 50 post triggering 8MB pre trigger 8MB post trigger e 25 post triggering 12MB pre trigger 4MB post trigger e 5 post triggering 15 2MB pre trigger 0 8MB post trigger When a Trigger occurs recording continues until the post Trigger amount of the buffer is filled Options name This field displays a comment associated with the rec file containing the current Recording Options values You can also create and store your unique Recording Options for future use To create a new Recording Options file follow these steps Step 1 Enter a comment for t
49. d 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 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 tu
50. d views of a transaction Double click in the Transaction number field to toggle back and forth between collapsed and expanded views Switch to Transfer View A Transfer is defined in the USB specification as one or more transactions between a software client and its function USB transfers can be one of four kinds Control Interrupt Bulk and Isochrononous USB Chief is capable of displaying all four types The default display mode is Packet View Before you can view decoded transfers you must switch from Packet View or Transaction View to Transfer View To select Transfer View Step1 Right click from anywhere on the Trace View screen You see this drop down menu Display Options Show USE transactions Show USE transfers File Information Error Summary Timing Calculations Step2 Select Show USB transfers The Trace View screen is re drawn to display Transfers Selecting Show USB transfers adds a checkmark next to this menu item If you want to return to Packet View open the menu and reselect Show USB transfers This action will remove the checkmark and return the display to Packet View You can also switch to Transfer View from the Menu Bar Step 1 From the Setup menu select Display Options 61 CATC Chief User s Manual Version 1 7 The Display Options window appears General Colors Formats Filters Zoom Level MW Enable Tips Hide Primary Iv No Wrap Hide Secondary Show Tr
51. e Request and the returned data Decoding Class and Vendor Specific Descriptors The decoding of Descriptors is organized in a way that is very similar to the decoding of Requests The Definition text files for Descriptors have a dsc extension All Definition files are listed in the descriptors Ist file Please refer to the set of dsc files provided by CATC for examples of how to add Descriptor Decoding files to the application Creating a New Class or Vendor Definition File Decoding for a set of Class or Vendor Requests is defined in a special text file with a req extension The Analyzer currently has Decoding Definition files for e Standard Requests standard req 67 CATC Chief User s Manual Version 1 7 Hub Class hub req e HID Class hid req e Printer Class printer req e Communications Class communication req e Audio Class audio req e Bluetooth USB HCI commands and events bluetooth req The file shown below hub req is an example of one of the Request decoding groups supplied with the USB Chief software 3XX3 X3OOIXCCXC IE TE IE TE 3 0 3 3 0 3 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 3 FILENAME hub req Copyright C 1999 Computer ficcess Technology Corporation DESCRIPTIO
52. e pull down menus Table 4 Secondary Recording Pull Down Menus Menu Function File Export Export Packets to text Packet View Format only Search Techn Togas the search between te Primary and Secondary channels In addition several of the standard Analyzer functions are modified to account for the presence of data recorded on the Secondary channel Secondary Recording File Options Save As When the BusEngine is configured for Secondary Channel Recording you can indicate whether the first and last packets were recorded from the Primary or the Secondary channel while you are saving a packet range Save As Save in 3 USB Chief E Bie errors m Sample2Chan em SampleData ES SampleT race Bi VisualElements File name Save as type use Chief Trace Files usb Cancel C All v Do not save hidden packets Save packet range Reneme original file faster From o Iv Ss To 1879 is 107 CATC Chief User s Manual Version 1 7 Print When the BusEngine is configured for Secondary Channel Recording you can indicate whether the first and last packets were recorded from the Primary or the Secondary channel when specifying a range of packets to print From Packet ip M 5 To Packet 1879 TS Export You can export packets only in the Packets to Text Packet View Format while the Analyzer 1s set up for Secondary Recording If you attempt to export packets to text
53. ect either All Start of Frame packets SOF to be filtered out or specify the Frame Number of a frame to trigger on General Events Actions Event Groups Packet Identifiers Token Patterns Device Request Data Pattern Bus Conditions JErrors External Signals All Start Of Frame packets Frame Number Uncheck All Filter all SOF s or trigger on a Frame Number 31 CATC Chief User s Manual Version 1 7 Device Requests Step 1 Select Device Request under Event Groups Packet Identifiers Taken Patterns Frame Patterns MOevice Request OD ata Pattern Bus Conditions Errors External Signals Step2 To define a pattern for the USB setup transaction data phase click Edit The Specify pattern for USB Device window appears Specify pattern for USB device request XX XXX XX oo 00 _ oo 00 00 00 00 00 00 00 _ oo 00 00 00 00 00 Step3 Alter the pattern either Bit by bit or through the use of hexadecimal Mask and Match values 32 CATC Chief User s Manual Version 1 7 Data Pattern Step 1 Select Data Pattern under Event Groups General Events Actions Event Groups Packet Identifiers Taken Patterns Frame Patterns Device Request Uncheck Al Specify up ta 8 consecutive data bytes for triggering Step 2 Define a Data Pattern with a leng
54. ed for one year from the date of first purchase The CATC software is licensed for use on a single personal computer The software may be copied for backup purposes only v This warranty covers all defects in material P N K or workmanship It does not cover accidents misuse neglect unauthorized product modification or acts of nature Except as expressly provided above CATC makes no warranties or conditions express implied or statutory including without limitation the implied warranties of merchantability and fitness for a particular purpose CATC shall not be liable for damage to other property caused by any defects in this product damages based upon inconvenience loss of use of the product loss of time or data commercial loss or any other damages whether special incidental consequential or otherwise whether under theory of contract tort including negligence indemnity product liability or otherwise In no event shall CATC s liability exceed the total amount paid to CATC for this product CATC reserves the right to revise these specifications without notice or penalty 125
55. ed branch NOTE The default file speed is FULL Use this setting only when you want to change the file speed setting to LOW Assign a positive integer to this key that indicates the number of microseconds that single ended zeros SEO are driven onto the bus This key can also be assigned the string LS_EOP to drive two low speed bit times of SEO followed by one bit time of J Assign a positive integer to this key that indicates the number of microseconds of idle and suspend after the previous packet e g for ten milliseconds of suspend the key should equal 13000 Note that suspend begins after 3 milliseconds of idle Assign a positive integer to this key that indicates the number of microseconds of K driven onto the bus For a proper resume sequence this should be followed by the condition reset LS_EOP speed LOW Keys for Packet Fields speed Assign the string LOW or FULL The default value is full speed addr Assign a value for the address field endp Assign a value for the endpoint number field data aa bb Assign data bytes for the data field Use this syntax data 12 34 56 78 90 AB CD EF DC 13 40 78 11 CA 70 65 You can wrap bytes of the data field to the next line 96 CATC Chief User s Manual Version 1 7 Key Code Format Description 5 bits Assign a value for the cre field The default value is the correct cre calculated for or the packet and can be set by not specifying this fie
56. ed 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 CATC Chief User s Manual Version 1 7 Each row numerates labels and color codes a USB packet Er Packet amp NAK EOP Idle eh 6 00000001 1 167 us 991 792 us J E Frame Ji v J 00000001 1185 1 333 us O b PRE A J 00000001 IN ADDR CRC5 EOP Br 00000001 1 333 us J 2 NAK EOP BIE 9 00000001 1 167 us 951 000 us u 4 Frame CRCS EOP Idle l 00000001 1186 ox0c 1 33y us 997 063 u Over sampled EOP Time stamp appended to each packet Filtered traffic 1s displayed as a gray line Specifies speed packet transmitted Indicates a marked comment is set CATC Chief User s Manual Version 1 7 CATC Chief User s Manual Version 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
57. ef Firmware Version 1 00 BusEngine Version 1 00 Unit Serial Mumberl 00 Note The About USB Chief screen details revisions of the following software and hardware e USB Chief Software Version Shown here is USB Chief exe application run under Windows USB Chief Firmware Version Shown here is the Boot ROM Version BusEngine Version Shown here is Version 1 30 Unit Serial Number Indicates that traffic generation is enabled When contacting CATC for technical support please have available all the revisions reported in the About USB Chief window Tool Tips and Context Sensitive Help Throughout the application tool tips and context sensitive help provide useful information To display a tool tip Step1 Position the mouse pointer over an item The tool tip displays in a short moment if present Step2 Right click over the item of interest 24 CATC Chief User s Manual Version 1 7 The following prompt appears What s This Step3 Left click What s This If context sensitive help is available you see information about the item in question If it is not available you see a message that no help is available for this topic Tool tips can also be found over the Tool Bar and in areas of the packet view screen In the absence of a tool tip context sensitive help is available in most dialog windows 295 CATC Chief User s Manual Version 1 7 26 CATC Chief User s Manual Version 1 7 Chapt
58. eft click once in the SETUP field of the packet that starts the Request USE Device Request Decode Standard Request Search for the next SETUP Packet Identifier Export Data The Standard Request window appears Standard Request packet 1515 x Setup Data so 06 o 01 00 00 12 00 Data stage 18 bytes Direction Dewice to host Type Standard Recipient Device bRequest GET DESCRIPTOR Oxlz2 The size of this wWalue DEVICE type descriptor is l8 bytes uwlndex Ox0000 Length 158 OxO1lO0 Device compliant to the USE specification version 1 00 nj bDericellass Previous Done Shown here is a GET_DESCRIPTOR Standard Request 65 CATC Chief User s Manual Version 1 7 Decoding Class Requests When you select Decode Class Request you Tthe Decode Class Request drop down menu appears USE Device Request Hub Class Decode USB Request Decode Class Request E HID Class Request Recipients to Class endor Decoding EE Communication Class Audio Class Search far the next SETUP Packet Identifier Export Data The drop down menu lists the Classes whose definitions are contained in the Analyzer Step 1 Select the Class which agrees with the Setup Address selected The Decode Request window similar to the one below appears This window provides you with definitions for the individual fields of the Request and the returned data Hub Class Request packet 1338 3 43 00 00 00 Of
59. en to the next SOF packet The PID field follows the Sync field in the Trace View To search for the next occurrence of the same PID follow these steps Step1 Left click on the PID field immediately following Sync Racket Genter EMm Search for the next SOF Packet Identifier Step 2 Select Search for the next SOF Packet Identifier The Trace View is repositioned with the next occurrence of that PID at the top of your screen Expanded and Collapsed Data Formats You can expand a Data field to view it in greater detail or collapse it when you want a more compact view The Expand Collapse Data feature operates as a toggle So when one format is active the other appears as an option on the Expand Collapse drop down menu To expand or collapse a specific Data field Step1 Left click on Data in the Data packet you want to expand or collapse If your Data Trace View is currently expanded the Collapse Data menu appears DATA O 00000004 Dc HIS EOP Idle 43 00 0 Meta Field EGP Collapse Data 00000004 Collapse All Data Fields Ml 00000091 IN ADOR CRCS EOF J cocoon ss 2 o 015 250 CRC16 EOP Idle 54 CATC Chief User s Manual Version 1 7 If your Data Trace View is currently collapsed the Expand Data menu appears DATAO Data Fiet Expand Data Collapse All Data Fields Mew Data Block I4 ADDR Eos EOF Note that you can choose to expand or co
60. ent Trigger Recording continues in a circular manner within the limits set by the buffer size until an event is detected on the USB bus that meets the Trigger conditions specified in the Triggering Options and a defined amount of data has been recorded after the Trigger Event Recording begins when you click REC on the Tool Bar Options Truncate Data Fields to 8 bytes All data fields are truncated after the first eight bytes Use this feature if you re more concerned with recording many packets than with collecting more data This operation is performed by hardware to avoid using up the Analyzer s physical memory with non essential data e Beep When Trigger Occurs The computer connected to the USB Chief beeps when a Trigger condition is first detected e Save External Interface Signals You can save signals captured from an external device connected to the External Interface Breakout Board Reserve Memory for Traffic Generation Half the recording memory must be set aside for traffic generation patterns Don t automatically display recorded file Prevents USB Chief from automatically displaying a recorded file Buffer Size You can adjust the size of the recording buffer from 0 1 megabytes to 128 megabytes The Recording type option determines how this buffer is used Although there are 128 megabytes of physical memory in the Analyzer the efficiency of the recording ranges from 2 1 to 4 1 ratios of physical memory to a
61. er 5 Recording Options Use Recording Options to create and change various features that control the way information is recorded by the USB Chief Analyzer From the Setup menu select Recording Options OR TRE Click fy on the Tool Bar x General E vents Actions Options I Truncate Data Fields to 8 Bytes I Beep When Trigger Occurs v Save External Interface Signals Reserve Memory for Traffic Generation v Don t automatically display recorded file C Manual Trigger C Event Trigger Buffer Size 64 MB Max 0 500 MB Trigger Position Mot used with snapshot Options name Defaut Trace Filename amp Path Save Save 4s Default Load cancel General Recording Options The General Recording Options allow you to select or adjust the following features Recording type e Snapshot Recording continues until the selected buffer size is filled Recording begins manually when you click REC on the Tool Bar Recording ends when the selected buffer size is filled Manual Trigger Recording continues in a circular manner within the limits set by the buffer size Recording begins manually when you click REC on the Tool Bar Recording ends when you click STIP on the Tool Bar or press the Manual Trigger on the front of the Analyzer after a defined amount of data has been recorded following the manual Trigger Event 27 CATC Note Chief User s Manual Version 1 7 Ev
62. es a graphic representation of the ways in which events selected on the Event Groups screen are used during recording The screen is roughly divided into three fields Bl The field on the right displays the Trigger Filter Out In and Restart Action buttons which are always present The field in the center displays two Count Action buttons which are always present The field on the left displays Event buttons representing any Events Packet Identifier Token Patterns and so on you selected from the Event Groups list on the Events Recording Options screen Their presence is tied directly to your selections CATC Chief User s Manual Version 1 7 Using the Blue Dot Menus Within the Actions screen you can configure the external signals and Counters by clicking the blue dot in the upper left corner of each button Once you have made your settings you can save them for later use or you can set them as your default settings Setting External Triggers Use the blue dot found on all Event buttons except Frame Patterns and External Signals to set the parameters for External Triggers Click the blue dot in the upper left corner of an Event button Errore Disable External Trigger Output Enable External Trigger Output Only External Trigger Form law Pulse Low Pulse High Left click to get this icon s po Toggle Enable Disable External Trigger Output Allows the event to be used for other actions such as Tr
63. es of particular fields within the packet If a field is not defined it is assumed to be 0 Values are assumed to be decimal unless they are prefixed with 0x and then are interpreted as hexadecimal Values within a data block assignment are always assumed to be hexadecimal and should not be prefixed by Ox Table 3 Support Keys for Defining Fields within a Packet am Packet Starting Keys pid 8 bits Use this as the first key of most packets use frame for SOF packets The key or should be assigned to a valid packet identifier string per the USB specification string SETUP IN OUT DATAO DATA1 ACK NAK STALL or PRE Optionally you may assign this key a raw eight bit value to force an error condition Bus Condition Keys file_speed suspend resume 11 bits or string string positive integer or string positive integer positive integer This key creates a Start of Frame packet and generates a SOF PID as expected The key should be assigned a value of the frame number auto or keep_alive The string auto instructs the USB Chief to increment the frame number automatically The string keep_alive instructs the Analyzer to generate a low speed EOP in place of a SOF packet for traffic on a low speed branch file speed LOW Assign a string LOW to this key at the beginning of a dot UTG file to indicate low speed traffic generation on a low spe
64. est Data Pattern Bus Conditions Errors External Signals Save 4s Default Load Cancel Packet Identifiers Step1 Select Packet Identifiers under Event Groups Step2 Inthe Packet Identifier PID field select up to two packet types to use as a Recording Trigger General Events Actions Event Groups WPacket Identifiers Token Patterns Frame Patterns Device Request Data Pattern Bus Conditions Errors External Signals y 0 selected Uncheck All Select up to 2 PIDs for triggering 30 CATC Chief User s Manual Version 1 7 Token Patterns Step 1 Select Token Patterns under Event Groups Step 2 Inthe Token Patterns fields specify up to three combinations of Address Endpoint with any of the token PIDs They can be triggered on or filtered in out The first two can be sequenced to enable one another General Events Actions Event Groups PID Addr Endp Packet Identifiers 1 Any y Frame Patterns Device Request Data Pattern 2 Any Bus Conditions E Errors External Signals 3 Any A Uncheck All Specify USB token events for triggering filtering Frame Patterns Step 1 Select Frame Patterns under Event Groups Step 2 Identify frame patterns you want either to filter out of a Trace View or to use as a Trigger Step3 Sel
65. estilo dota aerate dos 100 Start Trafnie GeneraliOn esc br d eR AA Saws RW XX 102 Repeat Modes voit aeo toe CH oe GR E Saee 102 Stop Traffic Generation oooooooo eens 102 Chapter 11 Secondary Channel Recording eee eens 105 Secondary Recording Main Display Window 0 000 c eee eens 107 secondary Recordin Flle Op HONS crierai Pee red ane a ce re EE 107 VI E O ALTE 107 A A IN 108 OOM dia dad 108 Secondary SetuP Opuons 92150 pro a a ra da da 109 General Recording ODUOTS AAA AA OC ars 109 Events Recording Options 0 0 0 es 109 Actions Recording Options 0 0 0 0 0 ccc eee eens 110 Secondary Report OPUS res ener sess Coes NEA PERE CESS SHR SEA POE 110 Secondary Recording File Information 22222222222 110 Secondary Recording Timing Calculations oo o 110 Secondary Recording Transaction Summary 0000 111 Se ARC cr dat aetna eure ener ode eases E c Maud Du Mu EMT E 111 Ie SIRO EDD TRE NER RE RENE TT 111 la vcr 112 Status Bar Search Status c wea es lid ea 112 Ende Pt oos dug ater a ces eee eee RERBA Bd eek dosi det 112 Pado SECONAA urn esca Despues a alii decere ei dfc Gc he ige 112 ADDOBDULIC os asco i RR EH E eue aiU epa agen up ee ee eee 113 External Interface Breakout Board 0 0 0 0 000 eens 113 Setting Up the External Interface Breakout Board 113 USB C rrentMeas r is oo eh S a e ear E e ERE R
66. ex and warrants a brief description Selecting Deselecting Token Patterns To establish a Token Pattern for the Find operation Step1 Select Token Patterns on the Events tab The Token Patterns window appears User Defined Find x General Events Event Groups Packet Identifiers Bus Conditions Addr Endp Tokens Frame Patterns Data Length Errors CID ata Patterns Device Requests v Setup Iv In Uncheck All e Out Cancel Step2 Highlight an Address Endpoint combination in the Tokens window 81 CATC Chief User s Manual Version 1 7 Step 3 Select any combination of Setup In or Out Tokens Step4 Click Assign S I O or a combination thereof next to the highlighted Address Endpoint under Tokens appear Step 5 Repeat this process until you have set as many Token Patterns as you want Note To deselect a Token reverse the process described above in Step 3 and deselect Tokens After you have completed your Event Groups settings you are ready to make your general settings Step 1 Click the General tab Complex Search X General Events How to find with multiple events Union find the packets that match ANY of the specified events C ntersection find the packets that match ALL ofthe specified events Exclusion find the packets that DO NOT match opposite to the intersection or union Direction Origin Forward Top oft
67. external inputs for triggering Step 2 If desired use pins 10 14 on the USB Chief Breakout Board as Trigger Inputs for the Analyzer from your hardware If you hook up any of these pins you must check the corresponding Trigger Input number in this Event Group to enable it as a Trigger Step 3 If desired enable or disable Trigger Inputs 0 through 4 from the External Interface Breakout Board These inputs may also be set as Active Low or Active High signals 34 CATC Chief User s Manual Version 1 7 Note Using the Active High setting requires care because the Trigger Input signals on external interface board are pulled up internally in the Analyzer Your External Trigger source should drive the input signal low before starting recording or the Analyzer will immediately detect a Trigger Event due to the signal pull ups Actions Recording Options Use the Actions screen to set the Trigger Filter Out In Restart and Count options that define the rules for data recording sessions The Restart and Count options allow you to configure and control the order in which selected events trigger the Analyzer or filter the recording and to begin the sequencing again Click the Actions tab on the Recording Options screen Recording Options E Court 15 Court 15 rlOd DATA PID SETUP ms Condition Errors Trigger Ext Inputs Fiter out Save Save 4s Default Load kE Cancel The Actions screen provid
68. for the file SampleData usb packets 0 4981 USB Packets 4982 Transactions 2008 Total Frames 785 Empty Frames 0 Transactions by Device in lst column indicates device probably not residing on bus under test Transactns Acknowledgement Bytes Addr Endp Type Total Error ACK NAK None Attempt Success 3 3 IN 792 0 0 792 0 0 0 3 4 OUT 791 0 0 0 791 69768 69768 4 T IN 29 0 0 99 0 0 0 2 al IN 24 3 al 0 3 3 2 O SETUP 16 0 16 0 0 A Transaction Summary details how many transactions were transferred and sorts each by specific type and address and endpoint pair 93 CATC Chief User s Manual Version 1 7 94 CATC Chief User s Manual Version 1 7 Chapter 10 Traffic Generation Host Emulation Note The USB Chief Plus Analyzer emulates a host device and generates traffic to allow you to test your designs under realistic conditions Traffic Generation can also be used to transmit known bad packets allowing you to observe how your device handles specific adverse conditions You can make an additional entry in a Generator Text File that allows you to specify a portion of the file for repetition Enter wrap here in the Generator Text File The traffic above the entry 1s run only once The traffic below the entry 1s repeated continuously See the sample file Wrap utg for an example of how to use this feature Preparing the USB Chief for Traffic Generation Before you begin to generate traffic
69. g their designs When connected and enabled the Secondary Recording Channel taps another USB branch and records bus traffic in the same fashion as the Primary channel The USB Chief then analyzes the traffic information from both channels and allows you to manipulate the information with the same tools as those used for single channel recordings To use Secondary Channel Recording you must replace your current BusEngine with one specialized for two channel recording chief_s rbf In the Secondary Recording Channel configuration Traffic Generation is disabled and your recording options are limited To restore the Traffic Generation feature and all recording options you must return to the Secondary Recording Channel window and select Primary to revert to the default BusEngine chief rbf To enable the Secondary Channel Recording feature follow these steps Step1 From the Setup menu select Secondary Channel The Secondary Recording Channel window appears Secondary Recording Channel xl Select Secondary to replace your BusEngine with one specialized Far two channel recording chief_s rbf When configured this way your recording options will be limited and traffic generation will be disabled Selecting Primary will revert back to the default BusEngine chief rbf Select Recording Mode Primary Secondary Cancel Step 2 Click Secondary 105 CATC Chief User s Manual Version 1 7 The Secondary Channel
70. hat not all the expected data was recorded pre Trigger When you click Stop before or after a Trigger Event the Progress Bar adjusts accordingly to begin uploading the most recently recorded data The Progress Bar fills with color in proportion to the specified size and actual rate at which the hardware is writing and reading the recording memory However the Progress Indicator is normalized to fill the space within the Status Bar Recording Status During recording activity the current Recording Status is temporarily displayed in the next segment When you activate the Record function this segment flashes one of the following messages depending on the selected Recording Options Trigger Triggered 120 CATC Note Chief User s Manual Version 1 7 e Uploading After recording stops the following occurs e The flashing message changes to Uploading data x done x indicates the percentage completion of the data uploading process The traffic data is copied to disk overwriting any previous version of this file using the default file name data usb or a new name specified in the Recording options To abort the upload process press Ese on your keyboard OR Again click sr in the Tool Bar You are prompted to choose whether to keep the partially uploaded data or to throw it away When the data have been saved the Recorded Data file appears in the main display window and the Recording Status window is cle
71. he USB Chief Analyzer Firmware follow these steps Step 1 From the Setup menu select Analyzer The Analyzer Setup window appears Reset Analyzer Download new code Update BusEngine Update Firmware Step 2 Click Reset Analyzer The Analyzer resets performs self diagnostics and returns to service 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 1t 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 1 Click Update BusEngine on the Analyzer Setup screen CATC Chief User s Manual Version 1 7 The Select engine file window appears Select the engine file to download Look irr E
72. he 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 Pin Signal Description 5V 500mA DC source l 4 Signal Description Ground T n n 5 Ground 3 LLTEE IN 4 Signal input man CURRENT MEASURE Gom 7 T Ground SG 15 CATC Chief User s Manual Version 1 7 Pin Signal Description 15 OUT 3 Signal output OUT 4 Signal output Pin Signal Description Ground Ground GATED VP GATED 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 CATC Chief User s Manual Version 1 7 USB Chief PC for Analysis 7 USB Chief m PC Connection USB Chief USB Device USB Under Analysis The USB Chief Analyzer provides on the fly detection of and triggering on such events as specif
73. he new file in the Options name field Step 2 Click Save You see the Save As window Step 3 Specify a filename rec Step4 Click Save Trace File Name amp Path Step 1 Click Trace File Name amp Path Step 2 Inthe Save As window enter the recording file name usb for all subsequent recordings The default recording file name is data usb AAA aa Save In E USB Chief de 4 E Ex Be errors usb E Ssample2Chan usb E SampleData usb E VisualElements usb File name Save as type use Chief Trace Files usb Cancel y 29 CATC Chief User s Manual Version 1 7 Events Recording Options The Event triggering and filtering options allow you to set specific parameters for each Event Group When an Event Group 1s selected a field appears that allows you to select specific conditions within the corresponding Event Group As details are selected other Event Group details may fade since there are limited hardware resources in the Analyzer Information about the resources available is displayed below the Event Group details When a detail is faded it is inactive and cannot be selected If an Event Group remains inactive the current version of the application or BusEngine does not support it Click the Events tab on the Recording Options window Recording Options x General Events Actions Event Groups Packet Identifiers Taken Patterns Frame Patterns Device Requ
74. he screen C Backward C Lastmatch C Endiotthe file Step 2 Use the General options to set a combination of search criteria of multiple events E Search In Hidden Union Hide all packets that match ANY of the specified events Intersection Hide all packets that match ALL of the specified events Exclusion Hide all packets that DO NOT match opposite to the intersection or union 82 CATC Chief User s Manual Version 1 7 Find Next To apply the previous Find parameters to the next search select Find Next under Search on the Menu Bar on the Tool Bar Change Direction To change your search direction follow these steps Step 1 Click Search on the Menu Bar View Window Help o ta Trigger Go ta Packet Eo ta Marker k Go to k Eind Find Hest F3 Search Direction Forward 5 Seater iA Eiman The Search Direction feature operates as a toggle between Forward Ctrl F and Backward Ctrl B When you display the Search menu the current search direction is displayed in the menu item In the example above the Search Direction is Forward Step 2 Select Search Direction Forward or Backward The menu disappears and the search proceeds in the selected direction When a search reaches the beginning or end of a recording the Search window is displayed IN Specified event not found Hit Reverse Direction Search to continue searching the opposite direction or
75. hief analyzes the traffic from both ports and presents the analysis in a unified view When recording on both the Primary and the Secondary Channels Generate is disabled PC for Analysis Requirements e 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 CATC Note Note Chief User s Manual Version 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 e Atleast 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 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 automatical
76. hit Wrap Search to continue searching atthe beginning or end as appropriate Reverse Direction Search Wrap Search Use this window to instruct the Analyzer to Continue searching from the opposite end of the recording Wrap Search Continue searching in the reverse direction Cancel the search 83 CATC Chief User s Manual Version 1 7 Right Click Shortcuts Window Right click anywhere on a Trace View screen to display a menu containing several useful shortcuts to frequently used program features T MTS 2 Display Options Hide Eiman Hide seconda w Show USB transactions wv Show USE transfers ooooo ooooo File Information TNT Eu Summary Timing Calculations Power and Connection Settings Use the Power and Connection settings to control the device current and voltage measurement features To alter power and connection settings select Power and Connection from the Setup menu The Power and Connection window appears Power and Connection Aa x Device Power Current Measure C ON OFF Voltage BAD Device Connection C Detach Attach Unplug Replug Internal Termination Ge Pole BERG Host Connection C Detach Attach a detached host results in suspend Refresh Defaults The Power and Connection window gives direct access to the upstream and downstream connections on the Primary Record amp Generate channel This window
77. ic 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 CATC Note Note Chief User s Manual Version 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 c
78. iggering Filtering or Restarting toggles between Enable and Disable Enable External Trigger Output Only Makes the event an output signal only which cannot be used for other actions To clear External Trigger Output Only you must drag the elastic arrow to an Action button See the section on Elastic Arrow External Trigger Form Allows you to select low pulse high pulse or toggle as the form for your External Trigger Output Signaling Pin Assignments Clicking the blue dot in the upper left corner of each Events button enables one of each of the following events to appear as an output signal on its corresponding output pin on the External Interface Breakout Board Table 2 Output Signaling Pin Assignments Pin Signal Deseripfon SSS 14 15 16 17 18 19 OUT 0 Errors OUT 2 First Token Pattern es EN Ay A a MEM MOM 36 CATC Chief User s Manual Version 1 7 Token Event Sequencing You can set the Analyzer to trigger only after it detects a specific sequence of events The Analyzer looks for the occurrence of the first token event and once that has taken place begins looking for the second event The Trigger occurs after the second event takes place You can also set an event to trigger a Restart If the Restart event occurs after the first Token event in a sequence but before the second the Analyzer restarts its search for the first event This feature enables designers to designate a s
79. indow enter your comment Step4 Click OK 50 CATC View Haw Bits 01 01 01 00 Chief User s Manual Version 1 7 A marked packet is indicated by a vertical red bar along the left edge of the packet block SETUP ADDR CRS EOP f idle Edit or Clear Marker To clear or edit the comments associated with a packet marker Step1 Left click on Packet for the chosen packet Edit Marker Comment Clear Marker View Raw Bits Time From Trigger Time From Marker Step 2 To edit the Marker Comment select Edit Marker Comment The Edit marker comment window appears Edit marker comment for packet 398 E The hub driver reads the status for the port and continues with the port initialization Step 3 Edit the comment as desired Step4 Click OK OR Step5 To clear a Marker click Clear Marker The vertical red Marker bar disappears View Raw Bits You can expand a specific packet to view the raw bits in detail To view the raw bits Step1 Left click on Packet for the packet you wish to view A1 DATA GROG EOP You see the Packet menu eM pe Tz To oasfzeo Idle Set Marker Idle Time From Trigger Time Fram Marker Step2 Select View Raw Bits 5 CATC Chief User s Manual Version 1 7 The Raw Bits View for that packet appears Packet 66946 Data Packet PID even Ed Sync PID 0 1 2 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 1j0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1
80. ld 16 bits positive Assign a positive integer for the length of the end of packet EOP Possible values integer are 2 to 4 resulting in 1 to 3 bits of SEO and 1 bit of J The default value is the correct length 2 bits of SEO 1 bit of J positive Assign a positive integer or string to this key defining the length of idle after the integer current packet The positive integer indicates the number of full speed or or low speed bit times The default value is ten string When this keyword is assigned the string TO_EOF the USB Chief automatically calculates the amount of idle remaining in the frame When handshaking with a device you can use this keyword to add idle where you anticipate a packet being returned from the device To aid in anticipating a devices response use the strings BYTES_IN_n and LS_BYTES_IN_n where n is the number of bytes expected from the device Assign a string in quotation marks to be put in the marker for the defined packet raw_data aa bb Assign data bytes for the packet after the PID Use the following syntax raw data 12 34 56 78 90 AB CD EF DC 13 40 78 11 CA 70 65 You can wrap bytes of the data field to the next line Assign the string OFF or ON to control bit stuffing The default value is ON sync integer Assign an integer from to 7 to represent the sync field The integer is the number 1 7 of zeros transmitted before the one The default value is 7 to give a sync of 00000001
81. le 00000001 11815 Frame CRCS EOP Idle When you instruct the Analyzer to display USB transactions the components of each transaction are collected from the current recording and are grouped and indented below each decoded transaction Each row shows a transaction with a unique numeration a label and color coded decoding of important data Expanded and Collapsed Transactions You can expand a specific transaction to view its parts which are grouped and indented below the transaction To expand a transaction follow these steps Step1 Left click on the transaction number you wish to view You see the Expand Transaction menu l T e bRequest w Value wilndex D gt H S D GET_DESCRIPTOR DEVICE type 0x0000 UGE Iransacion Expand This Transaction Expand All USB Transactions Step 2 Select Expand This Transaction The screen displays the selected transaction in expanded format Note The Expand Collapse transaction feature operates as a toggle when one format is active the other appears as an option on the Expand Collapse drop down menu To collapse a transaction perform the same operation and select Collapse This Transaction Note that you can choose to expand or collapse 60 CATC Note Chief User s Manual Version 1 7 Only the selected Transaction OR All Transactions It is not necessary to use the Expand Collapse Transactions menu to shift between expanded and collapse
82. lick Load to load a previously saved opt file thus restoring a previous set of Display Options e The Save as Default function is equivalent to the Save function specifying the file name default opt Whenever you start up the Analyzer it automatically loads the default opt file if one exists Click OK to apply any changes you have made to Display Options and close this dialog box Click Cancel to cancel any immediate changes you have made and exit the Display Options menu Click Apply toapply your changes while keeping the Display Options window open 47 CATC Chief User s Manual Version 1 7 48 CATC Chief User s Manual Version 1 7 Chapter 7 Reading a CATC Trace Frame CRS EOP Idle Frame ERES EGP SETUP ADDR leo EOF oooooom ons 2 o oxts 250 cero MAA EGP 200000001 Trace View Features The USB Chief packet view extensively uses 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
83. llapse Only the Data in the selected Data packet OR All Data Fields in the Trace View Step2 Select the desired Expand Data or Collapse Data menu item The Trace View is repositioned with the selected packet s adjusted in the format you have specified It is not necessary to use the Expand Collapse Data menu to shift between expanded and collapsed views of a specific Data packet Step3 Double click DATA in the Data packet you want to view to toggle back and forth between collapsed and expanded views View Data Block The View Data Block feature displays a text window containing the data block for a DATA packet Use this feature to select and copy portions of the data for pasting into other Windows programs To display a Data Block Step1 Left click DATA in the Data packet you want to view iste ela Collapse Data Collapse All Data Fields Men Data Block Step 2 Select View Data Block 35 CATC Chief User s Manual Version 1 7 The Data Block for the selected packet appears Data Block size is 1023 bytes Hide Packets and Fields You can hide Start of Frame SOF NAKed transactions and other packets that may be uninteresting in a given context from a Trace View From the Tool Bar You can hide Start of Frame SOF and NAKed transactions directly from the Tool Bar Click Sor to hide all SOF packets e Click Bak to hide all NAKed transactions From the User Defined Hide Window To hide all type
84. lly 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 amp Generate Primary Port and Secondary Record Secondary Port each with a type A and a type B connector Record amp Generate records and generates traffic Secondary Record records only CATC Chief User s Manual Version 1 7 Figure 2 Rear Panel USB Data In Out Wide range AC connector module Power socket Enclosed fuse Power on off switch e 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 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 t
85. ly 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 1 Insert the USB Chief program floppy for your operating system labeled Disk 1 of 2 into the a drive Step2 Power on the USB Chief Analyzer Step3 Connect 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 Step4 Follow 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 When Windows prompts you for a file browse to the CATC floppy in the a drive Installing the USB Chief Program Step1 Insert the USB Chief program floppy into the a drive on your computer Step 2 Click Start Step 3 Click Run 21 CATC Step 4 Step 5 Step 6 Step 7 Step 8 Chief User s Manual Version 1 7 You see the Run screen Click Browse You see the Browse screen Select the a drive Click Setup exe Click Open You return to the Run screen Click 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 Program Files CATC USB Chief directory unless you specify otherwise Follow the installation instructions on your screen Making a USB Recording After installation the software is
86. nd Collapsed Transfers You can expand a specific transfer to view its parts which are grouped and indented below the transfer To expand a transfer Step1 Left click on the transfer number you wish to view You see the Expand Transfer menu Control ADOR USE iranse Expand This USE Transfer Expand All USB Transfers bReque st windex GET STATLUIS For Fart 1 rame CRES EGP Step 2 Select Expand This USB Transfer The screen displays the selected transfer in expanded format Control ADDF bRequest windex Port Status bits For Change bits Time J SET 2 o GET_STATUS For Port 1 00000001 00000000 0000000000000000 Ons Transaction SETUP ADDR MMT eRe waue De Length TO oes 2 o oeH cfofcer_status oxoo00 rorronei 4 Transaction gj exes 2 0 Frame CRCS GE Frame CRS E Frame CRCS EOP Idle Frame oc EGP Idle control ADDF bRequest windex Port Status bits For Change bits A ser 2 o SET_STATUS ForPort 2 0000000100000001 0000000000000000 Transaction Note The Expand Collapse transfer feature operates as a toggle when one format is active the other appears as an option on the Expand Collapse drop down menu To collapse a transfer perform the same operation and select Collapse This USB Transfer Note that you can choose to expand or collapse Only the selected Transfer OR All Transfers It is not necessary to use
87. nels Transaction summary for the file Sample Chan packets 0 5 1873 Secondary Channel Packets Transaction Summary follows below Primary Channel USB Packets 1550 Transactions 378 Total Frames 8397 Empty Frames 553 Transactions by Device in lst column indicates device probably not residing on bus under test Transactns Acknowledgement Bytes Addr Endp Type Total Error ACE HAK None Attenpt Success 5 IN 113 113 0 SETUP 32 0 0 0 IN 33 0 0 n CTT 3 f n Search Search In Use the Search feature in the Menu Bar to toggle between searches for Primary channel recorded data and searches for Secondary channel recorded data 111 CATC Chief User s Manual Version 1 7 View Status Bar Search Status The right most segment of the Status Bar displays the current Search channel and direction Primary or Secondary Fwd forward or Bwd backward Hide Primary Use this view option to remove from the Trace View all packets that were captured on the Primary channel Hide Secondary Use this view option to remove from the Trace View all packets that were captured on the Secondary channel 112 CATC Appendix External Interface Breakout Board Chief User s Manual CATC USB CHIEF PCB BREAKOUT BOARD REY 1 0 CATC 1999 USB CURRENT MEASURE tttttt dH UAM O 0 O O O O O 0 O 0 O O GND GND T5V TRIGGER OUT
88. ns were and what version of all the Analyzer hardware was used to make the recording Error Summary To display an Error Summary From the Report menu select Error Summary OR Click IN in the Tool Bar The Error Summary window appears 90 CATC Chief User s Manual Version 1 7 Error Summary Bad PIDs Ho enas E Bad CACSs Ho enas o Bad LRCTbs Ho enas E Bad Stuff Bits Ho enas E Bad Packet Length Mo enone E Short EOF Fle emas E Babble Start Ho enma o E Babble End LOA Wo erre Cle Bad Frame Length in erag o Bad Data Toggle Hoera E USB Chief Internal Errors Ho enas E Imperfect Sync MOT an error Error 1 of 693 in packet i ME Tip Click on packet number to switch to it Save As Done The Error Summary details all errors analyzed throughout the Trace recording Navigate to an error within the recording by clicking the number of the packet containing the error Use the arrows to cycle though each occurrence of a particular error Babble Errors While most of the errors reported in an Error Summary are self evident Babble Errors warrant special mention Failures can occur if a device on the bus doesn t end its transmission before the end of the frame or if it continues to drive a constant J or K state on the bus with no end of packet EOP The Babble Start error identifies packets that began too late to be completed within the frame and illegally ran over i
89. nsists of the Bus amp 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 Tel 1 503 296 9892 1730 SW Skyline Blvd Suite 203 Fax 1 503 297 1090 Portland OR 97221 Web http www usb org CATC Chief User s Manual Version 1 7 CATC Chief User s Manual Version 1 7 Chapter 2 Quick Installation The USB Chief Bus amp 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 foll
90. nto the following frame The Babble End error identifies packets that didn t have an EOP and therefore caused a loss of activity LOA 9 CATC Chief User s Manual Version 1 7 Timing and Bus Usage Calculator From the Report menu select Timing Calculations OR Click in the Too Bar The Timing and Bus Usage Calculator appears Timing and Bus Usage calculator PRIMI E From packet To packet 500 TOTAL TIME 88 387 ms Time Usage Bandwidth Bus Utilization Iv Global 7 803 0 875 Mb s Iv Low Speed 0 458 0 008 Mb s Iv Full Speed 7 345 0 867 Mb s Iv Transactions w o Idle 7 510 0 842 Mb s Including Idle 7 689 Iv Device dec w o Idle 6 548 0 780 Mb s Addr E Including Idle 6 275 EndP 4 Data Only 5 968 0 716 Mb s Advanced Filtering Off Iv Setup Min M Out Iv Qualify Handshake NAK T ACK Calculate Show Formulas Use the Timing and Bus Usage Calculator to set options for Bus Utilization Time Usage Bandwidth and Advanced Filtering Transaction Summary Step 1 From the Report menu select Transaction Summary There 1s no corresponding button on the Tool Bar for this feature Step 2 In the Transaction Report window enter the values in the From Packet and To Packet fields Step 3 Click OK 92 CATC Chief User s Manual Version 1 7 The Transaction Summary window appears Transaction Summary E3 Transaction summary
91. oding Step 14 Click Assign to Endpoint The name of the selected decoding type appears next to the selected Address in the Endpoint field Step 15 Click OK Step 16 To decode left click the field marked IN or OUT Ta ETT CE GITE witi aata Decode as Hub Status Change Endpoint h Step 17 Select Decode as Hub Status Change Endpoint A text box opens that displays the Hub Status Change Endpoint Hub Status Change Endpoint Packet 612 Fa 73 CATC Chief User s Manual Version 1 7 74 CATC Chief User s Manual Version 1 7 Chapter 9 Other Features Note Search The Search feature provides several options for searching through recorded traffic allowing you to find specific packets based on triggering status packet number marking or content To view the Search options click Search in the Menu bar to display the following drop down menu View Window Help Go to Trigger Go to Packet Go to Marker Goto d Find Find Next F3 Search Direction Forward SET Eiman Go to Trigger Go to Trigger is enabled only when a traffic file is the result of a Trigger To display a Trigger Event select Go to Trigger under Search on the Menu Bar The Trace View is repositioned with the first packet following the Trigger event or the packet that caused the Trigger at the top of your screen Go to Packet To display a specific packet follow these steps Step 1 Select Go to Packet under Search on
92. on contained in Data blocks To export Data follow these steps Step1 From the File menu select Export then Data The Export Data window appears Export Data Lx Type Decimal Token PIDs RAGE Setup In Out Acknowledgement EndP 2 Iv Quality Handshake porno M NAK M ACK Moot Print Data Headers Save Options C Text z Size KB Binary Cancel Step 2 Enter the requested information Addr and EndP Enter the address and endpoint as decimal values to export data from a specific device When the EndP is left blank data from all the endpoints of the device address are included Specify Token PIDs Indicate a token to export data specific to a transaction type Acknowledgments Qualify Handshake Indicate a transaction with a qualified handshake to export the correct data ACK Export acknowledged data NAK Export data not acknowledged none Export isochronous data with no handshake Don t Print Data Headers Data packets are normally demarcated by text headers that indicate the packet number and other transaction information Use this option to export data without these text headers only when a specific address endpoint and token transaction are indicated Save Options 88 CATC Chief User s Manual Version 1 7 Text or Binary Specified size limit Text Alternate Access to the Export Data Window You can also access the Export
93. ormat when you want to capture an actual series of Host packets to use for testing with other devices This format enables you to build a Generator file without having to start from scratch This option enables you to do the following Remove Device Traffic from the file and export only Host Traffic Generate the Host Traffic Host Emulation to determine if the device under test generates its own traffic correctly To export Packets to Text Generator Text File Format follow these steps Step1 Select Packets to Text Generator Text File Format from the Export drop down menu The Export to Generator Text window appears Export to Generator Text From Packet Em To Packet 35680 Frame Numbering Generate Automatically C Keep Original Values Include MAK ed Transactions Include Device Side Packets Cancel Step2 Enter the numbers of the first and last packets in the series you want to save Note The device packets are removed from the exported generator text This is essential in creating a generator text file that can be used to handshake with your device 87 CATC Chief User s Manual Version 1 7 Step 3 You can regenerate the frame numbers and to remove NAKed transactions Once the generator text file is exported you may need to edit the file and adjust idle time to properly anticipate the responses from your device Data Export packets in Data format if you need only the informati
94. ote The device packets are removed from the exported generator text This 1s essential in creating a generator text file that can be used to handshake with your device Step 4 You can opt to regenerate the frame numbers and to remove NAKed transactions Once the generator text file is exported you may need to edit the file and adjust idle time to properly anticipate the responses from your device The traffic to be generated is displayed in a view similar to that of a Packet View but with a few differences CATC USB Chief Bus and Protocol Analyzer StressFullSpeed utg CATE default File Setup Record Generate Report Search View Window Help l x Frame CROS EOP J ooo00001 oxas 10 ox1e s 00 SETURI ADDR maes EOP locooooc oxe4 o o oos 200 DATAO DATA pecie EOP s 30 Db DD 0 00 00 40 00 oxeeze 200 EOP Idle IN ADDR CRES EOP leoocooo oxss o o oxes eoo F Nak Bop Idle d3 oooooooi oxsa 3 00 976 250 us Frame CROCS EOP RIE ADDR as EOP leoooooo oxs7 o 1 oos 200 DATAO DATA pecie EOP 4100000001 1023 bytes oxB2EC 3 00 IN ADDR GRECA EOP b For Help press F1 Search Fwd 7 e Along the right side of the Traffic Generation window is a prominent blue bar 101 CATC Chief User s Manual Version 1 7 e Inthe upper left hand corner is a traffic light bit map As the traffic 1s transmitted on the USB the blue bar indicates in white progress for overall
95. owing 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 1 Connect the AC power cable to the rear of the Analyzer Step 2 Turn on the power switch on the rear of the Analyzer Step 3 Insert the first diskette for your operating system Step 4 Connect the USB port on the back of the Analyzer to the PC for analysis using the LONG 6 USB cable Step 5 Connect the USB host or hub and the device being analyzed to the primary USB port on the front of the Analyzer Record amp Generate using the SHORTER 3 USB cables Step6 Follow the on screen Plug and Play instructions under Windows Step7 Search the diskette for the USB Chief Bus amp Protocol Analyzer drivers Installing the USB Chief Software Step1 Run the program a setup and follow the on screen instructions Step2 Launch the CATC USB Chief program from the CATC programs group Making a USB Recording After installation the software 1s configured to make a one Mbyte snapshot recording of your USB traffic To make this recording follow these steps Step1 Click REC on the Tool Bar After 1 Mbyte of traffic is recorded the Analyzer uploads the data and displays the packets To
96. p window to set parameters for Input signals Current Measure Output signals and Trigger types Inputs Select Record with Trace to save the selected input signals in a Trace file Select the Inputs you want to turn on Select Active High or Active Low for Trigger type Current Measure e Select On to enable a current meter to take measurements on the Breakout Board during recording Outputs Each output can be turned on or off or set to signal continuously suppressing the Trigger 114 CATC Chief User s Manual Version 1 7 Check a Trigger under On Off to start a recording that continues until the buffer is full OR Check a Trigger under Signal Continuously to instruct the Analyzer to keep recording until you stop it Set the Trigger Output format Select Pulse High to trigger when the signal goes up Select Pulse Low to trigger when the signal goes down Select Toggle to trigger when there is a signal change regardless of whether it goes up or down USB Current Measure The USB Chief can measure the current of a device The Breakout Board contains a convenient place to measure the USB current being used by the device connected to the Record amp Generate port To measure the USB current follow these steps Step 1 Insert a current meter in series on the current measurement terminals of the Breakout Board Step2 Select ON for Current Measure in the Power and Connection window under
97. pecific sequence of events that must occur before the Analyzer begins capturing data triggers thus pinpointing certain types of events for recording Filter Out In To set up events from the Token and Frame Event Groups to be used to filter a recording Step 1 Click the blue dot on Filter Out Filter Polarity s Filter Out Filter In Step 2 Use this menu to toggle the selection between Filter Out and Filter In Filter In records ONLY those packets related to the specified event Filter Out records all packets EXCEPT those related to the specified event Note Only events from the Token and Frame Event Groups can be used to filter a recording setting Counters Use the Count Blue Dot menu to define how many times an event must occur before it triggers a recording For greater flexibility of triggering you can use two Counters to count up to fifteen occurrences of an event To set a Counter Step1 Click on the blue dot in the upper left corner of the Count button Count 1 7 A ecrit pE E Change Counter Value 37 CATC Chief User s Manual Version 1 7 Step 2 Click Change Counter Value Input Counter Value x Input Counter Value 1 15 3 L ancel Step 3 Enter an input value to tell the Analyzer how many times this event must occur before it triggers a recording Step 4 Click OK You may connect as many Event buttons to a Counter as you like However the Counte
98. priate color button 43 CATC Chief User s Manual Version 1 7 The color palette appears General Ue a eMC RE MEAN Basic colors Custom colors IE bara SOF ci aut MTS AK STALL IES REE IMEN EN EN EN lid Data Define Custom Colors gt gt 5 EM Load Step2 Use this palette to choose the desired color for the PID Types CRCs Addressing Framing Data Speed Packet Bus Conditions and Idle Formats Display Options Step1 Click the Formats tab on the Display Options window General Colors Formats Filters Field Hex Decimal Binary ASCII Msb gt Lsb Sync o e PID c Iv Addr C e Iv EndP L c Iv Data Length Data g Iv Time o c Frame IV CRC c Iv User Data e Save Save As Default Load Anny Cancel Step 2 Selecta number format corresponding to the column labels along the top of the screen for each number field that labels the rows along the left of the screen The number format changes in the respective location in the packet view window You can also select the bit ordering to be displayed Not every number format is available for every number field 44 CATC Chief User s Manual Version 1 7 Filters Display Options Step 1 Click the Filters tab on the Display Options window Display Options Lx General Colors Fo
99. r Request definition file vendor req To add your own Class or Vendor Request definition follow these steps Step 1 Create and edit your own Request Definition file for example my vendor commands req Note To learn to write such a file review the Request req files provided by CATC Step2 Add the name of your Request file to the request Ist file Step3 Click Setup Your decoding menu in the Class Vendor List appears 68 CATC Chief User s Manual Version 1 7 Class Vendor Decoding Options This interface allows you to permanently assign a class or vendor decoding for an address and or endpoint or interface in a Trace file Once assigned the decoding occurs automatically when you choose to display transactions You see the Decode Class menu for whichever Class type you have selected Request Recipient to Class Vendor Decoding To assign a decoding group to a request recipient follow these steps Step1 Left click once in the packet s SETUP field You see the Decode Request menu USE Wevice Request Decode USB Request Decode Class Request Request Recipients to Class Vendor Decoding Search for the next SETUP Packet Identifier Export Data Step 2 Select Request Recipient to Class Vendor Decoding The Request Recipient window appears Request Recipients and Endpoints lt gt Class endor Decod Request Recipiente Endpoints Request Recipient Class endor Decoding Address 002 Global Hub Clas
100. r can also be viewed with the Trace Viewer Opening a file created with either of these Analyzers displays a screen asking if you want to convert the old file to the new format under the name convert usb When the program is used with the USB Chief Bus amp Protocol Analyzer attached to the computer you can monitor and analyze the activity of your USB branch from the primary or secondary USB ports on the front of the Analyzer starting the USB Chief Program from the Desktop Step1 Click Start Step2 Select Programs Step3 Select CATC Step 4 Click CATC USB Chief starting the USB Chief Program from its Directory Step1 Go to the CATC USB Chief subdirectory Step 2 Double click gt 23 CATC Chief User s Manual Version 1 7 Software Firmware and BusEngine Revisions The Readme txt file on the first installation disk and in the installed directory gives last minute updates about the current release Included with each release are the most recent downloadable images of the Firmware and the BusEngine The Readme txt file lists the latest versions and informs you if new Firmware or a new BusEngine needs to be updated in your hardware Once the Analyzer has completed the self diagnostics and is connected to the PC you can check the latest revision of the software and BusEngine e Selecting About USB Chief in the Help Menu x a USB Chief tr Software Version 1 33 Build 67 Copyright CATC 1999 USB Chi
101. r does not treat each event as a discrete specification but treats them all as one event As an example look at the specifications set in the following screen Recording Options E rs Court 15 2101 SETUP Count 15 Trigger Save Save As Default Load cos Counter 1 has been set to trigger four events after 15 occurrences But the Counter does not count 15 occurrences for EACH event It counts ALL events as they happen to occur until it reaches a total of 15 and then triggers Elastic Arrow The Actions screen has a unique property an elastic arrow that allows you to maneuver easily between the Event buttons and the Actions buttons to set the options that define the rules for data recording sessions The arrow is anchored to an Event button and attached to the mouse pointer on your screen as you move the mouse pointer the arrow stretches to follow your movement To use the arrow to connect an Event Group to an Action Step1 Left click on the Event button 38 CATC Chief User s Manual Version 1 7 The elastic arrow appears Recording Options El 2104 SETUP Counti 15 Countz 15 Trigger Move mouse to new output icon Far this event Save Save As Default Load cos Step 2 Drag the arrow to the desired Action button Step 3 Left click again The arrow is replaced with a black line connecting the Event button to the Action button Saving Recording Op
102. r how to hide them The Events tab is always displayed in front when this screen opens Step 1 Use the Event Groups option to specify which events and which error types you want to hide Step 2 Click the General tab The General User Defined Hide window appears User Defined Hide Ed General Events How to hide with multiple events Union hide the packets that match ANY of the specified events i Intersection hide the packets that match ALL of the specified events Exclusion hide the packets that DO NOT match opposite to the intersection or union Step 3 Use The General option to perform a combination of complex events You can hide selected packets using these criteria Union Hide all packets that match ANY of the specified events 46 CATC Chief User s Manual Version 1 7 Intersection Hide all packets that match ALL of the specified events Exclusion Hide all packets that DO NOT match opposite to the intersection or union saving Display Options To complete your Display Options settings use the features at the bottom of the Display Options screen These features remain the same no matter which of the four Display Options screens you are working in e Click Save to save the currently specified Display Options for use in future sessions Any file name can be specified but you must use the opt extension If no extension is specified opt is added by default C
103. rator Test File Format Data CECS EGP Edit Comment 1 Sample2Chan usb 2 SampleD ata usb 3 dcal usb 4 enrars usb 5 VisualE lements usb Idle Frame O Eur Idle m You can export packets in the following text formats e Packets to Text Packet View Format e Packets to Text Generator Text File Format ata Packets to Text Packet View Format Use this option when you want to print only the text version of the packet information without the accompanying graphic display If the current view of a selected trace has been set to show USB transactions the program displays a warning when you attempt to export data in the text format This is a reminder that the exported data will be packets only not transactions To export Packets to Text Packet View Format follow these steps Step1 Select Packets to Text Packet View Format from the Export drop down menu 86 CATC Chief User s Manual Version 1 7 The Save packets in text format window appears Save packets in text format E From Packet z To Packet 35680 OF Cancel Step2 Enter the numbers of the first and last packets in the series you want to save Step3 Click OK The information is entered in a table like structure with packet number as an index containing all the field information about the packet view display Packets to Text Generator Text File Format Export packets to text in the Generator Text File f
104. rmats Filters Hide Fields Speed DATA Set All Sync CRCS Bean PID CRCIB ClearAl FP ADDR HEF ENDP Timestampildle Frame User Data Hide Packets SOF PREamble FULL Speed LOW Speed Hide Transactions Advanced Hide NAK ed E User Defined Edit Save cave As Default Load Aral Cancel Step2 Use the Filters window to filter hide various fields packets and transactions from the Trace View screen You can modify these settings anyway you wish to display a specific area of a Trace Hide Fields Choose this option to display or remove the listed fields from the Trace View Hide Packets Choose this option to display or remove the listed packets from the Trace View Hide Transactions Choose this option to display or hide NAK ed transactions Advanced Hide Use Advanced Hide to establish extremely narrow criteria for hiding Trace elements Step 1 Select User Defined under Advanced Hide Step 2 Click Edit 45 CATC Chief User s Manual Version 1 7 The User Defined Hide window x General Events Event Groups hartenacStnassndacinawasahanves EDS SNUNTMEERR SERA NURKE LUCRO Bus Conditions Token Patterns Frame Patterns Data Patterns Device Requests Esternal Signals Uncheck All Cancel The User Defined Hide window has two tabs one to specify which events to hide and the other to set general criteria fo
105. rn around violation data toggle violation 13 CATC Chief User s Manual Version 1 7 Real time traffic capture filtering e 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 w th 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 USB Chief Manual Detach SECON CARR PWR REC TRG GEN gger Device oO 000 EM EE 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 manua
106. s ae Address 0403 Global Hub Class Address OsD4 Interface HID Class Address 0405 Interface 2 HID Class Address 0x05 Interface 0 Audio Class lass vendor Decoding Groups DO Y Assign to Recipient Keep Across Recordings Cancel Ampy Help The Request Reeipient field shows all the USB Class and Vendor Request Recipients found in the Trace file Displayed on the right are the names of Class Vendor decoding groups currently assigned to recipients If no decoding is assigned for a recipient nothing is displayed next to the address 69 CATC Chief User s Manual Version 1 7 Step 3 To select a recipient for which to assign or modify its Class Vendor decoding display the Class Vendor Decoding Groups drop down menu Request Recipients and Endpoints lt gt Class endor Decod Request Recipients Endpoints Request Recipient Class endor Decoding Address Os02 Global Hub Class Address O04 Global Hub Class Address 0x04 Interface HID Class Address O 05 Interface 2 HID Class Address 0x05 Interface Audio Class Class endor Decoding Groups n Assign to Recipient Ma Decoding Hub Class HID Class Printer Class Communication Class Audio Class Wireless Controller Bluetooth The drop down menu lists the defined Class Vendor request decoding groups Step 4 Inthe Request Recipient field highlight a Recipient Step 5 From the Class Vendor Decoding
107. s and Hide Packets criteria Step 8 Click Apply to see and edit your changes in the Trace View before exiting the Filters screen When you are satisfied with your selections Step9 Click OK For a more detailed explanation of how to use display filters see Display Options Switch to Transactions View A Transaction is defined in the USB specification as the delivery of service to an endpoint This consists of a token packet an optional data packet and an optional handshake packet The specific packets that make up the transaction vary based upon the transaction type The program default display mode is Packet View Before you can view decoded transactions you must switch from Packet View to Transactions View To select Transactions View Step 1 Right click from anywhere on the Trace View screen You see this drop down menu Display Options Show USE transactions Show USE transfers File Information Error Summary Timing Calculations Step 2 Select Show USB transactions The Trace View screen is re drawn to display Transactions 58 CATC Chief User s Manual Version 1 7 Transaction 21 pos 2 o0 Idle Frame CROS EOF OL B ADDF BB DATA Leer 2 oo ity Frame ce c EOP Idle Frame CRS EOF Idle Note This menu selection will display a checkmark next to Show USB transactions when you have selected it When you want to switch back to Packet View mode right click
108. s located at the bottom of the main display window Depending on the current activity the bar can be divided into as many as four segments 119 CATC Merlin Protocol Analyzer User s Manual Version 1 7 Recording Progress When you begin recording the left most segment of the Status Bar displays a Recording Progress Indicator em Trigger FSM Search Fwd YA Trigger FEMM Search Fed e Triggered FSAI Search Fund A mme Uploading EE done Search Fwd A As recording progresses the Progress Indicator changes to reflect the recording progress graphically In the Progress Indicator a black vertical line illustrates the location of the Trigger Position you selected in Recording Options e Pre Trigger progress is displayed in the field to the left of the Trigger Position in the before Trigger color specified in the Display Options e When the Trigger Position is reached the progress indicator wiggles as it waits for the trigger e After the trigger occurs the field to the right of the Trigger Position fills in the after Trigger color specified in the Display Options e When recording is complete the upper half of the progress indicator fills in white indicating the progress of the data upload to the host computer You should be aware of two exceptional conditions Ifa Trigger Event occurs during the before Trigger recording the before Trigger color changes to the after Trigger color to indicate t
109. s of packets other than SOF and NAKed Step 1 Click x in the Tool Bar You see the User Defined Hide Error screen User Defined Hide Nothing to hide defined Press OF to jump directly to the Setup dialog box Display Optans Filters E dit where You can specify packets transactions and or bus conditions to hide f Cancel Step 2 Click OK 56 CATC Chief User s Manual Version 1 7 You see the User Defined Hide Events window User Defined Hide Bus Conditions Token Patterns _ Frame Patterns OD ata Patterns Device Requests JEsternal Signals The window always displays with the User Defined Hide Events tab in front Step 3 In the Events window select the packets to be hidden Step4 Click the General tab You see the User Defined Hide General menu User D efined Hide Step 5 From the General menu select any multiple events you want to hide Step6 Click OK 27 CATC Chief User s Manual Version 1 7 You see the Display Options Filter window General Colors Formats Filters Hide Fields M Speed DATA Set All Syne ERES PID CRCIBE Clear All ADDR l EOP ENDP FP Timestamp Idle Frame User Data Hide Packets I SOF PREamble FULL Speed LOW Speed Hide Transactions Advanced Hide NAK ed E User Defined Edit Save Save As Default Load OK i Annly Cancel Step 7 Set the desired Hide Field
110. tg Step 3 Select a Generator Text File and click Open Exporting a Traffic Generation File When you use the Export feature to create a traffic generation file a pre recorded file is converted to utg format with all device traffic removed and only host traffic remaining You can use this file to emulate the host and determine whether the device under test is generating the correct traffic To export a traffic generation file Step 1 Select Export under File on the Menu Bar You see File Export menu Setup Record Generate Report Search View Window Help Open Ctrl i 3 Br Et sell Elo save As Frame ERGS EOP Idle Pint PintPrewiew Frame e P nt Setup Edit Comment CRES EOP Packets to Text Packet View Format Packets to Text Generator Text File Format 1 Sample2Chan usb Bee l 2 SampleD ata usb 3 deal usb Idle Frame CRCS EOF E 4 erors usb 5 VisualElements usb Exit Step 2 Select Packets to Text Generator Text File Format from the Export drop down menu 100 CATC Chief User s Manual Version 1 7 The Export to Generator Text window appears Export to Generator Text From Packet Tm To Packet 35680 Frame Numbering Generate Automatically C Keep Orginal Values Include MAK ed Transactions Include Device Side Packets OF Cancel Step 3 Enter the numbers of the first and last packets in the series you want to export N
111. th of up to 8 bytes to be used to trigger on Bus Conditions Step1 Select Bus Conditions under Event Groups General Events Actions Event Groups Packet Identifiers Token Patterns USB Reset Frame Patterns Device Request Single ended one Data Pattern HE Conditions F Suspend E Resume External Signals Uncheck All Select one ore more types of bus signaling For triggering Step 2 Select any or all of the available special bus signals to use as a Trigger 33 CATC Chief User s Manual Version 1 7 Errors Step 1 Select Errors under Event Groups General Events Actions Event Groups Packet Identifiers Bad Pid Token Patterns Bad Bit Stuffing Frame Patterns Bad CRC Dievice Request Bad EOP Data Patter Babble Start Violation Du een Babble End Violation or LOA BadFrame length Time out Bad Data Toggle Estemal Signals Uncheck All Select errors of different types for triggering Step 2 Use any combination of the listed packet signaling protocol errors as a Trigger External Signals Step 1 Select External Signals under Event Groups General Events Actions Event Groups Packet Identifiers Token Patterns Trigger Input D Frame Patterns T Input 1 Device Request Trigger Input 1 Data Pattern Trigger Input 2 Bus Conditions l Errars Trigger Input 3 A ONDA Trigger Input 4 Uncheck All Enable one or more
112. tions To complete your Recording Options settings use the features at the bottom of the Recording Options screen These features remain the same no matter which of the three Recording Options screens you are working in Click Save to save the currently specified Recording Options for use in future recording sessions Any file name can be specified though use of the rec is recommended if no extension is specified rec is added by default Click Load to load a previously saved rec file thus restoring a previous set of Recording Options The Save as Default function is equivalent to the Save function specifying the file name default rec Whenever you start up the Analyzer it automatically loads the default rec file if one exists Click OK to apply any changes and close this dialog box Click Cancel to cancel any immediate changes you have made and exit the Recording Options menu Recording Bus Data To start recording USB traffic once the appropriate Recording Options have been set Step 1 Select Start under Record on the Menu Bar 39 CATC Note Chief User s Manual Version 1 7 OR Click REL on the Tool Bar Your recording session can continue until 1t has finished naturally or you may need to stop manually by clicking Gm on the Tool Bar depending on how you set the Recording Options To manually stop recording Step 2 Select Stop under Record on the Menu Bar OR Click on the Tool Bar The manual S
113. to idle T0_E0F Start of Frame packet idle to End of f uto idle T0_E0F uto idle TO EOF uto idle TO EOF uto idle TO EOF uto idle TO EOF uto idle TO EOF uto idle TO EOF uto idle T0_E0F uto idle TO EOF SHEE HE 3E 3C 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 it first requests 64 bytes with a control transfer GET DESCRIPTOR Device 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 E 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 9 3 and only completes one IN transaction to find the bMaxPacketSize of the control A host first requests 64 bytes with a control transfer GET DESCRIPTOR Device endpoint Here we request 8 bytes only because we need to anticipate the idle 3 3C 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 9 3 9 3 3
114. top Recording feature is primarily of use when recording low speed traffic which can take a long time to fill the recording buffer When the recording session 1s finished the bus traffic 1s 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 Step3 Select Save As under File on the Menu Bar OR Click al on the Tool Bar You see the standard Save As screen Step 4 Give the recording a unique name and save it to the appropriate directory 40 CATC Chief User s Manual Version 1 7 Chapter 6 Display Options Use the Display Options menu to specify the way CATC Trace information is displayed To open the Display Options menu do one of the following Select Display Options under Setup on the Menu Bar OR Click m on the Tool Bar OR Right click anywhere on a Trace view screen and select Display Options from the drop down menu The Display Options window appears Display Options x General Colors Formats Filters oom Level M Enable Tips Hide Primary Iv No Wrap Hide Secondary Show Transactions Show Transfers End Of Packet Time C Show Time Show in Bit Time Time Presentation C Show Time Stamp C Show Idle Time Show Idle in Bit Time Ermor Scan upon Open Display Configuration Mame cate default S ave Save As Default Load Apply Cancel J
115. tream to the device When the host connection is detached the USB Chief supplies power to your device This setting 1s essential in preparing your setup for USB traffic generation Attach The upstream connection is reestablished When the host connection is detached your device enters a suspend state after 3ms since no SOFs are being transmitted and the bus termination floats to the idle state Edit Comment You can create view or edit the 100 character comment field associated with each Trace file Step1 Select Edit Comment under File on the Menu Bar The Edit comment for trace file window appears Edit comment for trace file his is a recording of a connection of a hub with a keyboard and MS 055 80 to another hub NN Step 2 Create view or edit the comment 85 CATC Note Chief User s Manual Version 1 7 Step3 Click OK Export Packets Use the Export Packets feature to convert a Packet to text or generator format You can use the information either to review past traffic output or to generate traffic in order to test your designs under realistic conditions To display the Export screen select Export from the File menu Setup Record Generate Report Search Wien Window Help Open Crit Ez e E Close Sg Ex Bar Bae Ext D save As A NIE Pint Cole Print Preview Frame Res ESP die Print Setup Export Packets to Test Packet View Format Packets to Text Gene
116. umber 0087 Traffic Generation enabled Firmware version 1 04 ROM 1 00 BusEngine version 417 30 Number of markers 3 Recording Options Options name Default Recording mode Snapshot Buffer size 0 10 MB Fost trigger amount BO of the buffer Original file name data usb Secondary Recording Timing Calculations When the BusEngine is configured for Secondary Recording these Timing Calculations options are changed in the Secondary Recording Timing Calculations window e From Packet To Packet Primary or Secondary Bus Utilization Primary or Secondary Channel 110 CATC Chief User s Manual Version 1 7 Timing and Bus Usage calculator Al ES From packet rs To packet 500 5 TOTAL TIME 361 933 ms Bus Utilization C Primam Seconday Time Usage Bandwidth Iv Global 0 010 Mb s Iv Low Speed 0 010 Mb s i Ful Speed 0 000 Mb s v Transactions wo Idle 0 074 Mbs Including Idle Iv Device dec wo Idle 0 008 Mb s Addr 5 Including Idle EndP Data Only 0 000 Mb s Advanced Filtering Off I Setup Min dw Out M Qualify Handshake H K T ACK Show Formulas Done Secondary Recording Transaction Summary A Transaction Summary report provides valuable information about the transactions occurring throughout the recording The report details the number of transactions transferred and sorts each by address and endpoint pair and specific type for both the Primary and Secondary Recording chan
117. version of USB Chief you are running by selecting About USB Chief from the Help menu x USB Chiefftm Software Version 1 33 Build B Copyright CATC 1338 USE Chief Firmware Version 1 00 BusEngine Version 1 QU Unit Serial Humber 1 00 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 Step1 Inthe About USB Chief screen verify which version of USB Chief Software you are currently running Step2 Find 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 Step3 Click on the first link to download the zipped Disk 1 files for your operating system Step4 Click on the second link to download the zipped Disk 2 files Step 5 Unzip the files into your choice of directory Step6 Click Start then Run and browse to where you unzipped the files Step7 Select the program named Setup and click Open Step 8 Click OK to run the Setup and begin the installation Step 9 Follow the on screen instructions to complete the installation Step 10 Read the Readme file for important information on changes in the release CATC Note Chief User s Manual Version 1 7 BusEngine and Firmware Upgrades To update the BusEngine and t
118. w so that all information associated with a packet fits onto one line If a packet 1s longer than the size of the window the horizontal scroll bar can be used to see the hidden part of the packet Select No Wrap under View on the Menu Bar Hide Devices Select Hide Devices to display only the address and endpoint combinations the user wants to see in the packet view Any address and endpoint combination from the Trace can be hidden or displayed 122 CATC Chief User s Manual Version 1 7 USB Chief Keyboard Shortcuts Several frequently used operations are bound to keyboard shortcuts Table 7 Keyboard Shortcuts Key Combination Shift I Go to PID IN Operation Print Shift P Go to PID PRE Go to Frame Non Empty 123 CATC Merlin Protocol Analyzer User s Manual Version 1 7 124 CATC Chief User s Manual Version 1 7 How to Contact CATC Call for technical support US and Canada 1 800 909 2282 Worldwide 1 408 727 6600 Write a letter Computer Access Technology Corp Customer Support 2403 Walsh Avenue Santa Clara CA 95051 1302 Visit CATC s web site http www CATC com Warranty and License Computer Access Technology Corporation hereafter CATC warrants this product to be free from defects in material content and workmanship and agrees to repair or replace any part of the enclosed unit that proves defective under these terms and conditions Parts and labor are warrant
119. wed be ce UR De S PARLE b E ed 36 Output Signaling Pin Assignments 0 0 0 0 ccc cece eee 36 Token Event Sequeneine um da ner ore orbe ee Hes edd 37 Pie P OU IN 2a a o RE OS a 37 Setting COUNEIS a Aa 37 TASC INOW bates X iia ii dae iti abite bete init 38 paving Recording Options vr AA A ERS He SS EET 39 Recordinb Bus Data iai ER a AAA 39 Chapter 6 Display ODUODS 324 Tue toe thy oe a RU S tees 41 General Display ODLDIOBS Fraser HUN DOCS CU OU a EUR Wa UE ERA IR 42 Color Display ODHODS cesto fut n Si ud iig unb e fu Aa Sm te uera 43 Formats Display Opinions 4 422282 eee ACE Wee ar U A LRL Wee eA o RE d 44 Filters Display ODpUODS os seen RNV ote boy Eu en 45 PATCH ENG EOS Stu M sob anced he feo en a ee Br dedo ded 45 AA E cient a A ee a tee a ete ea dui dut ee reese ae 45 Hide Transactions segetes dae tor ose aids ae aie ee 45 Advanced EIOS ei doeet lhe speaks Solow SACS SANE ida d eee 45 Saving Display Options 0 ccc eee eee eens 47 Chapter 7 Reading a CA TC Trace aao ons hate a 49 Trace View Fedes use ea 49 Del M tker 14er 3 oboe Rod ee ee re Belang 50 Bdibtor Iear Market a onl a oe A ee Narr Na 51 VIEW Raw Bi dex s eb RA AAA a 51 Measure Time from Trigger 0 0 eee eens 52 Measure Time 110m Marker cs o s 4 X300 D se rei era 53 DEAL D TOf LNG De XE ue rs Gab aetna ond Beatie a UI ear AAA 54 Expanded and Collapsed Data Formats 0 0 0 eee 54 Mew Data Block ideada ee EI ER ep

Download Pdf Manuals

image

Related Search

Related Contents

Maytag MBB1952HEW14 User's Manual  NuTAP-S61 User`s Manual  Sweex Neckband Headset    同意する  Guia do Usuário do Fax  サーモスタット付シャワーバス水栓  Lexmark 620 Printer User Manual  

Copyright © All rights reserved.
Failed to retrieve file