beautypg.com

9 stop traffic generation, 10 device emulation, 1 creating a generation file – Teledyne LeCroy USB Protocol Suite User Manual (Voyager_Advisor T3_Mercury) User Manual

Page 328: 2 setting generation options

background image

Teledyne LeCroy Corporation

Stop Traffic Generation

328

 

 

USB Protocol Suite User Manual

11.9 Stop

Traffic

Generation

To instruct the Analyzer to halt traffic generation: 

Click 

 on the Tool Bar.

11.10 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.10.1 Creating a Generation File

Generation files can be created one of two ways:

Write a generation script file using either Teledyne 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 gener‐
ate. This file is a blueprint for the traffic generation script file.

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.10.2 Setting Generation Options

1. Set the Traffic Generation options by configuring the Misc page in the Recording 

Options dialog box: Setup > Recording Options > Misc

2. In the Misc page, select Device Emulation Mode.
3. Configure Resume settings.

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 sys‐
tem to read the .utg file and assign a Device Address based on the device traffic 
that it sees in the file.

Note:

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.)