Teledyne LeCroy Sierra M122 User Manual User Manual

Page 312

Advertising
background image

Teledyne LeCroy

Sierra Trainer Generation Language

310

 

 

Sierra M122 SAS/SATA Protocol Analyzer User Manual

Training_ERROR_COUNT

This instruction is for accessing the error count of the received Dwords. This gives 
flexibility to the user to change the remote tx parameters to get the optimal link with 
minimal errors.

Example:

Var32 @error_count

Generation

{

Send_ttiu ((0x00006000, 0x36, 0xA)

Wait_ttiu (change_ttiu , 0x00004000)

@error_count= Training_ERROR_COUNT;

If(@error_count<2)

{

Send_ttiu ((0x0000A000, 0x36, 0xA)

}

}

Reset_Training_ERROR_COUNT

During manual Tx_Training resetting error _count can be done using this command.

Example

:

Var32 @error_count

Generation

{

Send_ttiu ((0x00006000, 0x36, 0xA)

Wait_ttiu (change_ttiu , 0x00004000)

@error_count= Training_ERROR_COUNT;

If(@error_count<2)

{

Send_ttiu ((0x0000A000, 0x36, 0xA)

Rest_Training_Error_count

}

}

Change_Local_tx_parameter(16'b data/variable)

This instruction is to change the Local tx parameters. It takes either 16 bit data or 16 bit 
variable which represents the control word of the TTIU. When this command is given, the 
32 bit data or 16 bit variable value is written to the constant variable memory location 
(address location is 511)

Example

:

var32 @received_control

var32 @Status

var32 @ control=0x00100000

var32 @temp

Generation

{

Advertising