7K200 SATA OEM Specification
169/173
14.53
Write Uncorrectable Ext (45h)
Command Block Output Registers
Command Block Input Registers
Register
7 6 5 4 3
2
1
0 Register
7
6 5 4 3 2
1
0
Data
Low
- - - - -
-
-
- Data
Low
-
- - - - -
-
-
Data
High
- - - - -
-
-
- Data
High
-
- - - - -
-
-
Current
- - - - -
-
-
- Error
...See
Below...
Feature
Previous - - - - -
-
-
-
Current
V V V V V V V V
HOB=0
-
- - - - -
-
-
Sector Count
Previous V V V V V V V V
Sector Count
HOB=1
-
- - - - -
-
-
Current
V V V V V V V V
HOB=0 V V V V V V V V
LBA Low
Previous V V V V V V V V
LBA Low
HOB=1 V V V V V V V V
Current
V V V V V V V V
HOB=0 V V V V V V V V
LBA Mid
Previous V V V V V V V V
LBA Mid
HOB=1 V V V V V V V V
Current
V V V V V V V V
HOB=0 V V V V V V V V
LBA High
Previous V V V V V V V V
LBA High
HOB=1 V V V V V V V V
Device
- 1 - - -
-
-
- Device
-
- - - - -
-
-
Command
0 1 0 0 0
1
0
1 Status
...See
Below...
Error Register
Status Register
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
CRC
UNC 0 IDN 0 ABT T0N AMN BSY
RDY DF
DSC
DRQ
COR IDX
ERR
0 0 0 V 0 V 0 0 0 V 0 V - 0 0 V
Table 137 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 5xh, the Write Uncorrectable Ext command causes
the device to indicate a failure when reads to any of the sectors that are contained in specified
sectors. Theses sectors are referred to as “pseudo uncorrectable” sectors. In this case
whenever a pseudo uncorrectable sector is accessed via a read command, the device performs
normal error recovery and then set the UNC and ERR bits to indicate she sector is bad.
When the feature field contains a value of Axh, the Write Uncorrectable Ext command causes
the device to flag the specified sector as “flagged uncorrectable”. Flagging a logical sector as
uncorrectable causes the device to indicate a failure when reads to specified sectors 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 sets the
UNC and ERR bits without normal error recovery to indicate the sector is bad.
If the Uncorrectable options are set to A5h or 55h, then sectors that have been made pseudo
uncorrectable are listed as failed in the standard error logs when read back. If the
Uncorrectable options are set to 5Ah or AAh, then the reading of pseudo uncorrectable sectors
are not logged as an error in any standardized error logs.
The pseudo uncorrectable or flagged uncorrectable status of a sector remains through a power
cycle.
If an uncorrectable error occurs, the write will be terminated at the failing sector.
Output Parameters To The Device
Feature Current
Uncorrectable options
55h : Create a pseudo uncorrectable error with logging
5Ah: Create a pseudo uncorrectable error without logging
A5h: Create a flagged error with logging
AAh: Create a flagged error without logging
Other: Reserved (command is aborted)
Sector Count Current
The number of continuous sectors to be marked low order, bits (7:0).