Teledyne LeCroy USB Chief - Users Manual User Manual

Page 104

Advertising
background image

96

Chief User’s Manual

CATC

Version 1.7

A bus condition definition starts with one of these assignments:

file_speed=N (where N is a string ‘LOW’)

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 values 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 0x.

Table 3: Support Keys for Defining Fields within a Packet

Key Code

Format

Description

Packet Starting Keys

pid

8 bits
or
string

Use this as the first key of most packets (use frame for SOF packets). The key
should be assigned to a valid packet identifier string per the USB specification:
‘SETUP’, ‘IN’, ‘OUT’, ‘DATA0’, ‘DATA1’, ‘ACK’, ‘NAK’, ‘STALL’, or
‘PRE’. Optionally, you may assign this key a raw eight bit value to force an error
condition.

frame

11 bits
or
string

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).

Bus Condition Keys

file_speed

string

Assign a string LOW to this key at the beginning of a ‘dot’ UTG file to indicate
low-speed traffic generation on a low-speed branch.

NOTE: The default file speed is FULL. Use this setting only when you want to
change the file speed setting to LOW.

reset

positive
integer
or
string

Assign a positive integer to this key that indicates the number of microseconds that
single-ended zeros (SE0) are driven onto the bus. This key can also be assigned
the string ‘LS_EOP’ to drive two low-speed bit times of SE0 followed by one bit
time of J.

suspend

positive
integer

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.

resume

positive
integer

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

string

Assign the string ‘LOW’ or ‘FULL’. The default value is full-speed.

addr

7 bits

Assign a value for the address field.

endp

4 bits

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.

Advertising