Ata Command Description; Ata Command Set - SanDisk CompactFlash Extreme III Product Manual

Sandisk compactflash memory card product manual
Table of Contents

Advertisement

CHAPTER 5
This section defines the software requirements and the format of commands the host sends to
CompactFlash Memory cards. Commands are issued to the card by loading the required
registers in the command block with the supplied parameters, and then writing the command
code to the Command Register. The manner in which a command is accepted varies. There are
three classes (see Table 5-1) of command acceptance, all dependent on the host not issuing
commands unless the card is not busy. (The BUSY bit in the status and alternate status registers
is 0.)
Upon receipt of a Class 1 command, the card sets the BUSY bit within 400 nsec.
Upon receipt of a Class 2 command, the card sets the BUSY bit within 400 nsec, sets up the
sector buffer for a write operation, sets DRQ within 700 µsec, and clears the BUSY bit
within 400 nsec of setting DRQ.
Upon receipt of a Class 3 command, the card sets the BUSY bit within 400 nsec, sets up the
sector buffer for a write operation, sets DRQ within 20 msec (assuming no re-assignments),
and clears the BUSY bit within 400 nsec of setting DRQ.
5.1

ATA Command Set

Table 5-1 summarizes the ATA command set with the paragraphs that follow describing the
individual commands and the task file for each.
Table 5-1
Class
1
Check Power Mode
1
Execute Drive Diagnostic
1
Erase Sector(s)
2
Format Track
1
Identify Device
1
Idle
1
Idle Immediate
1
Initialize Drive Parameters
1
Read Buffer
1
Read DMA
1
Read Multiple
1
Read Long Sector
1
Read Sector(s)
1
Read Verify Sector(s)
1
Recalibrate
1
Request Sense
1
Seek
1
Set Features
© 2007 SanDisk Corporation

ATA Command Description

Primary and Secondary I/O Decoding
Command
a
b
Code
FR
SC
SN
E5h or 98h
-
-
90h
-
-
C0h
-
Y
50h
-
Y
ECh
-
-
E3h or 97h
-
Y
E1h or 95h
-
-
91h
-
Y
E4h
-
-
C8 or C9
-
Y
C4h
-
Y
22h or 23h
-
-
20h or 21h
-
Y
40h or 41h
-
Y
1Xh
-
-
03h
-
-
7Xh
-
-
EFh
Y
-
5-1
CY
DH
LBA
-
-
D
-
-
-
D
-
Y
Y
Y
Y
-
Y
Y
Y
-
-
D
-
-
-
D
-
-
-
D
-
-
-
Y
-
-
-
D
-
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
-
-
D
-
-
-
D
-
Y
Y
Y
Y
-
-
D
-
Rev. 12.0, 02/07

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CompactFlash Extreme III and is the answer not in the manual?

Questions and answers

Table of Contents