Chapter 4 – SD Card Protocol Description
Revision 2.2
SanDisk SD Card Product Manual
© 2004 SanDisk Corporation
4-22
12/08/04
Mode 1 Operation—Set Function
CMD6 is used in Mode 1 to switch the functionality of the card.
Switching to a new functionality is accomplished by performing the following actions.
1.
Set the mode bit to 1.
2. Select only one function in each function group. Setting the function to 0x0 selects
the default function. It is recommended to specify 0xF (no influence) for all selected
functions except for functions that need to be changed. Selecting 0xF will keep the
current function that was selected for the function group.
In response to a set function, the switch function status will return the following.
−
The function that is the result of the switch command. In case of invalid
selection of one function or more, all set values are ignored and no change will
be done (identical to the case where the host selects 0xF for all functions groups).
The response to an invalid selection of function will be 0xF.
−
Maximum current consumption under the selected functions. If one of the
selected functions was strong the return value will be 0.
Table 4-9
Functions
Arg.
Slice
[23:20] [19:16] [15:12] [11:8] [7:4] [3:0]
Group
No.
6 5 4 3 2 1
Function
Name
reserved reserved reserved reserved Command
system
Access
mode
0x0 Default
(v1.01)
0x1 Reserved Reserved Reserved Reserved For
eC
High-speed
0x2 Reserved Reserved Reserved Reserved Reserved Reserved
0x3 Reserved Reserved Reserved Reserved Reserved Reserved
0x4 Reserved Reserved Reserved Reserved Reserved Reserved
0x5 Reserved Reserved Reserved Reserved Reserved Reserved
0x6 Reserved Reserved Reserved Reserved Reserved Reserved
0x7 Reserved Reserved Reserved Reserved Reserved Reserved
0x8 Reserved Reserved Reserved Reserved Reserved Reserved
0x9 Reserved Reserved Reserved Reserved Reserved Reserved
0xA Reserved Reserved Reserved Reserved Reserved Reserved
0xB Reserved Reserved Reserved Reserved Reserved Reserved
0xC Reserved Reserved Reserved Reserved Reserved Reserved
0xD Reserved Reserved Reserved Reserved Reserved Reserved
0xE Reserved Reserved Reserved Reserved Vendor
specific
Reserved
0xF No
influence