SanDisk SDCFH-004G Product Manual - Page 57

Table 5-2, Check Power Mode, Table 5-3, Execute Drive Diagnostic, Table 5-4, Diagnostic Codes

Page 57 highlights

SanDisk CompactFlash Card OEM Product Manual ATA Command Description If the card is in Idle mode, it sets BSY, sets the Sector Count Register to FFh, clears BSY and generates an interrupt. Table 5-2 Check Power Mode Bit Command (7) 7 6 5 4 3 2 1 0 E5H or 98H 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.1.2 Execute Drive Diagnostic-90H This command performs the internal diagnostic tests implemented by the CompactFlash cards. Table 5-3 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 Sec Num (3) X Sec Cnt (2) X Feature (1) X 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 01h 02h 03h 04h 05h 8Xh Error Type No error detected Formatter device error Sector buffer error ECC circuitry error Controlling microprocessor error Slave failed (True IDE Mode) © 2007 SanDisk Corporation 5-3 Rev. 12.0, 02/07

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

SanDisk CompactFlash Card OEM Product Manual
ATA Command Description
If the card is in Idle mode, it sets BSY, sets the Sector Count Register to FFh, clears BSY and
generates an interrupt.
Table 5-2
Check Power Mode
Bit
7
6
5
4
3
2
1
0
Command (7)
E5H or 98H
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.1.2
Execute Drive Diagnostic–90H
This command performs the internal diagnostic tests implemented by the CompactFlash cards.
Table 5-3
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
Sec Num (3)
X
Sec Cnt (2)
X
Feature (1)
X
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)
© 2007 SanDisk Corporation
5-3
Rev. 12.0, 02/07