
5K320 SATA OEM Specification
14.47Write FPDMA Queued (61h)
Command Block Output Registers
Register |
| 7 | 6 |
| 5 |
| 4 | 3 | 2 |
| 1 |
| 0 |
|
Data Low |
| - | - |
| - |
| - | - | - |
| - |
| - |
|
Data High |
| - | - |
| - |
| - | - | - |
| - |
| - |
|
Feature | Current | V | V |
| V |
| V | V | V |
| V |
| V |
|
| Previous | V | V |
| V | V | V | V |
| V |
| V |
| |
Sector Count | Current | T | T |
| T |
| T | T | - |
| - |
| - |
|
| Previous | P | - |
| - |
| - | - | - |
| - |
| - |
|
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 |
| F | 1 |
| - |
| - | - | - |
| - |
| - |
|
Command |
| 0 | 1 |
| 1 |
| 0 | 0 | 0 |
| 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 |
V | 0 | 0 | V | 0 | V | 0 | 0 |
| 0 | V | 0 | V | - |
| 0 | 0 | V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 131 Write FPDMA Queued Command (61h)
The Write FPDMA Queued command transfers one or more sectors of data from t he host to the device, then the data is written to the disk media.
If an uncorrectable error occurs, the write will be terminated at the failing sector
Output Parameters To The Device
Feature Current | The number of sectors to be transferred low order, bit (7:0) |
Feature Previous | The number of sectors to be transferred high order, bit (15:8) |
T | TAG value. It shall be assigned to be different from all other queued commands. |
| The value shall not exceed the maximum queue depth specified by the Word 75 of the |
| Identify Device information. |
LBA Low Current | LBA (7:0). |
LBA Low Previous | LBA (31:24). |
LBA Mid Current | LBA (15:8). |
LBA Mid Previous | LBA (39:32). |
LBA High Current | LBA (23:16). |
LBA High Previous | LBA (47:40). |
F | FUA bit. When the FUA bit is set to 1, the completion status is indicated after the |
| transferred data are written to the media also when Write Cache is enabled. When the |
| FUA bit is set to 0, the completion status may be indicated before the transferred data |
| are written to the media successfully when Write Cache is enabled. |
P | Priority bit. When the Priority bit is set to 1, the device attempts to provide better |
| quality of service for the command than normal priority commands. |
Input Parameters From The Device | |
LBA Low (HOB=0) | LBA (7:0) of the address of the first unrecoverable error. |
LBA Low (HOB=1) | LBA (31:24) of the address of the first unrecoverable error. |
LBA Mid (HOB=0) | LBA (15:8) of the address of the first unrecoverable error. |
LBA Mid (HOB=1) | LBA (39:32) of the address of the first unrecoverable error. |
LBA High (HOB=0) | LBA (23:16) of the address of the first unrecoverable error. |
LBA High (HOB=1) | LBA (47:40) of the address of the first unrecoverable error. |
166