Teledyne LeCroy USBTracer_Trainer - Users Manual User Manual

Page 320

Advertising
background image

Chapter 11: Traffic Generation (2.0)

USB Protocol Suite User Manual

306

LeCroy Corporation

raw_data_bits

integer

Use to send a non-modulo 8 number of bits in a
classic speed raw_data packet.
It is only valid in conjunction with the raw_data
statement.
Normally, every bit of the array defined in a
raw_data=(xx yy) type of statement would be sent.
However, particularly in the case where bit_stuff=off,
you need more control over the number of bits to be
output on the bus. By adding the statement
raw_data_bits = 11, only the first 11 bits of the
defined bytes are sent.
For the following case,
raw_data=(8F F0) raw_data_bits=13
the output bitstream would be:
1111 0001 0000 1
(Each byte is described in MSB to LSB format, but is
output on the wire in LSB to MSB format.)

bit_stuff

OFF
ON

Assign the string OFF to disable bit stuffing within the
current packet.
The default value is ON.

sync

integer
1-40

Assign an integer from 1 to 40 to represent the sync
field. The integer is the number of zeros transmitted
before the one.
For Low and Full Speed files, the default value is 7 to
give a sync of 00000001.
For High Speed files, the default value is 31 resulting
in a sync of 00000000000000000000000000000001.

retry
ping_on_retry
ping_on_nak
retry_next_frame

TRUE
FALSE

Host Generation Only.
These four keys may be applied to individual packets
to override the behavior in a given instance.
Normally, they are used in the config_endpoint
statement.
See their descriptions in the Endpoint Configuration
section earlier.

Keys for Class Decoding
These keys are populated into the .utg. script file automatically whenever the menu command
File > Export to .utg file is run. These keys do not need to be edited.
sd_prod
sd_vend
sd_bm_req_type
sd_interface
sd_host_id
sd_class_code
sd_subclass
sd_protocol
sd_end_sd

Key Code

Format

Description

Advertising
This manual is related to the following products: