Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
407
Trainer Script Enhancements
LeCroy Corporation
Example:
LOOP( 50 )
{
"CHAIN (ONE)"
"CHAIN (TWO)"
Some_Frame
$Y = Some_Frame { Data = 256, 0xFEFEFEFE }
Y
Change Y { Field32 = x }
Y
Y
}
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:
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.
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:
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.
Содержание Sierra M6-2
Страница 18: ...LeCroy Corporation Contents 16 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Страница 42: ...LeCroy Corporation Viewing Captured Data 40 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Страница 192: ...LeCroy Corporation Target and Device Emulation 190 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Страница 241: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 239 Search LeCroy Corporation Figure 3 64 SAS Search Data Pattern ...
Страница 314: ...LeCroy Corporation Running Verification Script Engine VSE 312 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Страница 462: ...LeCroy Corporation Resetting the Toolbar 460 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Страница 468: ...LeCroy Corporation 466 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...