beautypg.com

Teledyne LeCroy Sierra M124 User Manual User Manual

Page 307

background image

    

Sierra M124 SAS/SATA Protocol Analyzer User Manual

305

Sierra Trainer Generation Language

Teledyne LeCroy

# RawData with variables embedded

RawData { 

K28.5 D24.0 D30.0 D01.4 

@variableName1 

50 00 62 B0 

00 00 00 30 

50 08 05 EF 

$C 

00 00 00 01 

00 00 00 00 

SendCRC 

K28.5 D24.0 D07.3 D31.4 }

}

When there are variable values in RawData, you must include SendCRC command instead 
of last dword. Otherwise, wrong CRC value will be sent.  The constraints are: 

 Variables are not allowed on First and LAST DWORD (instead of start/end 
frames). 

SendCRC is only supported on last DWORD before end of frame.

Sending OpenAddressFrame Using
Standard Frame Templates

Sending the Same
OpenAddressFrame Using Raw Data
Mechanism

 SendOpenAddressFrameSTP    {
SourceAddress      = { 500805EF FFFF0041 }
DestinationAddress = { 500062B0 00000030 
}
        ArbitrationWaitTime = 0x1
        AccessZoneManagement= 0x0
        SourceZoneGroup     = 0x0
        ConnectionRate      = 0x8
        Features            = 0x0
        InitiatorConnectionTag = 0x1
        InitiatorPort       = 0x0
        MoreCompatibleFeatures = 0x0
        PathwayBlockedCount = 0x0
      # CRC = 0x050F19E0  # good crc    }

Set ScramblingMode = 
SCRAMBLING_MODE_SAS    
RawData {
 K28.5  D24.0  D30.0  D01.4
   21       08        00        01
   50       00        62        B0
   00       00        00        30
   50       08        05        EF
    FF       FF        00        41
    00      00        00        01
    00      00        00        00
    05      0F        19         E0
 K28.5  D24.0  D07.3  D31.4 }
* CRC is inserted manually