12.38 Write Sectors (30h/31h)
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³
C o m m a n d B l o c k O u t p u t R e g i s t e r s
³ ³
C o m m a n d B l o c k I n p u t R e g i s t e r s
³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
R e g i s t e r
³
7 6 5 4 3 2 1 0
³ ³
R e g i s t e r
³
7 6 5 4 3 2 1 0
³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
D a t a
³ Ä Ä Ä Ä Ä Ä Ä Ä ³ ³
D a t a
³ Ä Ä Ä Ä Ä Ä Ä Ä ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
F e a t u r e
³ Ä Ä Ä Ä Ä Ä Ä Ä ³ ³
E r r o r
³
. . . S e e B e l o w . . .
³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
S e c t o r C o u n t
³
V V V V V V V V
³ ³
S e c t o r C o u n t
³
V V V V V V V V
³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
S e c t o r N u m b e r
³
V V V V V V V V
³ ³
S e c t o r N u m b e r
³
V V V V V V V V
³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
C y l i n d e r L o w
³
V V V V V V V V
³ ³
C y l i n d e r L o w
³
V V V V V V V V
³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
C y l i n d e r H i g h
³
V V V V V V V V
³ ³
C y l i n d e r H i g h
³
V V V V V V V V
³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
D e v i c e / H e a d
³
1 L 1 D H H H H
³ ³
D e v i c e / H e a d
³ Ä Ä Ä Ä
H H H H
³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
C o m m a n d
³
0 0 1 1 0 0 0 R
³ ³
S t a t u s
³
. . . S e e B e l o w . . .
³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³
E r r o r R e g i s t e r
³
³
S t a t u s R e g i s t e r
³
ÃÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄ´
ÃÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄÂÄÄÄ´
³
7
³
6
³
5
³
4
³
3
³
2
³
1
³
0
³
³
7
³
6
³
5
³
4
³
3
³
2
³
1
³
0
³
³
C R C
³
U N C
³
0
³
I D N
³
0
³
A B T
³
T 0 N
³
A M N
³
³
B S Y
³
R D Y
³
D F
³
D S C
³
D R Q
³
C O R
³
I D X
³
E R R
³
ÃÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄ´
ÃÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄÅÄÄÄ´
³
0
³
0
³
0
³
V
³
0
³
V
³
0
³
0
³
³
0
³
V
³
V
³
V
³ Ä ³
0
³ Ä ³
V
³
ÀÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÙ
ÀÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÁÄÄÄÙ
Figure 131. Write Sectors Command (30h/31h)
The Write Sectors command transfers one or more sectors from the host to the device, then the data is
written to the disk media.
The sectors are transferred through the Data Register 16 bits at a time.
If an uncorrectable error occurs, the write will be terminated at the failing sector, when the auto reassign
function is disable.
Output Parameters To The Device
Sector Count
The number of continuous sectors to be transferred.
If zero is specified, then 256
sectors will be transferred.
Sector Number
The sector number of the first sector to be transferred. ( L = 0 )
In LBA mode, this register contains LBA bits 0 - 7. ( L = 1 )
Cylinder High/Low
The cylinder number of the first sector to be transferred. ( L = 0 )
In LBA mode, this register contains LBA bits 8 - 15 (Low), 16 - 23 (High). ( L = 1 )
H
The head number of the first sector to be transferred. ( L = 0 )
In LBA mode, this register contains LBA bits 24 - 27. ( L = 1 )
R
The retry bit. If set to one, then retries are disabled. But ignored, when write cache is
enabled. (Ignoring the retry bit is in violation of ATA-3.)
Command Descriptions
183
Summary of Contents for DARA-206000 - Travelstar 12 GB Hard Drive
Page 2: ......
Page 9: ...Index 193 Contents vii...
Page 10: ...viii OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 13: ...Figure 2 Breathing hole caution of DARA 2xxxxx General 3...
Page 14: ...4 OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 16: ...6 OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 17: ...Part 1 Functional Specification Copyright IBM Corp 1999 7...
Page 18: ...8 OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 70: ...60 OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 71: ...Part 2 ATA Interface Specification Copyright IBM Corp 1999 61...
Page 72: ...62 OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 74: ...64 OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 76: ...66 OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 112: ...102 OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 196: ...186 OEM Specifications of DARA 2xxxxx 2 5 inch HDD Rev 2 1...
Page 206: ...Published in Japan S25L 1638 03...