EasyManua.ls Logo

IBM IC35L020 - Deskstar 20 GB Hard Drive - Write Sectors (30 H;31 H); Figure 140. Write Sectors Command (30 H;31 H)

IBM IC35L020 - Deskstar 20 GB Hard Drive
209 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
15.40 Write Sectors (30h/31h)
see below
Status
0 0 1 1 0 0 0 R
Command
- - - - H H H H
Device/Head
1 L 1 D H H H H
Device/Head
V V V V V V V V
Cylinder High
V V V V V V V V
Cylinder High
V V V V V V V V
Cylinder Low
V V V V V V V V
Cylinder Low
V V V V V V V V
Sector Number
V V V V V V V V
Sector Number
V V V V V V V V
Sector Count
V V V V V V V V
Sector Count
see below
Error
- - - - - - - -
Feature
- - - - - - - -
Data
- - - - - - - -
Data
7 6 5 4 3 2 1 0
Register
7 6 5 4 3 2 1 0
Register
Command Block Input
Registers
Command Block Output
Registers
V0VVV000V0V000
ERRIDXCORDRQDSCDFRDYBSYAMNT0NABT0IDN0UNCCRC
0123456701234567
Status RegisterError Register
Figure 140. Write Sectors Command (30h/31h)
The Write Sectors command transfers one or more sectors from the host to the device; the data is then
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.
Output parameters to the device
Sector Count
This parameter represents 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 07. (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 815 (Low), 1623 (High). (L=1)
H
The head number of the first sector to be transferred. (L=0)
In LBA mode this register contains LBA bits 2427. (L=1)
R
This parameter represents the retry bit. If it is set to one, retries are disabled. If it
is ignored, write cache is enabled. (Ignoring the retry bit is in violation of ATA-2.)
Deskstar 60 GXP Hard disk drive specification
187

Table of Contents

Related product manuals