Текст страницы
12.76 Write Stream Ext (3Bh)
This command writes from 1 to 65536 sectors as specified in the Sector Count register. A sector count of 0 requests
65536 sectors.
If the Write Continuous bit is set to one, the device shall not stop execution of the command due to errors. If the WC
bit is set to one and errors occur in the transfer or writing of the data, the device shall continue to transfer the amount
of data requested and then provide ending status with the BSY bit cleared to zero, the SE bit set to one, the ERR bit
cleared to zero, and the type of error, IDNF, or ABRT, reported in the error log. If the WC bit is set to one and the
Command Completion Time Limit expires, the device shall stop execution of the command and provide ending status
with BSY bit cleared to zero, the SE bit set to one, the ERR bit cleared to zero, and report the fact that the Command
Completion Time Limit expired by setting the CCTO bit in the error log to one, In all cases, the device shall attempt
to transfer the amount of data requested within the Command Completion Time Limit event if some data transferred
is in error
Table 265 Write Stream Ext Command (3Bh)
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
V
V
V
V -
V
V
V
Error
...See Below...
Previous
V
V
V
V
V
V V
V
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
1
1
D -
-
-
-
Device/Head
-
-
-
-
-
-
-
-
Command
0
0
1
1
1
0
1
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
CCTO
BSY
RDY SE
DWE DRQ COR IDX
ERR
V
0
0
V
0
V
0
V
0
V
V
0
-
0
-
V
347
Hard Disk Drive Specification