Teledyne LeCroy USBTracer_Trainer - Users Manual User Manual

Page 316

Advertising
background image

Chapter 11: Traffic Generation (2.0)

USB Protocol Suite User Manual

302

LeCroy Corporation

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.

empty_frame

integer

Host Generation Only.
This key creates a sequence of start of frame packets
with idle=TO_EOF values for the idle time. This
results in N empty frames, where N is the integer
value specified.
If the branch speed is LOW, the frames contain only
the keep-alive standalone EOP's. This key makes for
an easier to manage .utg file by eliminating the need
for many lines of frame=AUTO idle=TO_EOF
statements.
Usage:
empty_frames=23; insert 23 empty frames here

host_exp_pid

PID

Device Emulation Only.
Defines the PID that is expected to be received from
the Host.
The Device Emulator waits until this PID has
completed before sending the next generated packet.
The key should be assigned to a valid packet
identifier string per the USB specification: SETUP, IN,
OUT, DATA0, DATA1, ACK, DATA2, or MDATA.
PRE and PING are for Hubs only and are not
supported.
Each memory segment waits forever until it receives
the expected PID to its address/endpoint, so the user
may have to hand edit the file to achieve the desired
results.
Each endpoint memory segment acts independently.

Key Code

Format

Description

Advertising
This manual is related to the following products: