11.58 Write Uncorrectable Ext (45h)
Command Block Output Registers
Register
Data Low
Data High
Current
Feature
Previous
Current
Sector Count
Previous
Current
Sector
Number
Previous
Current
Cylinder Low
Previous
Current
Cylinder High
Previous
Device/Head
Command
Error Register
7
6
5
4
CRC
UNC
0
IDN
0
0
0
V
Table 179 Write Uncorrectable Ext Command (45h)
The Write Uncorrectable Ext command is used to cause the device to report an uncorrectable error when the
target sector is subsequently read.
When the Feature field contains a value of 55h the Write Uncorrectable Ext command shall cause the device to
indicate a failure when reads to any of the sectors that are contained in physical block of specified sector are
performed. These sectors are referred to as ‗pseudo uncorrectable' sectors. In this case whenever a pseudo
uncorrectable sector is accessed via a read command the drive shall perform normal error recovery to the fullest
extent and then set the UNC and ERR bits to indicate the sector is bad.
When the Feature field(7:0) contains a value of AAh the Write uncorrectable ext command shall cause the
device to flag the specified sector as ‗flagged uncorrectable'. Flagging a logical sector as uncorrectable shall
cause the device to indicate a failure when reads to the specified sector are performed. These sectors are
referred to as ‗flagged uncorrectable' sectors. In this case whenever a ‗flagged uncorrectable' sector is accessed
via a read command the device shall set the UNC and ERR bits to indicate the sector is bad.
If this command is sent to the device with the content of the Features field(7:0) set to anything other than what is
defined above the device shall abort the command.
Commands that return UNC and ERR when a pseudo uncorrectable or flagged uncorrectable sector is read
include: READ DMA,READ DMA EXT, READ MULTIPLE, READ MULTIPLE EXT, READ SECTOR(S), READ
SECTOR(S) EXT, READ VERIFY SECTOR(S), READ, VERIFY SECTOR(S) EXT, READ STREAM EXT, READ
STREAM DMA EXT. if the host writes to a ‗pseudo uncorrectable' or ‗flagged uncorrectable' sector, the drive
shall attempt to write the data to the sector. The write shall clear the uncorrectable status of the sector and make
the sector good if possible and the device shall verify that the sector may now be read without error. It is possible
that an ‗uncorrectable' sector location has actual physical errors. In this case read commands and/or write
commands shall return ERR status information that is consistent with the error. The pseudo uncorrectable or
HITACHI Deskstar & CinemaStar 7K1000.B & Deskstar E7K1000 Hard Disk Drive specification
7
6
5
4
3
2
1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
V
V
V
V
V
V
V
-
-
-
-
-
-
-
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
-
1
-
D
-
-
-
0
1
0
0
0
1
0
3
2
1
0
ABT
T0N
0
V
0
Command Block Input Registers
0
Register
-
Data Low
-
Data High
V
Error
-
HOB=0
V
Sector Count
HOB=1
V
HOB=0
V
Sector
Number
HOB=1
V
HOB=0
V
Cylinder Low
HOB=1
V
HOB=0
V
Cylinder High
HOB=1
V
-
Device/Head
1
Status
0
7
6
AMN
BSY
RDY
DF
0
0
V
253
7
6
5
4
3
-
-
-
-
-
-
-
-
-
-
...See Below...
-
-
-
-
-
-
-
-
-
-
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
-
-
-
-
-
...See Below...
Status Register
5
4
3
2
DSC
DRQ COR
0
V
-
0
2
1
0
-
-
-
-
-
-
-
-
-
-
-
-
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
-
-
-
1
0
IDX
ERR
-
V