IBM DBCA-204860 Hard Drive Specifications - Page 177
Write Sectors, 30h/31h
View all IBM DBCA-204860 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 177 highlights
12.37 Write Sectors (30h/31h) Command Block Output Registers Register 76543210 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 1L1DHHHH Command 0011000R Command Block Input Registers Register 76543210 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 HHHH Status ...See Below... Error Register 76543210 CRC UNC 0 IDN 0 ABT T0N AMN 000V0V00 Status Register 76543210 BSY RDY DF DSC DRQ COR IDX ERR 0VVV 0 V Figure 112. 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 169