![Seagate Medalist ST31082A Product Manual Download Page 60](http://html1.mh-extra.com/html/seagate/medalist-st31082a/medalist-st31082a_product-manual_1223119060.webp)
Chapter 7
Command Set
Page 48
ST3636A/ST31082A/ST31276A
Execute Drive Diagnostic
Command Number: 90 hex
Description: This command performs the internal diagnostic tests
implemented by the drive. The diagnostic tests are only executed upon receipt
of this command.
The drive sets BSY immediately upon receipt of the command. If the drive is a
master, the drive performs the diagnostic tests and saves the results. It then
checks to see if a slave drive is present and waits up to 5 seconds for the slave to
complete its diagnostics. If the slave successfully completes its diagnostics, it
asserts -HOST PDIAG. If unsuccessful, the master drive resets BSY in the
Status register and generates an interrupt. The Error bit (ERR) is set in the
Status register and the Error register is updated.
The value in the Error register should be viewed as a unique 8-bit code and not
as the single-bit flags defined previously. The interface registers are set to
initial values except for the Error register.
The table below details the codes in the Error register and a corresponding
explanation:
Error Code:
Description:
01 hex
No error detected
02 hex
Format device error
03 hex
Sector buffer error
8x hex
Slave drive failed
Additional codes may be implemented at the manufacturer’s option.
☞
☞
Note: If the slave drive fails diagnostics, the master drive shall “OR” 80 hex with its own status and load
that code into the Error register. If the slave drive passes diagnostics or there is no slave drive
connected, the master drive shall set bit 7 of the Error register in the Task File to 0.
Format Track
Command Number: 50 hex
This command is not supported on the drive. The implementation of this
command has become vendor specific due to the complexities of address
translation and is not required for ATA compliance.
Summary of Contents for Medalist ST31082A
Page 1: ...Medalist Family ST31276A ST31082A ST3636A Product Manual...
Page 2: ......
Page 4: ......
Page 7: ......
Page 8: ......
Page 12: ...Table of Contents ST3636A ST1082A ST31276A Page iv ST3636A ST31082A ST31276A...
Page 24: ...Chapter 2 Specifications Page 12 ST3636A ST31082A ST31276A...
Page 28: ...Chapter 3 How the Drive Operates Page 16 ST3636A ST31082A ST31276A...
Page 42: ...Chapter 5 Host Interface Page 30 ST3636A ST31082A ST31276A...
Page 88: ...Chapter 7 Command Set Page 76 ST3636A ST31082A ST31276A...