5 connecting the trainer – Teledyne LeCroy Sierra M124 User Manual User Manual
Page 312
![background image](/manuals/353609/312/background.png)
Teledyne LeCroy
Sierra Trainer Generation Language
310
Sierra M124 SAS/SATA Protocol Analyzer User Manual
}
Example:
LOOP( 50 )
{
"CHAIN (ONE)"
"CHAIN (TWO)"
Some_Frame
$Y = Some_Frame { Data = 256, 0xFEFEFEFE }
Y
Change Y { Field32 = x }
Y
Y
}
5.11.5
Connecting the Trainer
Three methods are available for connecting the trainer:
Use the Connect command to connect and perform transmitter training.
Use the new commands to handle the transmitter training manually (see
ual Transmitter Training Commands and Descriptions
Use the Send_Train_TX_Window command to send transmitter training auto‐
matically and use other commands for speed negotiation.
The SATA scripts should be run in SAS mode.
Manual Transmitter Training Commands and Descriptions
Send_TTIU (32'b DATA/Variable, Idle count, Repeat number)
This instruction is mainly for sending a specific TTIU with variable number of Idles. 32 bit
TTIU value can be specified either by directly specifying the 32 bit data or by specifying a
variable. When the variable name is recognized, the trainer reads the data in the
specified variable and considers it as the TTIU value. The Idle count defines the number
of idles to be transmitted after the 32 bit TTIU and the repeat number defines the
number of times the same TTIU is to be transmitted.
Example:
Var32 @ttiu =0x00006000
Generation {
Send_ttiu (0x00006000, 0x36, 0xA) //ttiu with specific data
Send_ttiu (@ttiu, 0x36, 0xA) //TTIU with variable
}
Wait_For_TTIU(DATA/Change TTIU , MASK
This instruction waits for a specific TTIU. During the execution of this instruction, the
previously transmitted TTIU is transmitted. The user can trigger a wait for a specific TTIU
or change the TTIU, or a part of TTIU, by specifying the 32 bit mask value.
The default mask value is set to all ones. The application waits for all 32 bits to match the
received TTIU. Changing the mask value provides the flexibility to wait for some specific