Текст страницы
Write DMA Ext (35h)
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
-
-
-
-
-
-
-
-
Feature
Current
-
-
-
-
-
-
-
-
Error
…See Below…
Previous
-
-
-
-
-
-
-
-
HOB=0
-
-
-
-
-
-
-
-
Sector Count
Current
V
V
V
V
V
V
V
V
Sector Count
Previous
V
V
V
V
V
V
V
V
HOB=1
-
-
-
-
-
-
-
-
HOB=0
V
V
V
V
V
V
V
V
Sector Number
Current
V
V
V
V
V
V
V
V
Sector Number
Previous
V
V
V
V
V
V
V
V
HOB=1
V
V
V
V
V
V
V
V
HOB=0
V
V
V
V
V
V
V
V
Cylinder Low
Current
V
V
V
V
V
V
V
V
Cylinder Low
Previous
V
V
V
V
V
V
V
V
HOB=1
V
V
V
V
V
V
V
V
HOB=0
V
V
V
V
V
V
V
V
Cylinder High
Current
V
V
V
V
V
V
V
V
Cylinder High
Previous
V
V
V
V
V
V
V
V
HOB=1
V
V
V
V
V
V
V
V
Device/Head
-
1
-
D
-
-
-
-
Device/Head
-
-
-
-
-
-
-
-
Command
0
0
1
1
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
V
0
0
V
0
V
0
0
0
V
0
V
-
0
-
V
Table 256 Write DMA Ext Command (35h)
The Write DMA Ext command transfers one or more sectors of data from the host to the device, and then the data
is written to the disk media.
The sectors of data are transferred through the Data Register 16 bits at a time.
The host initializes a slave-DMA channel prior to issuing the command. Data transfers are qualified by DMARQ and
are performed by the slave-DMA channel. The device issues only one interrupt per command to indicate that data
transfer has terminated and status is available.
If an uncorrectable error occurs, the write will be terminated at the failing sector
Output Parameters To The Device
Sector Count Current
The number of continuous sectors to be transferred low order, bits (7:0).
Sector Count Previous
The number of continuous sectors to be transferred high order bits (15:8). If zero is
specified in the Sector Count register, then 65,536 sectors will be transferred.
Sector Number Current
LBA (7:0).
Sector Number Previous
LBA (31:24).
Cylinder Low Current
LBA (15:8).
Cylinder Low Previous
LBA (39:32).
Cylinder High Current
LBA (23:16).
Cylinder High Previous
LBA (47:40).
307
Western Digital Ultrastar DC HC310 SATA Product Manual