Teledyne LeCroy USBTracer_Trainer - Users Manual User Manual

Page 319

Advertising
background image

USB Protocol Suite User Manual

Chapter 11: Traffic Generation (2.0)

LeCroy Corporation

305

remote_wake

0 or 1

Host Generation Only.
Disable or enable Remote Wakeup. Default value
is 0, which disables Remote Wakeup. To enable
Remote Wakeup, set the value to 1.

eop

positive integer

Assign a positive integer for the length of the end of
packet (EOP).
The default value is the correct length
(2 bits of SE0, 1 bit of J).
The value is reflected by <val-1> bits of SE0 plus one
bit of J.

hi_eop

(AB CD) Hex

Used to generate a high speed EOP pattern.
The bytes are in the order they come across the bus,
and the bits within the bytes are in LSB to MSB order.
Maximum number of bytes allowed is 13.

idle

positive integer
or
TO_EOP

Defines the length of idle after the current packet.
Assign a positive integer or string to this key. The
positive integer indicates the number of full-speed or
low-speed bit times. The default value is around 4 bits
for Classic speeds and around 150 bits for High
speeds.
When this keyword is assigned a string TO_EOF,
USB Chief automatically calculates the amount of idle
remaining in the frame.
When handshaking with a device, you can use this
keyword to add idle where you anticipate a packet
being returned from the device.
The idle= key is always associated with the
proceeding packet or bus condition, so you should not
put file control keys between the packet or bus
condition statement and the idle= statement.

marker

string

Assign a string in quotation marks to be put in the
marker for the defined packet.

raw_data

(aa bb)

Use to send a non-modulo 8 number of bits in a
classic speed raw_data packet.
It is only valid in conjunction with the raw_data
statement.
Normally, every bit of the array defined in a
raw_data=(xx yy) type of statement would be sent.
However, particularly in the case where bit_stuff=off,
you need more control over the number of bits to be
output on the bus. By adding the statement
raw_data_bits = 11, only the first 11 bits of the
defined bytes are sent.
For the following case,
raw_data=(8F F0) raw_data_bits=13
the output bitstream would be:
1111 0001 0000 1
(Each byte is described in MSB to LSB format, but is
output on the wire in LSB to MSB format.)

Key Code

Format

Description

Advertising
This manual is related to the following products: