
5K320 SATA OEM Specification
14.54Write Uncorrectable Ext (45h)
Command Block Output Registers
Register |
| 7 | 6 |
| 5 |
| 4 | 3 | 2 |
| 1 |
| 0 |
|
Data Low |
| - | - |
| - |
| - | - | - |
| - |
| - |
|
Data High |
| - | - |
| - |
| - | - | - |
| - |
| - |
|
Feature | Current | - | - |
| - |
| - | - | - |
| - |
| - |
|
| Previous | - | - |
| - |
| - | - | - |
| - |
| - |
|
Sector Count | Current | V | V |
| V |
| V | V | V |
| V |
| V |
|
| Previous | V | V |
| V |
| V | V | V |
| V |
| V |
|
LBA Low | Current | V | V |
| V |
| V | V | V |
| V |
| V |
|
| Previous | V | V |
| V |
| V | V | V |
| V |
| V |
|
LBA Mid | Current | V | V |
| V |
| V | V | V |
| V |
| V |
|
| Previous | V | V |
| V |
| V | V | V |
| V |
| V |
|
LBA High | Current | V | V | V | V | V | V | V | V |
| ||||
| Previous | V | V |
| V |
| V | V | V |
| V |
| V |
|
Device |
| - | 1 |
| - |
| - | - | - |
| - |
| - |
|
Command |
| 0 | 1 |
| 0 |
| 0 | 0 | 1 |
| 0 |
| 1 |
|
Command Block Input Registers
Register |
| 7 | 6 |
| 5 |
| 4 | 3 | 2 |
| 1 |
| 0 |
Data Low |
| - | - |
| - |
| - | - | - |
| - |
| - |
Data High |
| - | - |
| - |
| - | - | - |
| - |
| - |
Error |
|
|
|
| ...See Below... |
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| |||
Sector Count | HOB=0 | - | - |
| - |
| - | - | - |
| - |
| - |
| HOB=1 | - | - |
| - |
| - | - | - |
| - |
| - |
LBA Low | HOB=0 | V | V |
| V |
| V | V | V |
| V |
| V |
| HOB=1 | V | V |
| V |
| V | V | V |
| V |
| V |
LBA Mid | HOB=0 | V | V |
| V |
| V | V | V |
| V |
| V |
| HOB=1 | V | V |
| V |
| V | V | V |
| V |
| V |
LBA High | HOB=0 | V | V | V | V | V | V | V | V | ||||
| HOB=1 | V | V |
| V |
| V | V | V |
| V |
| V |
Device |
| - | - |
| - |
| - | - | - |
| - |
| - |
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 138 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 a ny 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 p ower cycle.
If an uncorrectable error occurs, the write will be terminated at the failing sector.
Output Parameters To The Device
Feature CurrentUncorrectable 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)
173