HANBit
HFDOM40K3R
Bit->
7
6
5
4
3
2
1
0
Command(7)
C/D/H(6)
98h or E5h
X
Drive
X
Cly High(5)
Cly Low(4)
Sec Num(3)
Sec Cnt(2)
Feature(1)
X
X
X
X
X
Check Power Mode
This command checks the power mode. f the CompactFlash Storage Card is in, going to, or recovering
from the sleep mode, the CompactFlash Storage Card sets BSY, sets the Sector Count Register to 00h,
clears BSY and generates an interrupt. If the CompactFlash Storage Card is in Idle mode, the
CompactFlash Storage Card sets BSY, sets the Sector Count Register to FFh, clears BSY and
generates an interrupt.
Execute Drive Diagnostic – 90h
Bit->
7
6
5
4
3
2
1
0
Command(7)
C/D/H(6)
90h
X
Drive
X
Cyl High(5)
Cyl Low(4)
Sec Num(3)
Sec Cnt(2)
Feature(1)
X
X
X
X
X
Execute Drive Diagnostic
This command performs the internal diagnostic tests implemented by the CompactFlash Storage Card.
If in PCMCIA configuration this command runs only on the CompactFlash Storage Card which is addressed by the
Drive/Head register when the diagnostic command is issued. This is because PCMCIA card interface does not
allows for direct inter-drive communication (such as the ATA PDIAG and DASP signals). If in True IDE Mode the
Drive bit is ignored and the diagnostic command is executed by both the Master and the Slave with the Master
responding with status for both devices.
The Diagnostic codes shown in Table 39 are returned in the Error Register at the end of the command.
Diagnostic Codes
Code
01h
ERROR TYPE
No Error Detected
Formatter Device Error
02h
URL:www.hbe.co.kr
14 / 30
HANBit Electronics Co., Ltd.
Rev. 2.0 (October. 2004)