beautypg.com

Teledyne LeCroy USB Protocol Suite User Manual (Voyager_Advisor T3_Mercury) User Manual

Page 335

background image

    

USB Protocol Suite User Manual

335

Format of Traffic Generation Files

 Teledyne  LeCroy Corporation

end_config

HERE

Terminates the region in the file used for 
configuring the endpoints. 
See begin_config
Syntax example: end_config=HERE

config_endpoint

CONTROL
INTERRUPT
ISOCHRONO
US
BULK

Begins a statement that defines a particular 
endpoint's type, default retry behavior 
(Host Generation only), and memory segment 
(Device Emulation only).
Usage example: config_endpoint=BULK addr=1
endp=3 direction=OUT retry=TRUE
retry_next_frame=FALSE

endp_mem_seg

1
2
3
4
5
6
7
8

Device Emulation Only. 
Separates each endpoint function into a 
different queue (also referred to as a Memory 
Segment) of commands and responses. 
There are a maximum of eight of these queues, 
and each has a unique address/direction 
combination. 
For control endpoints, one queue is shared by 
both directions of the endpoint. 
Traffic on the Default Endpoint (Address 0, 
Endpoint 0) shares the same queue as the 
endpoint 0 of the selected device address (the 
address it gets from the Host through the 
SetAddress request). 
These always use endp_mem_seg=1
These are all set automatically when exporting a 
trace file to a Device Emulation .utg file.

direction

IN
OUT

Defines the transfer direction of data for the 
specified endpoint. 
For all transfer types but CONTROL, there can 
be two distinct logical connections using the 
same address and endpoint. They would differ 
only in defined direction. 
Syntax example: direction=IN

Key Code

Format

Description