Specifications
SATA-IO Confidential 19
o Issue READ LOG EXT to log page 10h
• Verify successful completion & data transfer for log page 0h
Pass/Fail Criteria
• Verify offset 20h of log page 00h contains value of 1
• Verify offset 21h of log page 00h contains value of 0
• Verify successful completion & data transfer for log page 10h, it is NOT necessary that the contents of the log
page are verified for specific values
2.2.3. NCQ-03 : Intermix of Legacy and NCQ commands
2.2.3.1. Device Expected Behavior
See section 13.5.2 of Serial ATA Revision 2.6.
Upon receiving a legacy ATA command while a native queued command is outstanding, an error has occurred and
the device shall perform necessary state cleanup to return to a state with no commands pending. Legacy ATA
commands include all commands other than the READ FPDMA QUEUED and WRITE FPDMA QUEUED commands.
The device shall signal the error condition to the host by transmitting a Register FIS to the host with the ERR bit set to
one and the BSY bit cleared to zero in the Status field, and the ABRT bit set to one in the Error field. Upon detecting
an error when there are one or more NCQ commands outstanding, the device shall stop processing commands until a
READ LOG EXT command with a specified log page of 10h or reset is issued. Upon receipt of the READ LOG EXT
command, the device shall send a Set Device Bits FIS to discard all commands in the pending device queue, followed
by data for the log page. The READ LOG EXT page shall reflect that the error condition was a result of a legacy ATA
command having been issued by having the NQ bit set to one. The device shall not continue command processing
for any of the outstanding commands following this error.
If no prior NCQ error has occurred and a device has received a READ LOG EXT command while there are NCQ
commands outstanding, the device shall respond as described above as having received a legacy ATA command
while one or more native queued commands are outstanding.
• Check Word 76 bit 8 in IDENTIFY DEVICE (set to one)
Measurement Requirements
• If the above is true, then run the following test
• Check Word 75 bits 4:0 to verify maximum queue depth reported by device
• Issue at least X random FPDMA QUEUED commands (read or write), where X is the maximum queue
depth reported above
• Issue a legacy ATA command using one of the following (NOTE that the test shall be run a total of three
times to ensure each legacy ATA command listed below is used for the test):
o IDENTIFY DEVICE
o PIO write
o DMA read
• Verify Register FIS receipt with ERR bit set to 1, DRDY bit set to 1, DF bit cleared to 0, BSY bit cleared
to zero and DRQ bit cleared to 0
o Issue Read Log Ext to log page 10h
• Verify receipt of Register FIS with error
Pass/Fail Criteria
• Verify SDB receipt with ERR bit cleared to zero, DRDY set to 1, DF bit cleared to zero, BSY bit cleared to
zero, DRQ bit cleared to zero, the ‘I’ bit cleared to zero, and the SActive field set to FFFFFFFFh.
• Verify that the NQ bit is set to one in the data within log page 10h
• NOTE – there is opportunity for a device to complete all outstanding commands prior to the host being
able to send the legacy ATA command. In these cases, the device may not be failed for this particular
test.