10 CF-ATA command description
This section defines the software requirements and the format of the commands the Host sends to the Card.
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. There are three classes of command
acceptance, all dependent on the host not issuing commands unless the Card is not busy (BSY is ‘0’).
?
Class 1: Upon receipt of a Class 1 command, the Card sets BSY within 400ns.
?
Class 2: Upon receipt of a Class 2 command, the Card sets BSY within 400ns, sets up the sector buffer for a
write operation, sets DRQ within 700μs, and clears BSY within 400ns of setting DRQ.
?
Class 3:Upon receipt of a Class 3 command, the Card sets BSY within 400ns, sets up the sector buffer for a
write operation, sets DRQ within 20ms (assuming no re-assignments), and clears BSY within 400ns of
setting DRQ.
For reasons of backwar d compatibility some commands are implemented as ‘no operation’ NOP.
Table 56 summarizes the CF-ATA command set with the paragraphs that follow describing the individual
commands and the task file for each.
Table 56: CF-ATA Command Set(1)
Class
Command
Code
FR
SC
SN
CY
DH
LBA
1
Check Power Mode
E5h or 98h
D
1
Erase Sector(s)
C0h
Y
Y
Y
Y
Y
1
1
Execute Drive Diagnostic
Flush cache
90h
E7h
D
D
2
Format track
50h
Y
Y
Y
Y
1
Identify Drive
Ech
D
1
1
1
1
1
Idle
Idle Immediate
Initialize Drive Parameters
NOP
Read Buffer
E3h or 97h
E1h or 95h
91h
00h
E4h
Y
Y
D
D
Y
D
D
1
1
Read DMA
Read Multiple
C8
C4h
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
1
Read native max address
F8h
D
1
1
Read Sector(s)
Read Verify Sector(s)
20h or 21h
40h or 41h
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
1
1
Recalibrate
Request Sense
1Xh
03h
D
D
1
Seek
7Xh
Y
Y
Y
Y
1
1
1
1
1
1
Security Disable Password
Security Erase Prepare
Security Erase Unit
Security Freeze Lock
Security Set Password
Security Unlock
F6h
F3h
F4h
F5h
F1h
F2h
D
D
D
D
D
D
1
Set Features
EFh
Y
D
1
Set max address
F9h
Y
Y
Y
Y
Y
1
1
Set Multiple Mode
Set Sleep Mode
C6h
E6h or 99h
Y
D
D
1
S.M.A.R.T.
B0h
Y
Y
Y
D
1
1
Stand By
Stand By Immediate
E2h or 96h
E0h or 94h
D
D
1
Translate Sector
87h
Y
Y
Y
Y
Y
1
2
Wear Level
Write Buffer
F5h
E8h
Y
D
2
3
3
2
2
3
Write DMA
Write Multiple
Write Multiple w/o Erase
Write Sector(s)
Write Sector(s) w/o Erase
Write Verify
CA
C5h
CDh
30h or 31h
38h
3Ch
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
1.
FR = Features Register, SC = Sector Count Register, SN = Sector Number Register, CY = Cylinder Registers,
DH = Card/Drive/Head Register, LBA = Logical Block Address Mode Supported (see command descriptions for use),
Y – The register contains a valid parameter for this command. For the Drive/Head Register Y means both the CompactFlash
Memory Card and head parameters are used.
D – only the Compact Flash Memory Card parameter is valid and not the head parameter C – the register contains command
specific data (see command descriptors for use).
Swissbit AG
Industriestrasse 4
Swissbit reserves the right to change products or specifications without notice.
Revision: 1.20
CH-9552 Bronschhofen
Switzerland
www.swissbit.com
industrial@swissbit.com
C-320_data_sheet_CF-HxBO_Rev120.doc
Page 56 of 101
相关PDF资料
SFCF4096H4BK2SA-I-QT-553-SMA FLASH SLC UDMA/MDMA/PIO 4G
SFCF64GBH2BU4TO-I-NU-517-STD FLASH SLC UDMA/MDMA/PIO 64GB
SFN08B4702CBQLF7 RES ARRAY 47K OHM 7 RES 8-DFN
SFP1050-12BG FRONT END AC/DC 1050W 12V
SFP450-12BG PWR SUP 450W 12V 36.6A W/STANDBY
SFSD1024N1BN1TO-I-DF-151-STD FLASH MICRO SD CARD IND S-200 1G
SFSD2048L1BN2TO-I-DF-151-STD FLASH SECURE DGTL CARD SD 2G
SFSD4096L1BN2TO-I-Q2-141-STD FLASH SECURE DGTL CARD SDHC 4G
相关代理商/技术参数
SFCF2048H1BO2TO-I-M0-533-ZP1 制造商:SWISSBIT NA INC 功能描述:FLASH
SFCF2048H1BO2TO-I-M0-543-SMA 制造商:SWISSBIT NA INC 功能描述:FLASH
SFCF2048H2BU2TO-C-MS-527-STD 制造商:SWISSBIT NA INC 功能描述:FLASH
SFCF2048H2BU2TO-I-MS-517-STD 功能描述:FLASH SLC UDMA/MDMA/PIO 2GB RoHS:是 类别:存储卡,模块 >> 存储器,PC 卡 系列:C-440 标准包装:30 系列:- 存储容量:8GB 存储器类型:存储卡 - Extreme III SD?
SFCF2048H2BU2TO-I-MS-527-STD 制造商:SWISSBIT NA INC 功能描述:FLASH
SFCF2048H4BK1SA-C-QT-553-SMA 制造商:SWISSBIT NA INC 功能描述:FLASH
SFCF2048H4BK1SA-I-QT-553-SMA 功能描述:FLASH SLC UDMA/MDMA/PIO 2G RoHS:是 类别:存储卡,模块 >> 存储器,PC 卡 系列:C-300 标准包装:30 系列:- 存储容量:8GB 存储器类型:存储卡 - Extreme III SD?
SFCF2048H4BK2SA-C-DS-553-SMA 制造商:SWISSBIT NA INC 功能描述:FLASH SLC UDMA/MDMA/PIO 2G