Creating Traffic Generation Files; Creating A Traffic Generation File With The Export; Command - LeCroy USB Protocol Suite Advisor T3 User Manual

Table of Contents

Advertisement

Chapter 11: Traffic Generation (2.0)

11.3 Creating Traffic Generation Files

If you choose to write a script with a text editor, a good way to start is to edit an example
generation file, such as FS_Enum_Break_Wrap_Sample.utg, HS_Hub_Sample.utg,
or SampleDeviceEmulationThumbDriveFS.utg, in the directory
C:\Program Files\LeCroy\USB Protocol Suite\SampleFiles\2.0\Trainer. You can
open a generation file with Notepad or other editor and then add or remove text as
needed.

11.3.1 Creating a Traffic Generation File with the Export

Command

The Export command offers an easy alternative method of creating a generator file. This
command converts the trace to a *.utg file, removes all device traffic, and leaves only the
traffic from the host device. You can then use this file to emulate the host and determine
whether the device under test is generating the correct traffic.
When creating a .utg file through the Export Packets to Text (Generator Text File Format)
menu selection, it is suggested that you use the default values presented. Adding NAK
transactions clutters the .utg file, and including the device side packets creates a .utg file
which does not work with a real device attached.
To use the Export command:
Step 1 Start the application.
Step 2 Open a trace that has the pattern of traffic that you would like to generate.
Step 3 Select File > Export from the menu bar to display the File Export menu:
284
USB Protocol Suite User Manual
LeCroy Corporation

Advertisement

Table of Contents
loading

Table of Contents