Table 5.4 Command code and parameters (2 of 2)
Command name |
|
| Command code (Bit) |
|
| Parameters used |
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
7 | 6 |
| 5 | 4 | 3 | 2 |
| 1 | 0 | FR | SC | SN | CY | DH | ||
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
STANDBY IMMEDIATE | 1 | 0 |
| 0 | 1 | 0 | 1 |
| 0 | 0 | N | N | N | N |
| D |
| 1 | 1 |
| 1 | 0 | 0 | 0 |
| 0 | 0 |
| |||||
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SLEEP | 1 | 0 |
| 0 | 1 | 1 | 0 |
| 0 | 1 | N | N | N | N |
| D |
| 1 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 0 |
| |||||
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CHECK POWER MODE | 1 | 0 |
| 0 | 1 | 1 | 0 |
| 0 | 0 | N | N | N | N |
| D |
| 1 | 1 |
| 1 | 0 | 0 | 1 |
| 0 | 1 |
| |||||
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SMART | 1 | 0 |
| 1 | 1 | 0 | 0 |
| 0 | 0 | Y | Y | Y | Y |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FLUSH CACHE | 1 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 1 | N | N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SECURITY DISABLE PASSWORD | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 1 | 0 | N | N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SECURITY ERASE PREPARE | 1 | 1 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | N | N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SECURITY ERASE UNIT | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 0 | 0 | N | N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SECURITY FREEZE LOCK | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 0 | 1 | N | N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SECURITY SET PASSWORD | 1 | 1 |
| 1 | 1 | 0 | 0 |
| 0 | 1 | N | N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SECURITY UNLOCK | 1 | 1 |
| 1 | 1 | 0 | 0 |
| 1 | 0 | N | N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SET MAX ADDRESS | 1 | 1 |
| 1 | 1 | 1 | 0 |
| 0 | 1 | N | Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
READ NATIVE MAX ADDRESS | 1 | 1 |
| 1 | 1 | 1 | 0 |
| 0 | 0 | N | N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Notes: |
|
FR : Features Register | CY: Cylinder Registers |
SC : Sector Count Register | DH : Drive/Head Register |
SN : Sector Number Register |
|
R:Retry at error
1 = Without retry 0 = With retry
Y: Necessary to set parameters
Y*: Necessary to set parameters under the LBA mode.
N:Necessary to set parameters (The parameter is ignored if it is set.) N*: May set parameters
D: The device parameter is valid, and the head parameter is ignored.
D*: The command is addressed to the master device, but both the master device and the slave device execute it.
X: Do not care
| 5 - 15 |