beautypg.com

Teledyne LeCroy FireInspector - Users Manual User Manual

Page 102

background image

92

CATC F

IRE

I

NSPECTOR

2.01

C

HAPTER

7

User’s ManualTraffic Generation

Any packet except PHY and control packets may contain a speed key to set the speed of the
packet on the bus. For example:

speed=S100

. See Table 7-4, “Keys for Asynchronous

Packet Fields,” on page 94, and Table 7-5, “Keys for Isochronous Packet Fields,” on
page 94 f
or details on possible speed key values.

The following tables list the supported keys for defining fields within a packet.

Table 7-1: Packet Starting Keys

Key Code

Size (bits)

Description

tcode

n/a

This is the first key of an asynchronous or isochronous packet. Should be assigned
to a valid tcode per the 1394 standard.

control

n/a

This is the first key of a control packet. Should be set to valid control packet value
(see Control Packet Types for possible values)

phy_packet

32

This is the only key to generate a PHY packet. Should be set to the raw 32-bit
value of a PHY packet to be generated. The parity will automatically be sent.

Table 7-2: Control Packet Types

Key Code

Size (bits)

Description

reset

n/a

Resets the bus. The only two possible control packet key inside a reset control
packet are reset_type, which sets the reset type to be started on the bus, and
gap_cnt.

Example:

control = reset reset_type = full

iso_start

n/a

Starts ISO traffic. The only valid control packet key inside this control packet is
channel. Up to four channels can be started by the control packet.

Example:

control = iso_start channel = 20

channel = 21 channel = 22 channel = 23

iso_stop

n/a

Stops ISO traffic. The only valid control packet key inside this packet definition is
channel. Up to four channels can be stopped by the control packet.

Example:

control = iso_stop channel = 20

channel = 21 channel = 22 channel = 23

delay

n/a

Delays traffic on the bus. The only valid control packet key inside this packet
definition is delay. The value of that key defines the time delay, in milliseconds,
on the bus. The following example will delay traffic on the bus for 0.5 seconds.

Example:

control = delay delay = 500

start_errors

n/a

Starts generation of erroneous packets on the bus. The only two possible control
packet keys for this packet definition are crc_phy and ack. These will create bad
values for CRC, bad PHY packets or bad acknowledge values for packets on the
bus.

Example:

control = start_errors crc_phy = 1

ack = 1

stop_errors

n/a

Stops generation of erroneous packets on the bus. The only two possible control
packet keys for this packet definition are crc_phy and ack. These will stop
creating bad values for CRC, bad PHY packets or bad acknowledge values for
packets on the bus.

Example:

control = stop_errors crc_phy = 0

ack = 0