beautypg.com

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

Page 340

background image

Teledyne LeCroy Corporation

Format of Traffic Generation Files

340

 

 

USB Protocol Suite User Manual

device_pid

pid string

Use this as the first key of most packets sent by 
a device. 
The key should be assigned to a valid packet 
identifier string per the USB specification: 
DATA0, DATA1, ACK, NAK, STALL, NYET, DATA2, 
MDATA, EXT, or LPM. 
Normally, the device_pid= statement is NOT 
present in a Host Generation .utg file, because 
the device responses are intended to come 
from real devices. By default, Host Generation 
files exported from Trace Files do NOT include 
device_pid= statements. 
Warning: If you specify PID=0xNN, you must 
use raw_data=( ) to specify the rest of the 
packet data, because the packet structure is 
unknown.

frame

11 bits
or
AUTO
KEEP_ALIVE

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. 
Note: An explicit frame number is supported 
only when the generator is in "Bitstream 
Mode".
AUTO instructs the generator to increment the 
frame number automatically. 
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).
For Device Emulation, this statement is ignored 
by the Device Emulator, but serves to organize 
the .utg file in a more readable manner.

Key Code

Format

Description