Testc.2) – Teledyne LeCroy SAS Sample Test Suite User Manual

Page 27

Advertising
background image

SAS Sample Test Suite

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

27

WRITE Command Receive DONE(ACK/NAK TIMEOUT) after sending ACK to Initiator (TestC.2)
The Target device shall continue executing the command unless it is aborted by Initiator. If the

Initiator does not recognize a XFER_RDY, Data, or Response frame for this I_T_L_Q nexus within the

timeout period, then the Initiator should issue a QUERY TASK and may issue an ABORT TASK.

(Abort behavior is described elsewhere in this document)

Write sequence (see Figure 9 below for details)

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 command for a single frame write. Wait for the DUT to transmit an
ACK. Ignore the ACK and wait 1 ms after sending the WRITE command and transmit
a DONE (ACK/NAK TIMEOUT). Close the connection.

6. The Testing Station is instructed to initiate an open SSP connection to the DUT and

transmit a TASK MANAGEMENT Frame type QUERY TASK. And, wait for DUT to
respond with an ACK.

7. Allow the DUT to transmit an XFER_RDY frame. Which the Testing Station will

respond with and ACK.

8. The Testing Station is instructed to send the single Write DATA frame. And, wait for

the DUT to respond with an ACK.

9. Wait for the DUT to transmit the following frame, the Read DATA frame, a Response

frame for the QUERY TASK and the Read Command Response frame. The order of
incoming frame should be in this order. The Testing Station will transmit an ACK
response for each frame.

Observable Results: Verify that the DUT completes the final 3 frames.

Advertising