beautypg.com

Teledyne LeCroy USB Protocol Suite User Manual (Voyager_Advisor T3_Mercury) User Manual

Page 336

background image

Teledyne LeCroy Corporation

Format of Traffic Generation Files

336

 

 

USB Protocol Suite User Manual

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