SanDisk SDCFH-004G Product Manual - Page 72

Table 5-21, Read Verify Sectors, Table 5-22, Recalibrate, Table 5-23, Request Sense

Page 72 highlights

ATA Command Description SanDisk CompactFlash Card OEM Product Manual When the requested sectors have been verified, the card clears BSY and generates an interrupt. Upon command completion, the Command Block registers contain the cylinder, head, and sector number of the last sector verified. If an error occurs, the verify terminates at the sector where the error occurs. The Command Block registers contain the cylinder, head and sector number of the sector where the error occurred. The Sector Count Register contains the number of sectors not yet verified. Table 5-21 Read Verify Sector(s) Bit 7 6 5 4 3 2 1 0 Command (7) 40H or 41H 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) Sec Cnt (2) Sector Number (LBA 7-0) Sector Count Feature (1) X 5.1.15 Recalibrate-1XH This command is effectively a NOP command to the CompactFlash Memory Card and is provided for compatibility purposes. After this command is executed the Cyl High and Cyl Low as well as the Head number will be 0 and Sec Num will be 1 if LBA=0 and 0 if LBA=1 (i.e., the first block in LBA is 0 while CHS mode the sector number starts at 1). Table 5-22 Recalibrate Bit 7 6 5 4 3 2 1 0 Command (7) 1XH C/D/H (6) 1 LBA 1 Drive X Cyl High (5) X Cyl Low (4) X Sec Num (3) X Sec Cnt (2) X Feature (1) X 5.1.16 Request Sense-03H This command requests an extended error code after a command ends with an error. Table 5-23 Request Sense Bit 7 6 5 4 3 2 1 0 Command (7) 03H C/D/H (6) 1 X 1 Drive X Cyl High (5) X Cyl Low (4) X Sec Num (3) X Sec Cnt (2) X Feature (1) X 02/07, Rev. 12.0 5-18 © 2007 SanDisk Corporation

  • 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

ATA Command Description
SanDisk CompactFlash Card OEM Product Manual
When the requested sectors have been verified, the card clears BSY and generates an interrupt.
Upon command completion, the Command Block registers contain the cylinder, head, and
sector number of the last sector verified.
If an error occurs, the verify terminates at the sector where the error occurs. The Command
Block registers contain the cylinder, head and sector number of the sector where the error
occurred. The Sector Count Register contains the number of sectors not yet verified.
Table 5-21
Read Verify Sector(s)
Bit
7
6
5
4
3
2
1
0
Command (7)
40H or 41H
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
5.1.15
Recalibrate–1XH
This command is effectively a NOP command to the CompactFlash Memory Card and is
provided for compatibility purposes. After this command is executed the Cyl High and Cyl
Low as well as the Head number will be 0 and Sec Num will be 1 if LBA=0 and 0 if LBA=1
(i.e., the first block in LBA is 0 while CHS mode the sector number starts at 1).
Table 5-22
Recalibrate
Bit
7
6
5
4
3
2
1
0
Command (7)
1XH
C/D/H (6)
1
LBA
1
Drive
X
Cyl High (5)
X
Cyl Low (4)
X
Sec Num (3)
X
Sec Cnt (2)
X
Feature (1)
X
5.1.16
Request Sense–03H
This command requests an extended error code after a command ends with an error.
Table 5-23
Request Sense
Bit
7
6
5
4
3
2
1
0
Command (7)
03H
C/D/H (6)
1
X
1
Drive
X
Cyl High (5)
X
Cyl Low (4)
X
Sec Num (3)
X
Sec Cnt (2)
X
Feature (1)
X
02/07, Rev. 12.0
5-18
© 2007 SanDisk Corporation