5.3.1Command code and parameters
Table 5.3 lists the supported commands, command code and the registers that needed parameters are written.
Table 5.3 Command code and parameters (1 of 2)
Command name |
|
| Command code (Bit) |
|
|
| Parameters used |
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
7 | 6 |
| 5 | 4 | 3 | 2 |
| 1 | 0 | FR |
| SC | SN | CY | DH | ||
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
READ SECTOR(S) | 0 | 0 |
| 1 | 0 | 0 | 0 |
| 0 | R | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
READ MULTIPLE | 1 | 1 |
| 0 | 0 | 0 | 1 |
| 0 | 0 | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
READ DMA | 1 | 1 |
| 0 | 0 | 1 | 0 |
| 0 | R | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
READ VERIFY SECTOR(S) | 0 | 1 |
| 0 | 0 | 0 | 0 |
| 0 | R | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WRITE MULTIPLE | 1 | 1 |
| 0 | 0 | 0 | 1 |
| 0 | 1 | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WRITE DMA | 1 | 1 |
| 0 | 0 | 1 | 0 |
| 1 | R | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WRITE VERIFY | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 0 | 0 | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WRITE SECTOR(S) | 0 | 0 |
| 1 | 1 | 0 | 0 |
| 0 | R | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RECALIBRATE | 0 | 0 |
| 0 | 1 | X | X |
| X | X | N |
| N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SEEK | 0 | 1 |
| 1 | 1 | X | X |
| X | X | N |
| N | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INITIALIZE DEVICE DIAGNOSTIC | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | N |
| Y | N | N |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IDENTIFY DEVICE | 1 | 1 |
| 1 | 0 | 1 | 1 |
| 0 | 0 | N |
| N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IDENTIFY DEVICE DMA | 1 | 1 |
| 1 | 0 | 1 | 1 |
| 1 | 0 | N |
| N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SET FEATURES | 1 | 1 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | Y |
| N* | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SET MULTIPLE MODE | 1 | 1 |
| 0 | 0 | 0 | 1 |
| 1 | 0 | N |
| Y | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EXECUTE DEVICE DIAGNOSTIC | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 0 | N |
| N | N | N |
| D* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FORMAT TRACK | 0 | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 0 | N |
| N | Y* | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
READ LONG | 0 | 0 |
| 1 | 0 | 0 | 0 |
| 1 | R | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WRITE LONG | 0 | 0 |
| 1 | 1 | 0 | 0 |
| 1 | R | N |
| Y | Y | Y |
| Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
READ BUFFER | 1 | 1 |
| 1 | 0 | 0 | 1 |
| 0 | 0 | N |
| N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WRITE BUFFER | 1 | 1 |
| 1 | 0 | 1 | 0 |
| 0 | 0 | N |
| N | N | N |
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IDLE | 1 | 0 |
| 0 | 1 | 0 | 1 |
| 1 | 1 | N |
| Y | N | N |
| D |
| 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 1 |
|
| |||||
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IDLE IMMEDIATE | 1 | 0 |
| 0 | 1 | 0 | 1 |
| 0 | 1 | N |
| N | N | N |
| D |
| 1 | 1 |
| 1 | 0 | 0 | 0 |
| 0 | 1 |
|
| |||||
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
STANDBY | 1 | 0 |
| 0 | 1 | 0 | 1 |
| 1 | 0 | N |
| Y | N | N |
| D |
| 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 0 |
|
| |||||
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 - 14 |