IBM IC35L020 Hard Drive Specifications - Page 201
Write Sectors 30h/31h
View all IBM IC35L020 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 201 highlights
15.40 Write Sectors (30h/31h) Command Block Output Registers Register 7 6 5 4 3 2 1 0 Data Feature Sector Count V V V V V V V V Sector Number V V V V V V V V Cylinder Low V V V V V V V V Cylinder High V V V V V V V V Device/Head 1 L 1 D H H H H Command 0 0 1 1 0 0 0 R Command Block Input Registers Register 7 6 5 4 3 2 1 0 Data Error see below Sector Count V V V V V V V V Sector Number V V V V V V V V Cylinder Low V V V V V V V V Cylinder High V V V V V V V V Device/Head - - - - H H H H Status see below Error Register 76543210 CRC UNC 0 IDN 0 ABT T0N AMN 000V0V00 Status Register 7 6 5 4 3 2 10 BSY RDY DF DSC DRQ COR IDX ERR 0 V V V - 0 -V 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 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 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