Fujitsu MHV2080AS, MHV2060AS, MHV2040AS manual Write Multiple X’C5’

Models: MHV2060AS MHV2080AS MHV2040AS

1 280
Download 280 pages 57.54 Kb
Page 141
Image 141

5.3 Host Commands

(19) WRITE MULTIPLE (X’C5’)

This command is similar to the WRITE SECTOR(S) command. The device does not generate interrupts (assertion of the INTRQ) signal) on each sector but on the transfer of a block which contains the number of sectors for which the number is defined by the SET MULTIPLE MODE command. The DRQ bit of the Status register is required to set only at the start of the data block, not on each sector.

The number of sectors per block is defined by a successful SET MULTIPLE MODE command. The SET MULTIPLE MODE command should be executed prior to the WRITE MULTIPLE command.

If the number of requested sectors is not divided evenly (having the same number of sectors [block count]), as many full blocks as possible are transferred, then a final partial block is transferred. The number of sectors in the partial block to be transferred is n where n = remainder of (“number of sectors”/”block count”).

If the WRITE MULTIPLE command is issued before the SET MULTIPLE MODE command is executed or when WRITE MULTIPLE command is disabled, the device rejects the WRITE MULTIPLE command with an ABORTED COMMAND error.

Disk errors encountered during execution of the WRITE MULTIPLE command are posted after attempting to write the block or the partial block that was transferred. Write operation ends at the sector where the error was encountered even if the sector is in the middle of a block. If an error occurs, the subsequent block shall not be transferred. Interrupts are generated when the DRQ bit of the Status register is set at the beginning of each block or partial block.

The contents of the command block registers related to addresses after the transfer of a data block containing an erred sector are undefined. To obtain a valid error information, the host should retry data transfer as an individual request.

At command issuance (I/O registers setting contents)

1F7H(CM)

1

1

0

0

0

1

0

1

 

 

 

 

 

 

 

1F6H(DH)

x

L

x

DV

Start head No. / LBA

 

 

 

 

 

 

[MSB]

 

 

 

 

 

 

 

 

 

 

 

 

1F5H(CH)

Start cylinder No. [MSB] / LBA

 

 

 

1F4H(CL)

Start cylinder No. [LSB] / LBA

 

 

 

1F3H(SN)

Start sector No. / LBA [LSB]

 

 

 

1F2H(SC)

Transfer sector count

 

 

 

 

1F1H(FR)

xx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C141-E221

5-65

Page 141
Image 141
Fujitsu MHV2080AS, MHV2060AS, MHV2040AS manual Write Multiple X’C5’