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
ND
CHECK POWER MODE
ND
DEVICE RESET
ND
EXECUTE DEVICE
DIAGNOSTIC
ND
FLUSH CACHE
ND
GET MEDIA STATUS
PI
IDENTIFY PACKET DEVICE
ND
IDLE IMMEDIATE
ND
NOP
"
PACKET
ND
SET FEATURES
ND
SLEEP
ND
STANDBY IMMEDIATE
""
RESERVED: Other codes
Notes:
1.
2.
C156-E205-01EN
Table 4.17 Command codes and parameters
Command
E5h
08h
90h
E7h
DAh
A1h
E1h
00h
A0h
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
y
y
4.5 ATA Commands
Section
SN
CY
DH
D
4.5.1
D
4.5.2
D*
4.5.3
y
D
4.5.4
D
4.5.5
D
4.5.6
D
4.5.7
y
4.5.8
y
D
4.5.9
D
4.5.10
D
4.5.11
D
4.5.12
4-21