
Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual 171
Target and Device Emulation
LeCroy Corporation
7th, and 8th commands.
If you enter 3 for Repeat Error, target emulator injects error on the 2nd, 3rd, 4th,
6th, 7th, 8th, 10th, 11th, and 12th commands.
If you set Repeat Error to 0, it means infinity, and the system injects error on the
2nd, 3rd, 4th, 6th, 7th, 8th, 10th, 11th, 12th, 14th, 15th, 16th, 18th, 19th, 20th,
22th, 23th, 24th, and so on commands.
Note:Repeaterror resets the target emulator received command counter.
In the API, use the following functions:
ErInjSetSCSICommandGenerateError: Enable error injection on a command.
Specify Command Number and Number of Error Commands in the 4th and 6th
parameters.
See API reference manual (section 5.5.139, page 748).
ErInjSetSCSICommandRepeatedErrorOnCommandNumber
(intnCommand,BOOLbEnable,
shortiCountOfRepeatedErrorsOnCommands):
nCommand specifies SCSI command. See 6.52 SCSI Command type definition in
API manual.
bEnable: TRUE means you want repeat error as much as iCountOfRepeatedError‐
sOnCommands.
3. Click the Commandfailwithcheckconditioncheck box, click the down arrow on
the SenseKeydrop down list box, choose an error type, and then enter values for
ASC and ASCQ in the corresponding text boxes.
4. Set up Outgoing and Incoming frame errors.
Note:Once you check the GenerateErrorOn:check box for a command, a red status indication
appears next to the command, indicating an error condition.
Outgoing Frame Settings
Before selecting Outgoing Frame Settings, select the Types Of Frames and the
Frame Number on which to inject an error. Then check OutgoingFrame in the Generate
Error On area and then the enabled Settingsbutton to display the Outgoing Frame
Setting dialog. See Figure 2.178 on page 172.
Comentarios a estos manuales