User manual

Hitachi hard disk drive specifications
94
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 57 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 58 Error Recovery Control command (Onputs)
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).