AT INTERFACE and ATA COMMANDS
WA31273A / WA32543A / WA33203A / WA32163A / WA31083A / WA32162A 6-43
6-6-1-1 PIO Read Command
a)
b)
e)
e)
Setup
Issue
Read
Transfer
Read
Transfer
Command
Status
Data
=====
Status
Data
BSY=0
BSY=1 BSY=0 BSY=1
BSY=0
BSY=1
DRDY=1
DRQ=1
DRQ=0 DRQ=1
DRQ=0
Assert
Negate
Assert
Negate
INTRQ INTRQ
INTRQ INTRQ
If Error Status is presented, the drive is prepared to transfer data, and it is at the host's
discretion that the data is transferred.
6-6-1-2 PIO Read Aborted Command
a)
b)
e)
Setup
Issue
Read
Command
Status
BSY=0
BSY=1 BSY=0
DRDY=1
DRQ=1 DRQ=0
Assert
Negate
INTRQ INTRQ
Although DRQ=1, there is no data to be transferred under this condition.
6-6-2 PIO Data Out Commands
This class includes:
•
Format (50h)
•
Write Buffer (E8h)
•
Write Long (32h)
•
Write Multiple (C5h)
•
Write Sector(s) (30h)
Execution includes the transfer of one or more 512 byte (>512 bytes on Write Long)
sectors of data from the drive to the host.
a) The host writes any required parameters to the Features, Sector Count, Sector
Number, Cylinder and Drive/Head registers.
b) The host writes the command code to the Command Register.
c) The drive sets DRQ when it is ready to accept the first sector of data.