beautypg.com

11 target emulator settings (sas) – Teledyne LeCroy Sierra M6-2 SAS_SATA Protocol Analyzer User Manual User Manual

Page 200

background image

Teledyne LeCroy

Target and Device Emulation

198

 

 

Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual

2.12.11 Target Emulator Settings (SAS)

Click the Settings tab to display the Target Emulator Settings dialog.

Figure 2.193: SAS: Target Emulator Settings Dialog

The Settings page opens with a default set of values, which you can modify. To return to
these values, click the Default Settings button.

Define the Target

Enter a SAS Address, Data Frame Payload Size, Logical Block Size, Linked Command 
Expired Time
, and ALIGN Transmission Period in the corresponding text box. Check
Calculate capacity based on Mode pages or enter a value for Number of Blocks.

Media Settings

Enter a value for Average Access Time to simulate Seek/Access time delay of a real device.

Enter a Number of Writable Areas. Define a Start and an End Address, click the down
arrow under the Area Type, and choose Normal Writable, Circular Writable, or Non‐
Writable
.

Note:

To set and get the settings of Media Settings Area Types, use these two functions:

SetMediaAreaAttribute(int nAreaIndex, int nStartAddress,

int nEndAddress, TrgEmulMediaAreaTypeEnum eAreaType, int* pnErrorCode)

GetMediaAreaAttribute(int nAreaIndex, int* pnStartAddress,

int* pnEndAddress, TrgEmulMediaAreaTypeEnum* peAreaType)

nAreaIndex: Specifies the (zero base) index of the Area.

Note:

The Number of Areas should be set by the SetNumberOfMediaArea function prior to calling

these functions.