Teledyne LeCroy USBTracer_Trainer - Users Manual User Manual

Page 312

Advertising
background image

Chapter 11: Traffic Generation (2.0)

USB Protocol Suite User Manual

298

LeCroy Corporation

direction

IN
OUT

Defines the transfer direction of data for the specified
endpoint.
For all transfer types but CONTROL, there can be two
distinct logical connections using the same address
and endpoint. They would differ only in defined
direction.
Syntax example: direction=IN

retry

TRUE
FALSE

Host Generation Only.
Defines whether an automatic retry should be
performed on packets to/from this endpoint in the
case that they are NAKed (or in some cases
NYETed), or if a timeout on device response occurs.
RETRY only works for the Pids: Setup, In, and Out.
If TRUE, the Exerciser automatically retries the
specified sequence if a Pid is received on the bus
which does not match the expected_pid, or if a
timeout occurs.
The generator re-issues the host packet(s) after
waiting either 1/10th of a frame, or until after the next
start-of-frame (depending on the value set for
retry_next_frame).
The retries continue until the expected_pid is
received.
When a retry attempt finds its expected_pid, the
Exerciser automatically generates a new
start-of-frame before continuing with the rest of the
Gen File. (The start-of-frame is either an SOF packet
or a keep-alive signal.)
If FALSE, the Exerciser waits for a Pid before
proceeding. There is no timeout.
If a Pid is received which does not match the
expected_pid, the Exerciser continues to wait for the
correct Pid to appear.
If the user stops the generation, a message states
that the generator was waiting patiently for the
expected_pid, and it never showed up. The user
must examine the problem by viewing the trace file.
This statement can also be used in conjunction with
any pid=xxx statement in the .utg file. This can be
done to override the configured or default retry
behavior.
Syntax example: retry=TRUE

Key Code

Format

Description

Advertising
This manual is related to the following products: