
Teledyne LeCroy
Trainer Script Enhancements
470
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
5.13.5 Using Variable Values in Creating Patterns on Bus
In creating patterns to send on bus, trainer script allows using variables. In these cases,
because the created pattern is dynamic, it is not possible to do scrambling and calculating
in software code. These tasks are done in the hardware engine. To activate, set “Auto
scramble mode” in “on” state.
The following examples show uses of variables in creating patterns.
Use
variable
for
field
value:
SendOpenAddressFrameSSP
{
InitiatorPort = 0x1
InitiatorConnectionTag = @variableName1
…...
}
The constraints are:
Field Length bigger than 64 bit is not supported.
Field StartBitOffset and EndBitOffset should be in same DWORD, except for
length bigger than 32.
Use
LRF
directly
for
field
value:
SendSSPFrameCommand_Initiator
{
Data = LRF[startBitOffset:endBitOffset]
Tag = 0x101
}
The constraints are:
Length bigger than 64 bit is not supported.
Offsets (StartBitOffset and EndBitOffset) should be in same DWORD, except for
length bigger than 32.
SendSSPFrameCommand
{
#Data = {00112233 @variableName1 @variableName2 44556677}
}
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 }
}
Summary of Contents for Sierra M6-2
Page 37: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 35 Expandability Teledyne LeCroy ...
Page 375: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 373 Interface Teledyne LeCroy ...
Page 436: ...Teledyne LeCroy Scenario Batch Files 434 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Page 526: ...Teledyne LeCroy 524 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...