beautypg.com

Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 88

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

Using Initiator/Host Emulator API Functions 88


After setting the Outgoing error attributes, start with setting Error Injection on each of the

Outgoing frame options, such as Frame Type error, Frame Length Error, SOF Error, EOF Error,

CRC Error, Remove Frame From Sequence, Code Violation Error, Disparity Error, Insert Primitive,

Delay in Sending Frame, No WTRM, Code Violation on SATA Primitive, Disparity Error on SATA

Primitive, Ignore XRDY/RRDY sequence, Delay in HOLD Response, and Fill Byte for Reserved

Fields.
Each of the above options has a respective method call for Error Injection:

Outgoing Frame Error

Injection Options

Function Name

Frame Type Error

ErInjSetFrameErrorType ()

Frame Length Error

ErInjSetFrameLengthError ()

SOF Error

ErInjSetSOFError ()

EOF Error

ErInjSetEOFError ()

CRC Error

ErInjSetCRCError ()

Remove Frame From Sequence

ErInjSetOmitFrameFromSequence ()

Code Violation Error

ErInjSetCodeViolationError ()

Disparity Error

ErInjSetDisparityError ()

Delay in Sending Frame

ErInjSetSendingFrameDelay ()

No WTRM

ErInjSetNoWTRM ()

Code Violation on SATA

Primitive

ErInjSetCodeViolationOnSATAPrimitive

()

Disparity Error on SATA

Primitive

ErInjSetDisparityErrorOnSATAPrimitive

()

Ignore XRDY/RRDY sequence

ErInjSetIgnoreXRDYorRRDY ()

Delay in HOLD Response

ErInjSetDelayResponseToHold ()

Fill Byte for Reserved Fields

ErInjSetFillByteForReservedField ()

Insert Primitive

ErInjSetInsertPrimitive ()