Trainer Script Enhancements - LeCroy Sierra M6-2 User Manual

Sas/sata protocol analyzer
Table of Contents

Advertisement

Trainer Script Enhancements

Example:
Trainer Script Enhancements
The Trainer script language can already produce SAS/SATA Primitive Sequences and
Frames.
The Trainer script enhancements described in this section allow generation of Commands
and Application Layer sequences (as in the Exerciser), by processing received frames,
making complex decisions, and generating the contents of frame in run‐time, for both RX
and TX. Variables can keep the run‐time state of the bus. Low‐level commands can
manipulate variables and use variables to create patterns.
Trainer language can perform SATA compliance tests with fast SSD devices and provide a
SSD performance test tool with limited output data patterns. Trainer has sequential/
random LBA command generation and full NCQ support.
Trainer can be programmed to act as SAS Initiator, SAS Target, SATA Host, or SATA Device.
SAS Initiator
As an Initiator, Trainer can send commands in all protocols (SSP/STP/SMP) and interact
with its peer to complete the command in normal conditions and some popular error
conditions. Limitations are:
SAS Target
As a Target, Trainer can receive commands in all protocols (SSP/STP/SMP) and respond to
them in normal conditions or some popular error conditions. Limitations are:
       
S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual
LOOP( 50 )
{
"CHAIN (ONE)"
"CHAIN (TWO)"
Some_Frame
$Y = Some_Frame { Data = 256, 0xFEFEFEFE }
Y
Change Y { Field32 = x }
Y
Y
}
Uses only one command at a time.
Does not save Read data or reuse bulk read data for next commands.
Sends only limited Write data patterns.
Has tight flow control, due to limited RX frame processing.
Uses only one command at a time. Command queuing is not supported.
Does not save incoming write data. Sends back data for all LBAs or generates
counter/random data. Cannot be used as a real formatted partition.
Has tight flow control, due to limited RX frame processing.
LeCroy Corporation
407

Advertisement

Table of Contents
loading

Table of Contents