Datasheet
SLCFxxxM2TU(I)(-x) CompactFlash Card
Datasheet
61000-07000-106, May 2011 56
7.0 Supported ATA Commands
The ATA commands used by the CF Card are listed in Table 30. Refer to CompactFlash standards for
details.
Table 30: CF Card Supported ATA Commands
Command Set
Code
Description
CHECK POWER MODE
E5h or 98h
This command checks the power mode.
EXECUTE DRIVE
DIAGNOSTIC
90h
Command performs internal diagnostic tests implemented by
the CF Card. Diagnostic Code is returned in Error Register.
ERASE SECTOR(S)
C0h
Cmd is used to pre-erase/condition data sectors in advance.
FORMAT TRACK
50h
This command writes the desired head and cylinder of the
selected drive with a vender unique data pattern (typically 00h
or FFh). Card accepts a sector buffer of data from the host to
follow the command with the same protocol as the WRITE
SECTOR(S) Command although the information in the buffer
is not used.
IDENTIFY DRIVE
ECh
This command lets the host receive parameter information
from the CF Card in the same protocol as READ SECTOR(S)
command.
IDLE
E3h or 97h
Command causes the CF Card to set BSY, enter the Idle
mode, clear BSY, and generate an interrupt. If the sector
count is non-zero, automatic power down mode is enabled. If
the sector count is zero, the automatic power down mode is
disabled.
IDLE IMMEDIATE
E1h or 95h
This command causes the CF Card to set BSY, enter the Idle
mode, clear BSY, and generate an interrupt.
INITIALIZE DRIVE
PARAMETERS
91h
This command enables the host to set the number of sectors
per track and the number of heads per cylinder.
NOP
00h
No Operation.
READ BUFFER
E4h
Command enables host to read contents of card’s sector
buffer.
READ DMA
C8h
If UDMA is enabled, this command is the sector read
command used for UDMA transfer. If UDMA is not enabled,
this command is the sector read command used for MWDMA
transfer.
READ MULTIPLE
C4h
This command performs similarly to the READ SECTOR(S)
command. Interrupts are not generated on each sector, but on
the transfer of a block which contains the number of sectors
defined by a SET MULTIPLE command.
READ LONG SECTOR
22h or 23h
Command performs similarly to the READ SECTOR(S)
command except that it returns 516 bytes of data instead of
512 bytes.
READ SECTOR(S)
20h (w/ retry)
21h (w/o
retry)
Command reads from 1 to 256 sectors as specified in Sector
Count register. A sector count of 0 requests 256 sectors.
Transfer begins at sector specified in Sector Number register.