Device Emulation; Creating A Generation File; Setting Generation Options - LeCroy USB Protocol Suite Advisor T3 User Manual

Table of Contents

Advertisement

Chapter 11: Traffic Generation (2.0)

11.9 Device Emulation

Device Emulation is a licensed option that allows the system to generate device-side
traffic. Like host traffic generation, device emulation uses text-based generation files
(.utg) to generate traffic.
Device emulation has three steps: create a generation file, configure generation settings,
and then generate traffic.

11.9.1 Creating a Generation File

Generation files can be created one of two ways:
If you decide to use a pre-recorded trace file as a generation blueprint, then verify that
the trace file contains traffic for only one device. If it does not, hide all the other devices
(Setup > Level Hiding) and save the file as a new file without the hidden traffic (File >
Save As and check the option Do not save hidden packets/transactions/transfers).

11.9.2 Setting Generation Options

Step 1 Set the Traffic Generation options by configuring the Misc page in the Recording
Step 2 In the Misc page, select Device Emulation Mode.
Step 3 Configure Resume settings.
Note:
Step 4 Click OK to close the Recording Options dialog and apply the changes. The
292
Write a generation script file using either LeCroy's context-sensitive script
editor or any text editor that you choose.
OR
Use a pre-recorded trace file that has the type of traffic that you want to
generate. This file is a blueprint for the traffic generation script file.
Options dialog box:
Setup > Recording Options > Misc
If you want the simulated device to issue Resumes, then select Device
Resumes and enter a delay time (in milliseconds). If you do not select
Device Resumes, then the emulated device waits for a Host to issue a
Resume.
If you want the simulated device to take its address from the Traffic
Generation (.utg) script file, then select Use Address in .utg file. This
option causes the system to read the .utg file and assign a Device
Address based on the device traffic that it sees in the file.
In this release, the Device Emulator does not look at the Set Address in the
script, so if your host controller is running more than one device, it may
enumerate your device emulator incorrectly when you begin to generate
traffic. The solution is to manually assign a device address. To manually
configure the Device Address, select Emulated Device's Hex Address and
enter an address or mask (Note: A mask allows the system to respond to
multiple device addresses.)
generation settings take effect as soon as you execute a script.
USB Protocol Suite User Manual
LeCroy Corporation

Advertisement

Table of Contents
loading

Table of Contents