11.4 DMA data transfer commands

Commands for this class are:

READ DMA (with and without retry)

READ DMA EXT

WRITE DMA (with and without retry)

WRITE DMA EXT

Data transfers using DMA commands differ in two ways from PIO transfers:

data transfers are performed using the DMA channel

the drive issues only one interrupt at the completion of each command

Initiation of the DMA transfer commands is identical to the READ SECTOR(S) or WRITE SECTOR(S) commands except that the host initializes the DMA channel prior to issuing the command.

The interrupt handler for DMA transfers is different in that no intermediate sector interrupts are issued on multi-sector transfer but issued only once at the completion of each command.

DMA data transfer protocol:

a)Host initializes the DMA channel.

b)Host writes any required command parameters to the Features, Sector Count, Sector Number, Cylinder High, Cylinder Low and Device/Head registers.

c)Host writes the command code to the Command register.

d)The drive sets the BSY bit .

e)The drive sets DMARQ, when it is ready to transfer data.

f)Host transfers the data using DMA transfer mode set by the Set Features command .

g)When all of the data has been transferred, the drive issues INTRQ.

h)The host resets the DMA channel.

i)After detecting INTRQ, the host reads the Status register.

j)The drive negates INTRQ in response to the Status register being read.

Toshiba Corporation Digital Media Network Company

Page 153 of 157

© 2005, Copyright TOSHIBA Corporation All Rights Reserved