![Western Digital Ultrastar DC HC310 Specifications Download Page 101](http://html1.mh-extra.com/html/western-digital/ultrastar-dc-hc310/ultrastar-dc-hc310_specifications_961649101.webp)
87
Western Digital Hard Disk Drive OEM Specification
9.18.3.2
Error Recovery Control Command (action code : 0003h)
Inputs: (Key Sector)
Word
Name
Value
Description
0
Action Code
0003h
Set the read and write error recovery time
1
Function Code
0001h
Set New Value
0002h
Return Current Value
2
Selection Code
0001h
Read Timer
0002h
Write Timer
3
Value
Word
If the function code is 0001h, then this field contains the
recovery time limit in 100ms units. The minimum SCT
timeout value is 65 (=6.5 second). When the specified time
limit is shorter than 6.5 second, the issued command is
aborted.
255:4
reserved
0000h
Table 63 Error Recovery Control Command (Inputs)
Outputs: (TF Data)
Command Block Input Registers (Success)
Error
00h
Sector Count
If Function Code was 0002h, then this is the LSB of the requested recovery limit.
Otherwise, this field is reserved.
Sector Number
If Function Code was 0002h, then this is the MSB of the requested recovery limit.
Otherwise, this field is reserved.
Cylinder Low
reserved
Cylinder High
reserved
Device/Head
reserved
Status
50h
Table 64 Error Recovery Control Command (On puts)
The Error Recovery Control command can be used to set time limits for read and write error recovery. For
non-queued commands, these timers apply to command completion at the host interface. For queued commands
where in order data delivery is enabled, these timers begin counting when the device begins to execute the
command, not when the command is sent to the device. These timers do not apply to streaming commands, or to
queued commands when out-of-order data delivery is enabled.
These command timers are volatile. The default value is 0 (i.e. disable command time-out).
If a Read Command Timer expires or a Write Command Timer expires before command completion, the device:
a)
Shall stop processing that command and return an error;
b)
Shall return an Uncorrectable Error, if that command was a read command;
c)
Should return command aborted, if that command was a write command; and
d)
Should set the EXTENDED STATUS CODE field to 0015h (see Table 53)
The EXTENDED STATUS CODE field shall be cleared during the processing of the next non-SCT command by the
device, except if the command being processed is a read of the NCQ Command Error log.