English
Language : 

SMCXXXAF Datasheet, PDF (53/82 Pages) Numonyx B.V – 32 Mbyte, 64 Mbyte, 128 Mbyte, 256 Mbyte and 512 Mbyte 3.3 V / 5 V supply CompactFlash™ card
SMCxxxAF
CF-ATA command description
9.2
Execute Drive Diagnostic command (90h)
This command performs the internal diagnostic tests implemented by the card.
In PCMCIA configuration, this command only runs on the card which is addressed by the
drive/head register when the command is issued. This is because PCMCIA card interface
does not allow for direct inter-drive communication.
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 the status for both devices.
Table 48 defines the Execute Drive Diagnostic command byte sequence. The diagnostic
codes shown in Table 49 are returned in the error register at the end of the command.
Table 48. Execute 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
Sect Num (3)
X
Sect Cnt (2)
X
Feature (1)
X
Table 49.
Diagnostic codes
Code
01h
02h
03h
04h
05h
8Xh
Error type
No error detected
Formatter device error
Sector buffer error
ECC circuitry error
Controlling microprocessor error
Slave error in True IDE mode
53/82