Product Manual
Page 3
... 3.1 General Description of Pins and Registers 3-1 3.2 SD Bus Topology 3-3 3.3 SPI Bus Topology 3-5 3.4 Electrical Interface 3-6 3.5 SD Card Registers 3-11 3.6 Data Interchange Format and Card Sizes 3-23 4. Revision 2.2 SanDisk SD Card Product Manual TABLE OF CONTENTS 1. SD Card Protocol Description 4-1 4.1 SD Bus Protocol 4-1 4.2 Functional Description 4-4 4.3 Card Identification Mode 4-4 4.4 Data Transfer Mode 4-7 4.5 Clock Control 4-26 4.6 Cyclic Redundancy Codes 4-27 4.7 Error Conditions 4-28 4.8 Commands 4-29 4.9 Card State Transition 4-37 4.10 Timing Diagrams 4-41...
... 3.1 General Description of Pins and Registers 3-1 3.2 SD Bus Topology 3-3 3.3 SPI Bus Topology 3-5 3.4 Electrical Interface 3-6 3.5 SD Card Registers 3-11 3.6 Data Interchange Format and Card Sizes 3-23 4. Revision 2.2 SanDisk SD Card Product Manual TABLE OF CONTENTS 1. SD Card Protocol Description 4-1 4.1 SD Bus Protocol 4-1 4.2 Functional Description 4-4 4.3 Card Identification Mode 4-4 4.4 Data Transfer Mode 4-7 4.5 Clock Control 4-26 4.6 Cyclic Redundancy Codes 4-27 4.7 Error Conditions 4-28 4.8 Commands 4-29 4.9 Card State Transition 4-37 4.10 Timing Diagrams 4-41...
Product Manual
Page 4
Revision 2.2 SanDisk SD Card Product Manual 5.5 Data Write 5-3 5.6 Erase and Write Protect Management 5-4 5.7 Read CID/CSD Registers 5-5 5.8 Reset Sequence 5-5 5.9 Clock Control 5-5 5.10 Error Conditions 5-6 5.11 Memory Array Partitioning 5-7 5.12 Card Lock/Unlock 5-7 5.13 Application-specific Commands 5-7 5.14 Copyright Protection Commands 5-7 5.15 Switch Function Command 5-7 5.16 High-speed Mode (25MB/sec interface speed 5-7 5.17 SPI Command Set 5-8 5.18 Responses 5-12 5.19 Data Tokens 5-14 5.20 Data Error Token...
Revision 2.2 SanDisk SD Card Product Manual 5.5 Data Write 5-3 5.6 Erase and Write Protect Management 5-4 5.7 Read CID/CSD Registers 5-5 5.8 Reset Sequence 5-5 5.9 Clock Control 5-5 5.10 Error Conditions 5-6 5.11 Memory Array Partitioning 5-7 5.12 Card Lock/Unlock 5-7 5.13 Application-specific Commands 5-7 5.14 Copyright Protection Commands 5-7 5.15 Switch Function Command 5-7 5.16 High-speed Mode (25MB/sec interface speed 5-7 5.17 SPI Command Set 5-8 5.18 Responses 5-12 5.19 Data Tokens 5-14 5.20 Data Error Token...
Product Manual
Page 5
... as Error Correction Code (ECC) algorithms, defect handling and diagnostics, power management and clock control. Matsushita Electric Company (MEI), Toshiba Corporation, and SanDisk Corporation defined the SD Card Specification originally. Figure 1-1 SanDisk SD Card Block Diagram SD Bus/SPI Bus Interface SanDisk Single Chip Controller Data In/Out Control Flash Modules © 2004 SanDisk Corporation SanDisk SD Card 1-1 12/08/04 Introduction SanDisk SD Card Product Manual 1 Introduction 1.1 General Description The SanDisk Secure Digital (SD) Card...
... as Error Correction Code (ECC) algorithms, defect handling and diagnostics, power management and clock control. Matsushita Electric Company (MEI), Toshiba Corporation, and SanDisk Corporation defined the SD Card Specification originally. Figure 1-1 SanDisk SD Card Block Diagram SD Bus/SPI Bus Interface SanDisk Single Chip Controller Data In/Out Control Flash Modules © 2004 SanDisk Corporation SanDisk SD Card 1-1 12/08/04 Introduction SanDisk SD Card Product Manual 1 Introduction 1.1 General Description The SanDisk Secure Digital (SD) Card...
Product Manual
Page 6
... specification is available from the SD Card Association. SD Association 719 San Benito St., Suite C Hollister, CA 95023 USA Phone: +1 831-636-7322 FAX: +1 831-623-2248 E-mail: [email protected] URL: http://www.sdcard.org © 2004 SanDisk Corporation 1-2 12/08/04 Introduction SanDisk SD Card Product Manual 1.2 Features SanDisk SD Card features include: ►Up to 2-GB of data storage ►SD-protocol compatible ►Supports SPI...
... specification is available from the SD Card Association. SD Association 719 San Benito St., Suite C Hollister, CA 95023 USA Phone: +1 831-636-7322 FAX: +1 831-623-2248 E-mail: [email protected] URL: http://www.sdcard.org © 2004 SanDisk Corporation 1-2 12/08/04 Introduction SanDisk SD Card Product Manual 1.2 Features SanDisk SD Card features include: ►Up to 2-GB of data storage ►SD-protocol compatible ►Supports SPI...
Product Manual
Page 7
... complete. Introduction SanDisk SD Card Product Manual 1.4 Functional Description SanDisk SD cards contain a high-level, intelligent subsystem as that a bit is much more sophisticated. Revision 2.2 Chapter 1 - The SD Card's soft error rate specification is found in other words, systems that would be defective, SD cards replace this bad bit with new flash technology without having to get involved in the details of how the flash memory is erased...
... complete. Introduction SanDisk SD Card Product Manual 1.4 Functional Description SanDisk SD cards contain a high-level, intelligent subsystem as that a bit is much more sophisticated. Revision 2.2 Chapter 1 - The SD Card's soft error rate specification is found in other words, systems that would be defective, SD cards replace this bad bit with new flash technology without having to get involved in the details of how the flash memory is erased...
Product Manual
Page 8
... backward compatibility with every data packet (e.g., a song) that is saved in the unprotected memory, there is special data that is ready to access the card in less than five milliseconds (ms). The Wear Level command is automatic entrance and exit from the card. While the card is unlimited). However, in almost all SD Card applications. Revision 2.2 Chapter 1 - Introduction SanDisk SD Card Product Manual 1.7 Copyright...
... backward compatibility with every data packet (e.g., a song) that is saved in the unprotected memory, there is special data that is ready to access the card in less than five milliseconds (ms). The Wear Level command is automatic entrance and exit from the card. While the card is unlimited). However, in almost all SD Card applications. Revision 2.2 Chapter 1 - Introduction SanDisk SD Card Product Manual 1.7 Copyright...
Product Manual
Page 9
... is stored in the SD Card standard specifications. During the identification process, the host accesses each card separately through the connector. Introduction SanDisk SD Card Product Manual 1.11 Hot Insertion Support for the last host command. The resistor can read , and not write, this register. The Status Register provides information about the card's current state and completion codes for hot insertion will...
... is stored in the SD Card standard specifications. During the identification process, the host accesses each card separately through the connector. Introduction SanDisk SD Card Product Manual 1.11 Hot Insertion Support for the last host command. The resistor can read , and not write, this register. The Status Register provides information about the card's current state and completion codes for hot insertion will...
Product Manual
Page 12
... memory addresses starting at the address specified in a pre-specified length. Every data block must be as small as shown in Figure 1-3 and defined in a single physical sector. Introduction SanDisk SD Card Product Manual Part No. SDSDJ-32 SDSDB-16 Block Size (Bytes) 512 512 Data Area + Protected size (Blocks) 60,512 29,152 Protected Area2 size (Blocks) 736 352 User...
... memory addresses starting at the address specified in a pre-specified length. Every data block must be as small as shown in Figure 1-3 and defined in a single physical sector. Introduction SanDisk SD Card Product Manual Part No. SDSDJ-32 SDSDB-16 Block Size (Bytes) 512 512 Data Area + Protected size (Blocks) 60,512 29,152 Protected Area2 size (Blocks) 736 352 User...
Product Manual
Page 13
... a physical OTP cell. Introduction SanDisk SD Card Product Manual 1.12.8 Data Protection in SD Physical Specification's Application Notes given by using the SEND_CSD and PROGRAM_CSD commands. 1.13 SPI Mode The SPI mode is read the CSD Register and alter the host-controlled data bytes using the READ_OCR (CMD58) command. This feature is implemented in the SD Card controller firmware and not with an SPI...
... a physical OTP cell. Introduction SanDisk SD Card Product Manual 1.12.8 Data Protection in SD Physical Specification's Application Notes given by using the SEND_CSD and PROGRAM_CSD commands. 1.13 SPI Mode The SPI mode is read the CSD Register and alter the host-controlled data bytes using the READ_OCR (CMD58) command. This feature is implemented in the SD Card controller firmware and not with an SPI...
Product Manual
Page 37
...coded Table 3-22. Table 3-20 DSR Implementation Code Table DSR_IMP 0 1 No DSR implemented DSR implemented DSR Type • C_SIZE (Device Size)-computes the card capacity. If set, a Driver Stage Register (DSR) must also be coded...GB. The memory capacity of the card is computed from the entries C_SIZE, C_SIZE_MULT and READ_BL_LEN as 2C_SIZE_MULT+2. © 2004 SanDisk Corporation 3-17 12/08/04 Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual • DSR_IMP-defines if the configurable driver stage is integrated on VDD power supply are coded...
...coded Table 3-22. Table 3-20 DSR Implementation Code Table DSR_IMP 0 1 No DSR implemented DSR implemented DSR Type • C_SIZE (Device Size)-computes the card capacity. If set, a Driver Stage Register (DSR) must also be coded...GB. The memory capacity of the card is computed from the entries C_SIZE, C_SIZE_MULT and READ_BL_LEN as 2C_SIZE_MULT+2. © 2004 SanDisk Corporation 3-17 12/08/04 Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual • DSR_IMP-defines if the configurable driver stage is integrated on VDD power supply are coded...
Product Manual
Page 40
... selection of C erase commands occurred. Internal card controller error C © 2004 SanDisk Corporation 3-20 12/08/04 The Type and Clear Condition fields in order to program a write- The transferred block length C is defined in the sequence of write- C protected block. SD Card Interface Description SD Card Product Manual 3.5.4 Status Register The SD Card Status Register structure is not allowed for...
... selection of C erase commands occurred. Internal card controller error C © 2004 SanDisk Corporation 3-20 12/08/04 The Type and Clear Condition fields in order to program a write- The transferred block length C is defined in the sequence of write- C protected block. SD Card Interface Description SD Card Product Manual 3.5.4 Status Register The SD Card Status Register structure is not allowed for...
Product Manual
Page 42
... be A Memory Cards used to CSD register). The actual area = (in units of (SIZE_OF_PROTECTED_AREA) MULT*BLOCK * MULT * BLOCK_LEN. _LEN refer to define different variations as defined in of 512 bits. Reserved Reserved for the addressed host-card communication after the card identification procedure. © 2004 SanDisk Corporation 3-22 12/08/04 SD Card Interface Description SD Card Product Manual 3.5.5 3.5.6 SD Status Register The SD Status...
... be A Memory Cards used to CSD register). The actual area = (in units of (SIZE_OF_PROTECTED_AREA) MULT*BLOCK * MULT * BLOCK_LEN. _LEN refer to define different variations as defined in of 512 bits. Reserved Reserved for the addressed host-card communication after the card identification procedure. © 2004 SanDisk Corporation 3-22 12/08/04 SD Card Interface Description SD Card Product Manual 3.5.5 3.5.6 SD Status Register The SD Status...
Product Manual
Page 50
... into Identification State. SD Card Protocol Description SanDisk SD Card Product Manual 4.3.3 card have incompatible VDD ranges, the card will not be able to deactivate a card-for CMD55 in idle_state will be used to address the card in the stack. The MultiMediaCard will use the busy bit in the response to distinguish between a MultiMediaCard and an SD Card. If there is an application-specific command. However...
... into Identification State. SD Card Protocol Description SanDisk SD Card Product Manual 4.3.3 card have incompatible VDD ranges, the card will not be able to deactivate a card-for CMD55 in idle_state will be used to address the card in the stack. The MultiMediaCard will use the busy bit in the response to distinguish between a MultiMediaCard and an SD Card. If there is an application-specific command. However...
Product Manual
Page 61
SD Card Protocol Description SanDisk SD Card Product Manual • Two types of Lock/Unlock Card There will be 0. Type 1 is an older version of error sectors are not cleared. SD cards that support Lock / Unlock and comply with Version 1.01, can take Type 2. Treat CMD42 Parameter=0111b as 0010b. If Results in this specification... erase if the data of the SD Card, and Type 2 is the new version defined in an "error" force erase is completed, the CARD_IS_LOCKED is set to Permanent Write Protect from Permanent Write Protect. Table 4-6 shows the difference between Force Erase ...
SD Card Protocol Description SanDisk SD Card Product Manual • Two types of Lock/Unlock Card There will be 0. Type 1 is an older version of error sectors are not cleared. SD cards that support Lock / Unlock and comply with Version 1.01, can take Type 2. Treat CMD42 Parameter=0111b as 0010b. If Results in this specification... erase if the data of the SD Card, and Type 2 is the new version defined in an "error" force erase is completed, the CARD_IS_LOCKED is set to Permanent Write Protect from Permanent Write Protect. Table 4-6 shows the difference between Force Erase ...
Product Manual
Page 63
... APP_CMD bit set . Currently there are compatible with CMD16. The card shall be handled as ACMD. Switch Function Command Switch Function command (CMD6) is not memory payload data but not for ACMD13 but has a vendor specific format and meaning. SD Card Protocol Description SanDisk SD Card Product Manual 4.4.9 new SD card-specific commands, the SD Card uses the application-specific commands feature to switch or expand memory card functions. For example, a card has a definition...
... APP_CMD bit set . Currently there are compatible with CMD16. The card shall be handled as ACMD. Switch Function Command Switch Function command (CMD6) is not memory payload data but not for ACMD13 but has a vendor specific format and meaning. SD Card Protocol Description SanDisk SD Card Product Manual 4.4.9 new SD card-specific commands, the SD Card uses the application-specific commands feature to switch or expand memory card functions. For example, a card has a definition...
Product Manual
Page 66
...Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Vendor specific High-speed Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved © 2004 SanDisk Corporation 4-22 12/08/04 Revision 2.2 Chapter 4 -...; Maximum current consumption under the selected functions. Switching to a new functionality is used in each function group. SD Card Protocol Description SanDisk SD Card Product Manual Mode 1 Operation-Set Function CMD6 is accomplished by performing the following . − The function that ...
...Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Vendor specific High-speed Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved © 2004 SanDisk Corporation 4-22 12/08/04 Revision 2.2 Chapter 4 -...; Maximum current consumption under the selected functions. Switching to a new functionality is used in each function group. SD Card Protocol Description SanDisk SD Card Product Manual Mode 1 Operation-Set Function CMD6 is accomplished by performing the following . − The function that ...
Product Manual
Page 80
... CMD60-CMD63 Reserved Reserved for manufacturer Indicates to the card that the next command is allowed (mandatory in SD Card). I /O mode (refer to each command system set by switch function command (CMD6). SD Card Protocol Description SanDisk SD Card Product Manual CMD Index CMD43 ... CMD51 Type Argument Reserved Resp. Switch Function Commands (Class 10) CMD6 CMD34 CMD35 CMD36 CMD37 CMD50 adtc [31...
... CMD60-CMD63 Reserved Reserved for manufacturer Indicates to the card that the next command is allowed (mandatory in SD Card). I /O mode (refer to each command system set by switch function command (CMD6). SD Card Protocol Description SanDisk SD Card Product Manual CMD Index CMD43 ... CMD51 Type Argument Reserved Resp. Switch Function Commands (Class 10) CMD6 CMD34 CMD35 CMD36 CMD37 CMD50 adtc [31...
Product Manual
Page 91
... SD Card wakes up in the SD Bus mode. Once in the SD Bus mode. When the card encounters a data retrieval problem, it will cause a write error. CMD16 is not mandatory if the default is not observed. The following three ways: 1. The only valid write set ...SD Card Product Manual 5 SPI Protocol 5.1 SPI Bus Protocol Although the SanDisk SD Card channel is based on command and data bit-streams initiated by a start bit and terminated by a stop bit, the SPI channel is ignored once in SPI mode are disabled by asserting the CS signal, low. All the SD Memory Card commands supported...
... SD Card wakes up in the SD Bus mode. Once in the SD Bus mode. When the card encounters a data retrieval problem, it will cause a write error. CMD16 is not mandatory if the default is not observed. The following three ways: 1. The only valid write set ...SD Card Product Manual 5 SPI Protocol 5.1 SPI Bus Protocol Although the SanDisk SD Card channel is based on command and data bit-streams initiated by a start bit and terminated by a stop bit, the SPI channel is ignored once in SPI mode are disabled by asserting the CS signal, low. All the SD Memory Card commands supported...
Product Manual
Page 103
... sector or makes a sequence or password error during the operation. • Write-protect erase-skip/lock/unlock command failed-This status bit has two functions overloaded. The content of the busy signal. SPI Protocol SD Card Product Manual Idle State Erase Reset Illegal Command Com CRC Error Erase Seq Error Address Error Parameter Error 5.18.2 Format R1b This response token is...
... sector or makes a sequence or password error during the operation. • Write-protect erase-skip/lock/unlock command failed-This status bit has two functions overloaded. The content of the busy signal. SPI Protocol SD Card Product Manual Idle State Erase Reset Illegal Command Com CRC Error Erase Seq Error Address Error Parameter Error 5.18.2 Format R1b This response token is...
Product Manual
Page 113
... SERVICES. This card is extended by the user, explaining the conditions of usage and the nature of the failure, accompanies each product will have the option of the product. B. No evidence is on file at its sole option, will repair, replace or refund the purchase price of repairing or replacing the defective product, if the following conditions are not warranted to SanDisk...
... SERVICES. This card is extended by the user, explaining the conditions of usage and the nature of the failure, accompanies each product will have the option of the product. B. No evidence is on file at its sole option, will repair, replace or refund the purchase price of repairing or replacing the defective product, if the following conditions are not warranted to SanDisk...