4.5 ATA Commands
Table 4.17 lists supported ATA commands.
This section represents ODD registers as shown below.
Cylinders High/Low registers: CY
Sector register: SC
Device/Head register: DH
Sector Number register: SN
Features register: FR
Protocol
Command name
PI
IDENTIFY PACKET DEVICE
PACKET
ND
DEVICE RESET
ND
CHECK POWER MODE
ND
EXECUTE DEVICE
DIAGNOSTIC
ND
GET MEDIA STATUS
ND
IDLE IMMEDIATE
ND
NOP
ND
SERVICE (Not supported)
ND
SET FEATURES
ND
SLEEP
ND
STANDBY IMMEDIATE
RESERVED: Other codes
Notes:
1.
2.
C156-E227-01EN
Table 4.17 Command codes and parameters
Command
A1h
A0h
08h
E5h
90h
DAh
E1h
00h
42h
EFh
E6h
E0h
y - This register contains parameters effective to run the command.
D - Indicates that only the Device parameter is effective and the LUN
parameter is ineffective.
D* - Device 0 is addressed, but both devices execute the command.
The protocol above indicates the command protocol used.
Parameters used
code
FR
SC
y
y
y
y
y
y
4.5 ATA Commands
Section
SN
CY
DH
D
4.5.1
y
D
4.5.2
D
4.5.3
D
4.5.4
D*
4.5.5
D
4.5.6
D
4.5.7
y
4.5.8
D
4.5.9
D
4.5.10
D
4.5.11
D
4.5.12
4-23