SanDisk SDMB-16-771 Product Manual - Page 48

Table 5-2, Card Command Classes CCCs

Page 48 highlights

MultiMediaCard Product Manual 5.7.2 Command Format (Command length 48 bits, 2.4 µs @ 20 MHz) 0 1 bit 5...bit 0 bit 31...bit 0 start bit host command argument Commands and arguments are listed in Table 5-3 through Table 5-9. 7-bit CRC Calculation: G(x) = x7 + x3 + 1 M(x) = (start bit)∗x39 + (host bit)∗x38 +...+ (last bit before CRC)∗x0 CRC[6...0] = Remainder[(M(x)∗x7)/G(x)] bit 6...bit 0 CRC71 5.7.3 Command Classes 1 end bit The command set of the MultiMediaCard is divided into several classes (See Table 5-2). Each class supports a set of MultiMediaCard functions. The supported Card Command Classes (CCC) are coded as a parameter in the card specific data (CSD) register of each card, providing the host with information on how to access the card. Table 5-2 Card Command Classes (CCCs) Card Command Class (CCC) Class Description Supported Commands 0 1 2 3 4 7 9 10 11 12 13 15 16 17 18 20 Class 0 Basic Class 1 Stream Read + Class 2 Block Read +++ Class 3 Stream Write + Class 4 Block Write + Class 5 Erase Class 6 Write Write-Protection Class 7 Read Write-Protection Class 8 Erase Write-Protection Class 9 I/O Mode2 Class 10-11 Reserved 1) 7-bit Cyclic Redundancy Check. 2) I/O mode class is not supported by the SanDisk MultiMediaCard. 48 SanDisk MultiMediaCard Product Manual Rev. 2 © 2000 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

MultiMediaCard Product Manual
SanDisk MultiMediaCard Product Manual Rev. 2 © 2000 SANDISK CORPORATION
48
5.7.2
Command Format
(
Command length 48 bits, 2.4
µ
s @ 20 MHz)
0
1
bit 5...bit 0
bit 31...bit 0
bit 6...bit 0
1
start bit
host
command
argument
CRC7
1
end bit
Commands and arguments are listed in Table 5-3 through Table 5-9.
7-bit CRC Calculation: G(x) = x
7 +
x
3 +
1
M(x) = (start bit)
x
39
+ (host bit)
x
38
+...+ (last bit before CRC)
x
0
CRC[6...0] = Remainder[(M(x)
x
7
)/G(x)]
5.7.3
Command Classes
The command set of the MultiMediaCard is divided into several classes (See Table 5-2). Each class
supports a set of MultiMediaCard functions.
The supported Card Command Classes (CCC) are coded as a parameter in the card specific data (CSD)
register of each card, providing the host with information on how to access the card.
Table 5-2
Card Command Classes (CCCs)
Card
Command
Class (CCC)
Class Description
Supported Commands
0
1
2
3
4
7
9
10 11 12 13 15 16 17 18 20
Class 0
Basic
+
+
+
+
+
+
+
+
+
+
+
Class 1
Stream Read
+
Class 2
Block Read
+
+
+
Class 3
Stream Write
+
Class 4
Block Write
+
Class 5
Erase
Class 6
Write Write-Protection
Class 7
Read Write-Protection
Class 8
Erase Write-Protection
Class 9
I/O Mode
2
Class 10-11
Reserved
1)
7-bit Cyclic Redundancy Check.
2)
I/O mode class is not supported by the SanDisk MultiMediaCard.