Write Sectors (30H/31H) - IBM DTCA-23240 - Travelstar 3.2 GB Hard Drive Specifications

(3240/4090 mb) 2.5-inch hard disk drive with ata interface
Hide thumbs Also See for DTCA-23240 - Travelstar 3.2 GB Hard Drive:
Table of Contents

Advertisement

12.37 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
R e g i s t e r
D a t a
F e a t u r e
S e c t o r C o u n t
S e c t o r N u m b e r
C y l i n d e r L o w
C y l i n d e r H i g h
D e v i c e / H e a d
C o m m a n d
E r r o r R e g i s t e r
7
6
5
C R C U N C
0
I D N
0
0
0
Figure 107. 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.)
166
O E M Specifications of DTCA-2xxxx 2.5 inch H D D
7 6 5 4 3 2 1 0
V V V V V V V V
V V V V V V V V
V V V V V V V V
V V V V V V V V
1 L 1 D H H H H
0 0 1 1 0 0 0 R
4
3
2
1
0
0
A B T T 0 N A M N
V
0
V
0
0
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
D a t a
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 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 H i g h
V V V V V V V V
D e v i c e / H e a d
S t a t u s
. . . S e e B e l o w . . .
S t a t u s R e g i s t e r
7
6
5
4
3
B S Y R D Y D F
D S C D R Q C O R I D X E R R
0
V
V
V
H H H H
2
1
0
0
V

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dtca-24090

Table of Contents