Toshiba MK4006GAH Computer Drive User Manual


 
Toshiba Corporation Digital Media Network Company
Page 51 of 153
© 2003, Copyright TOSHIBA Corporation All Rights Reserved
11.7.2 Error Register
- CS0 DA2-DA0 : 1 Read ONLY
11.7.2.1 Operational Mode
The following descriptions are bit definitions for the operational mode including the error information from the
last command. This command is valid only when the ERROR BIT (bit 0) is set.
ICRC UNC MC IDNF MCR ABRT TK0NF AMNF
Bit 7 Interface CRC error was found during the transfer of Ultra DMA.
2
Bit 6
UNC (Uncorrectable Data Error) – This bit indicates that an uncorrectable error has been encountered in the
data field during a read command.
Bit 5
MC (Media Changed) -- This bit is reserved for use by removable media devices and indicates that new
media is available to the operating system.
Bit 4
IDNF (ID Not Found) --The requested sector could not be found.
Bit 3
MCR (Media Change Requested) is reserved for use by removable media devices and indicates that a
request for media removal has been detected by the device.
Bit 2
ABRT (Aborted Command) -- This bit Indicates that the requested command has been aborted due to the
reason reported in the drive status register (Write Fault, Not Seek Complete, Drive Not Ready, or an invalid
command). The status registers and the error registers may be decoded to identify the cause.
Bit 1
TK0NF (Track 0 Not Found) -- This bit is set to indicate that the track 000 has not been found during a
Recalibrate command.
Bit 0
AMNF (AM Not Found) -- This bit is set to indicate that the required Data AM pattern on read operation has
not been found.
11.7.2.2 Diagnostic Mode
The drive enters diagnostic mode immediately after the power -on or after an Execute Diagnostics
command. Error bit in Status Register shall not be set in these cases. The following table shows bit values
for the diagnostic mode.
Table 11.7-1 Diagnostic mode error register
01 No errors
02 Controller register error
03 Buffer RAM error
04 ECC device error
05 CPU ROM/RAM error
06-7F Reserved
8x Drive1 error (see below)
When two drives are daisy-chained on the interface, the Drive0 has valid error information for diagnostic
mode. When the Drive1 detects an error, 80H and OR value (01 04) diagnosed by the Drive0 are set to
the code above mentioned.
11.7.3 Features Register (Write Precompensation Register)
- CS0 DA2-DA0 : 1 Write only
Write precompensation is automatically optimized by the drive internally. This register is used with Set
Features command.
2
ATA-2 Notes: Prior to the development of ATA-2 standard, this bit was defined as BBK (Bad Block Detected) -- This bit was used to
indicate that the block mark was detected in the target’s ID field. The mark does not exist when shipping from the factory.The Mark
will be written by FORMAT command. Read or Write commands will not be executed in any data fields marked bad. The drive does
not support this bit.