3 run the traffic generation script file – Teledyne LeCroy USBTracer_Trainer - Users Manual User Manual

Page 307

Advertising
background image

USB Protocol Suite User Manual

Chapter 11: Traffic Generation (2.0)

LeCroy Corporation

293

11.9.3 Run the Traffic Generation Script File

Step 1 Connect the system's port B (either Hi Speed or Classic Speed) to the Host.

Step 2 Open the Traffic Generation .utg file.

Step 3 Begin traffic generation by clicking

.

When execution begins, the system reads the entire generation file and then parses the
generation commands into groups according to their endpoints. Each of the parsed
groups of commands are then written into dedicated memory segments in the generator.
Up to eight memory segments can be created for the various endpoints. In the case of
Endpoint 0 or any Control endpoints, a single memory segment is created.

Each memory segment can be thought of as a queue of the commands and responses
for a particular endpoint that occur in the generation file.

Commands are stored sequentially within each memory segment as they occur in the
generation file. For example, if a generation file has a sequence of command X and Y for
the Endpoint 1, the commands are extracted in this order and placed in the Endpoint 1
memory segment.

When the host calls for a particular device endpoint response, the first command listed in
that endpoint memory segment is then executed. With each subsequent call to the same
endpoint, commands are executed sequentially down the list as they occur in the memory
segments. For example, if three calls were made to Endpoint 0 IN, then the first three
commands in that endpoint's memory segment would then execute.

Note: Each of the endpoint memory segments execute independently: there are no

behavioral interactions between the individual endpoints.

Advertising
This manual is related to the following products: