Teledyne LeCroy USBTracer_Trainer - Users Manual User Manual

Page 318

Advertising
background image

Chapter 11: Traffic Generation (2.0)

USB Protocol Suite User Manual

304

LeCroy Corporation

Keys for Packet Fields
speed

LOW

Used to cause a low speed packet on a full speed
branch.
The only legal value is speed=LOW.

addr

7 bits (0-127)

Assign a value for the address field.

endp

4 bits (0-15)

Assign a value for the endpoint number field.

hub_addr

7 bits (0-127)

Host Generation Only.
Assign a value for the hub_address field of a SPLIT
packet.

port

7 bits (0-127)

Host Generation Only.
Assign a value for port field of a SPLIT packet.

data

(AB CD)

Assign data bytes for the data field.
Use the following syntax:
data=(12 34 56 78 90 AB CD EF DC 13 40 78 11 CA
70 65)
You can wrap bytes of the data field to the next line.
The bytes are in the order they come across the bus,
and the bits within the bytes are in MSB to LSB order.
Maximum number of bytes allowed is 1049.

crc

5 bits (0x0-0x1F)
or
16 bits
(0x0-0xFFFF)

Assign a value for the crc field.
The default value is the correct crc calculated for the
packet.

s

0 or 1

Host Generation Only.
Assign a value for the s (High Speed SPLIT
Start/Speed) field.

sc

0 or 1

Host Generation Only.
Assign a value for the sc (High Speed SPLIT
Start/Complete) field.

e

0 or 1

Host Generation Only.
Assign a value for the e (High Speed SPLIT End)
field.

et

0 to 3

Host Generation Only.
Assign a value for the et (High Speed SPLIT Endpoint
Type) field:
0 = Control
1 = Isoch
2 = bulk
3 = Interrupt

hird

4 bits (0-15)

Host Generation Only.
Assign the Host Initiated Resume Duration.
Default value is 0. For a description of the values
1 through 15, see the Link Power Management
Specification
.

link_state

4 bits (0-15)

Host Generation Only.
Assign the link state. Currently, the only legal
link_state value is 1, for L1 (Sleep). Default value is 0,
so set the link_state value to 1.

Key Code

Format

Description

Advertising
This manual is related to the following products: