![](http://datasheet.mmic.net.cn/170000/SMC032BFY6E_datasheet_9782906/SMC032BFY6E_57.png)
SMCxxxBF
CF-ATA command description
10.3
Erase sector(s) (C0h)
This command is used to pre-erase and condition data sectors prior to a Write Sector
Without Erase command or a Write Multiple Without Erase command. There is no data
transfer associated with this command but a write fault error status can occur.
Table 52defines the byte sequence of the Erase Sector command.
10.4
Identify drive (ECh)
The Identify Drive command enables the host to receive parameter information from the
card. This command has the same protocol as the Read Sector(s) command.
Table 53defines the Identify Drive command byte sequence. All reserved bits or words are zero.
Table 54 shows the definition of each field in the identify drive information.
10.4.1
Word 0: general configuration
This field indicates the general characteristics of the device.
The default value for word 0 is set to 848Ah. It is recommended that PCMCIA modes of
operation report only the 848Ah value as they are always intended as removable devices.
Alternate configuration values for word 0 is 044Ah.
Some operating systems require bit 6 of word 0 to be set to ‘1’ (non-removable device) to
use the card as the root storage device. The card must be the root storage device when a
host completely replaces conventional disk storage with a CompactFlash card in true IDE
mode. To support this requirement and provide capability for any future removable media
cards, alternate value of word 0 is set in true IDE mode of operation.
10.4.2
Word 1: default number of cylinders
This field contains the number of translated cylinders in the default translation mode. This
value will be the same as the number of cylinders.
10.4.3
Word 3: default number of heads
This field contains the number of translated heads in the default translation mode.
Table 52.
Erase sector(s)
Bit
7
654
32
10
Command (7)
C0h
C/D/H (6)
1
LBA
1
Drive
Head (LBA 27-24)
Cyl High (5)
Cylinder High (LBA 23-16)
Cyl Low (4)
Cylinder Low (LBA 15-8)
Sect Num (3)
Sector number (LBA 7-0)
Sect Cnt (2)
Sector count
Feature (1)
X