User Manual

ATA Command Description
CompactFlash
®
Memory Card Product Manual, Rev. 10.0 © 2002 SANDISK CORPORATION 5-3
5.1.2. Execute Drive Diagnostic—90H
Table 5-3. Executive Drive Diagnostic
Bit -> 7 6 5 4 3 2 1 0
Command (7) 90H
C/D/H (6) X Drive X
Cyl High (5) X
Cyl Low (4) X
Sec Num (3) X
Sec Cnt (2) X
Feature (1) X
This command performs the internal diagnostic tests implemented by the CompactFlash Memory Card.
The Diagnostic codes shown in Table 5-4 are returned in the Error Register at the end of the command.
Table 5-4. Diagnostic Codes
Code Error Type
01h No Error Detected
02h Formatter Device Error
03h Sector Buffer Error
04h ECC Circuitry Error
05h Controlling Microprocessor Error
8Xh Slave Failed (True IDE Mode)
5.1.3. Erase Sector(s)C0H
Table 5-5. Erase Sectors
Bit -> 7 6 5 4 3 2 1 0
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)
Sec Num (3) Sector Number (LBA 7-0)
Sec Cnt (2) Sector Count
Feature (1) X
This command is no longer recommended. There is essentially no net gain in the use of the Erase Sectors Command
and/or the Write Without Erase Commands. This command is supported to guarantee backward compatibility.