Write Long (32H/33H) - IBM DBCA-204860 - Travelstar 4.8 GB Hard Drive Specifications

( 3.2 / 4.8 / 6.4 gb ) 2.5-inch hard disk drive with ata interface
Hide thumbs Also See for DBCA-204860 - Travelstar 4.8 GB Hard Drive:
Table of Contents

Advertisement

12.35 Write Long (32h/33h)

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 110. Write Long Command (32h/33h)
The Write Long command transfers the data and the ECC bytes of the designated one sector from the host
to the device, then the data and the ECC bytes are written to the disk media.
After 512 bytes of data have been transferred, the device will keep setting D R Q = 1 to indicate that the device
is ready to receive the ECC bytes from the host. The data is transferred 16 bits at a time, and the ECC
bytes are transferred 8 bits at a time. The number of ECC bytes are 4 or 34 according to setting of Set
Feature option. The default number after power on is 4 bytes.
Output Parameters To The Device
Sector Count
The number of continuous sectors to be transferred. The Sector Count must be set
to one.
Sector Number
The sector number of the 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 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 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.
7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 1
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 1 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
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
Command Descriptions
V
H H H H
2
1
0
0
V
165

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dbca-206480Dbca-203240

Table of Contents