TS32M~1GCF80 | 80X CompactFlash Card | |
|
|
|
5.6.2 Check Power Mode - 98h or E5h
If 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.
Bit | 7 | 6 | 5 | 4 |
| 3 | 2 |
| 1 | 0 |
|
|
|
|
|
|
|
|
|
| |
Command (7) |
|
|
| 98h or E5h |
|
|
|
| ||
|
|
|
|
|
|
|
|
|
| |
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 |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
5.6.3 Execute Drive Diagnostic - 90h
When the diagnostic command is issued in a PCMCIA configuration mode, this command runs only on the CompactFlash Storage Card that is addressed by the Drive/Head register. This is because PCMCIA card interface does not allows for direct
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 |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
Diagnostic Codes are returned in the Error Register at the end of the command.
| 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 Error in True IDE Mode |
|
|
|
|
|
|
|
|
|
Transcend Information Inc. | 47 |
|