Connection errors (test group d), Test update, Credit timeout (1 ms) (testd.1) – Teledyne LeCroy SAS Sample Test Suite User Manual

Page 55

Advertising
background image

SAS Sample Test Suite

Connection Errors (Test Group D)

55

Connection Errors

(Test Group D)

Credit Timeout (1 ms) (TestD.1)
If the Target device is connected, has a transmit credit balance of zero, has one or more frame to

send, and has not received an RRDY credit for 1 ms, then the Target device shall send a DONE

(CREDIT TIMEOUT) primitive. The Initiator should send DONE/CLOSE and the Target device should

send CLOSE to complete closing the connection.

Test Procedure:

1. 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 an
initiator.

2. The Testing Station is instructed to open an SSP connection to the DUT.
3. Wait for the DUT to transmit OPEN_ACCEPT and RRDY. The Testing Station is

instructed to transmit a SCSI INQUIRY command to the DUT then close the
connection.

4. Wait for the DUT to open an SSP connection to the Testing Station. The Testing

Station is instructed to not transmit RRDY to grant credit for the DUT to transmit a
SCSI Response to the Testing Station.

Observable Results: Verify that the DUT transmitted DONE (CREDIT TIMEOUT) within 1 ms of

opening the SSP connection.

Test Update

Test Procedure:

1. 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.

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

a SCSI READ_BUFFER command for 2 512 byte frames. Close the connection

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

first DATA frame with a RRDY from the Testing Station. The Testing Station is
instructed to transmit an ACK for the DATA frame but not transmit a RRDY for the
next DATA frame.

Observable Results: Verify that the DUT timeout (1 ms) for the RRDY. The DUT will initiate a DONE

(CREDIT TIMEOUT) response and CLOSE.

Advertising