beautypg.com

Modify settings, Modify sas specific configuration settings – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 122

background image


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

Using Target/Device Emulator API Functions 122

STDMETHOD

(ErInjSATASigSetInsertPrimitive) (

/*[in]*/

BOOL bEnable,

/*[in]*/

int

nPrimitiveType,

/*[in]*/

PrimitiveTypeEnum ePrimitiveGroupType,

/*[in]*/

short

iOffsetFromFrameStart,

/*[in]*/

short

iRepeatCount,

/*[out]*/

int

* pnRetVal);

STDMETHOD

(ErInjSATASigSetFillByteForReservedField) (

/*[in]*/

BYTE yFillByte,

/*[out]*/

int

* pnRetVal);

STDMETHOD

(ErInjSATASigSetFrameLengthError) (

/*[in]*/

BOOL bEnable,

/*[in]*/

FrameLengthErrorTypeEnum eFrameLengthError,

/*[in]*/

int

nFrameLength,

/*[out]*/

int

* pnRetVal);

Usage

->

();

Return Value None
Description Call the respective functions to set error injection on SATA Signature options of

Modify Settings

Modifying the settings page of a Target Emulator project depends on the type of the project: SAS or SATA. Modify
the project settings and then the common settings of SAS and SATA. The following sections discuss how to
modify SAS-specific Target Emulator settings, SATA-specific Target Emulator settings, and common configuration
settings for a Target Emulator Project.

Modify SAS Specific Configuration Settings

The SAS Specific Target Emulator settings include:

• SAS Address
• Logical Block Size
• Linked Command Expired Time
• OOB Signal Settings-COMSAS (Advanced)
• Time outs (Advanced)

The corresponding functions and prototypes are:

Modify Settings – SAS Specific

Function Name

SAS Address

Put_SASAddress ()

Logical Block Size

Put_LogicalBlockLength ()

Linked Command Expired Time

Put_LinkedCommandExpiredTime ()