beautypg.com

6 trainer script enhancements – Teledyne LeCroy Sierra M122 User Manual User Manual

Page 318

background image

Teledyne LeCroy

Sierra Trainer Generation Language

316

 

 

Sierra M122 SAS/SATA Protocol Analyzer User Manual

Set Auto_TxUpdate:

This setting is for manual Tx training. When Auto_TxUpdate is set to true, the Local tx 
parameters will be updated automatically depending on the received control word and as 
result the  Tx_status_word is updated accordingly. When set to FALSE, Tx parameters is 
controlled by the script.

TRAINING_ERROR_COUNT, Change_local_tx_parameter, Tx_status_word   

This command instructs the hardware to create separate variables with pre‐defined 
addresses. When the user specifies this command, the software compiles the commands 
into variable commands with specific pre‐defined variable addresses.

5.11.6

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.