Error recovery on data sequence (testc.5.1-2) – Teledyne LeCroy SAS Sample Test Suite User Manual

Page 33

Advertising
background image

SAS Sample Test Suite

Error Conditions – Frames Received from Initiator (Test Group C)

33

Error Recovery on DATA sequence (TestC.5.1-2)
CRC or other error resulting in NAK to Initiator (TestC.5.1)
The Target device shall send NAK to the Initiator. The Initiator shall send Abort Task to the Target

device.

Test Procedure:

1. Power on the DUT.
2. The Testing Station is instructed to start and complete a phy Reset sequence

followed by an Identify sequence with the DUT. Since the DUT is a target, the Testing
Station is instructed to transmit an Identify Address frame indicating that it is a SAS
Initiator.

3. The Testing Station is instructed to open an SSP connection to the DUT and transmit

a SCSI MODE SENSE command for the Disconnect-Reconnect Mode Page. Close the
connection.

4. Allow the DUT to open an SSP connection to the Testing Station and transmit DATA

frame with the Mode Page Block Descriptor and a SCSI response frame to the
received MODE SENSE command.

5. The Testing Station is instructed to open an SSP connection to the DUT and transmit

a SCSI WRITE_BUFFER command for a number of bytes to generate only a single
frame. Close the connection.

6. Wait for the DUT to send ACK to WRITE command
7. Wait for the DUT to send a XFER_RDY frame to Testing Station. And, respond to the

RRDY with an ACK.

8. The Testing Station is instructed to send the Data Frame with an invalid CRC.
9. Wait for the DUT to respond with a NAK response.
10. The Testing Station is then instructed to send a Task Management function ABORT

TASK. The DUT should send an ACK response to the Command.

Observable Results: Verify that the DUT transmit the ABORT TASK Response frame.

Advertising