beautypg.com

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

Page 332

background image

Teledyne LeCroy Corporation

Format of Traffic Generation Files

332

 

 

USB Protocol Suite User Manual

file_speed

HIGH
HI
FULL
LOW

This must be included after the file_version= 
key to determine the speed of packets to be 
generated.
Values are HIGH, HI, FULL, or LOW. 
Example: file_speed=FULL
Only one file_speed= is allowed per .utg file, 
but low speed traffic on a full speed bus can be 
created by adding the speed=LOW key to a low 
speed packet in a file defined as 
file_speed=FULL. No other mixing of speeds is 
allowed. 
HI is the same as HIGH and was added to 
conform to the USB terms.

loop_count
wrap_count

0 through 
16382
or "infinite"

These two terms are interchangeable. 
Host Emulation Only. 
This key defines the loop count for each 
memory segment. 
Examples: loop_count=INFINITE or 
wrap_count=9

wrap
loop

HERE

This key marks the wrap point in the traffic. 
When generation is in Repeat mode, all the 
traffic before the wrap point is going to be sent 
once. All the traffic after the wrap point is going 
to be repeated in a loop. 
The usage of the keyword is wrap=HERE or 
loop=HERE
For Device Emulation, the value would be a 
memory segment number, so that the looping is 
associated with only that one endpoint, such as 
wrap=4.

skip

HERE

Causes a region in the .utg file to be ignored, as 
if commented out. 
Can be used multiple times in the file. 
Must be used in conjunction with 
skip_end=HERE. Example:
skip=HERE frame=auto makes this statement 
be ignored!
skip_end=HERE

skip_end

HERE

Causes a region in the .utg file to be ignored, as 
if commented out. 
See above in skip=HERE.

Key Code

Format

Description