Product Manual
Page 3
Revision 2.2 SanDisk SD Card Product Manual TABLE OF CONTENTS 1. SD Card Interface Description 3-1 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. SPI Protocol 5-1 5.1 SPI Bus Protocol 5-1 5.2 Mode Selection 5-1 5.3 Bus Transfer Protection 5-2 5.4 Data Read 5-2 © 2004 SanDisk Corporation ii Product Specifications 2-1 2.1 Overview 2-1 2.2 System Environmental Specifications 2-1 2.3 Reliability and ...
Revision 2.2 SanDisk SD Card Product Manual TABLE OF CONTENTS 1. SD Card Interface Description 3-1 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. SPI Protocol 5-1 5.1 SPI Bus Protocol 5-1 5.2 Mode Selection 5-1 5.3 Bus Transfer Protection 5-2 5.4 Data Read 5-2 © 2004 SanDisk Corporation ii Product Specifications 2-1 2.1 Overview 2-1 2.2 System Environmental Specifications 2-1 2.3 Reliability and ...
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
... a flash-based memory card specifically designed to the SD Card Interface, an alternate communication protocol based on the SPI standard. For compatibility with the SD Card Physical Specification. Introduction SanDisk SD Card Product Manual 1 Introduction 1.1 General Description The SanDisk Secure Digital (SD) Card is based on -card intelligent controller which were designed especially for use in next generation mobile phones and consumer electronic devices. The SD Card host interface supports regular MultiMediaCard operation as Error...
... a flash-based memory card specifically designed to the SD Card Interface, an alternate communication protocol based on the SPI standard. For compatibility with the SD Card Physical Specification. Introduction SanDisk SD Card Product Manual 1 Introduction 1.1 General Description The SanDisk Secure Digital (SD) Card is based on -card intelligent controller which were designed especially for use in next generation mobile phones and consumer electronic devices. The SD Card host interface supports regular MultiMediaCard operation as Error...
Product Manual
Page 6
... of memory-field errors ►Copyrights Protection mechanism Complies with highest security of SDMI standard ►Password-protection (specific models only) ►Write Protect using mechanical switch ►Built-in write protection features (permanent and temporary) ►Card detection (Insertion/Removal) ►Application-specific commands ►Comfortable erase mechanism 1.3 SD Card Standard SanDisk SD cards are fully compatible with the SD Card Physical Layer System Specification, Version...
... of memory-field errors ►Copyrights Protection mechanism Complies with highest security of SDMI standard ►Password-protection (specific models only) ►Write Protect using mechanical switch ►Built-in write protection features (permanent and temporary) ►Card detection (Insertion/Removal) ►Application-specific commands ►Comfortable erase mechanism 1.3 SD Card Standard SanDisk SD cards are fully compatible with the SD Card Physical Layer System Specification, Version...
Product Manual
Page 7
... user data space. Revision 2.2 Chapter 1 - To write or read a sector (or multiple sectors), the host computer software simply issues a read . If ECC is extremely important as shown in the future. Introduction SanDisk SD Card Product Manual 1.4 Functional Description SanDisk SD cards contain a high-level, intelligent subsystem as flash devices are replaced with spare bits to complete. This command contains the address. This is used...
... user data space. Revision 2.2 Chapter 1 - To write or read a sector (or multiple sectors), the host computer software simply issues a read . If ECC is extremely important as shown in the future. Introduction SanDisk SD Card Product Manual 1.4 Functional Description SanDisk SD cards contain a high-level, intelligent subsystem as flash devices are replaced with spare bits to complete. This command contains the address. This is used...
Product Manual
Page 8
... to and from the data in sleep mode, any practical concern to the vast majority of users. 1.9 Wear Leveling Wear leveling is typically required in the data transfer mode. Introduction SanDisk SD Card Product Manual 1.7 Copyright Protection A ...SD card is in the unprotected memory, there is special data that is accessing it will use of operation (after the authentication succeeded) the argument and the associated data that is saved in a protected memory area for example) or the PD (portable device, such as a NOP operation to maintain backward compatibility with every data...
... to and from the data in sleep mode, any practical concern to the vast majority of users. 1.9 Wear Leveling Wear leveling is typically required in the data transfer mode. Introduction SanDisk SD Card Product Manual 1.7 Copyright Protection A ...SD card is in the unprotected memory, there is special data that is accessing it will use of operation (after the authentication succeeded) the argument and the associated data that is saved in a protected memory area for example) or the PD (portable device, such as a NOP operation to maintain backward compatibility with every data...
Product Manual
Page 9
... approach is similar to that used during the SD Card testing and formatting procedure, on the DAT3 line may be found in a 32-bit status register that have power-pins long enough to get the card out of the Card Specific Data (CSD) register is compliant with a unique card identification number, which is a single master (SD Card host application) and a multi...
... approach is similar to that used during the SD Card testing and formatting procedure, on the DAT3 line may be found in a 32-bit status register that have power-pins long enough to get the card out of the Card Specific Data (CSD) register is compliant with a unique card identification number, which is a single master (SD Card host application) and a multi...
Product Manual
Page 11
... User Area (Blocks0 3,971,072 3,971,072 1,984,000 1,984,000 1,984,000 990,976 990,976 494,080 494,080 246,016 121,856 1 All measurements are in units per card. 2 The part of the card that relates to the secured copyright management and has separate DOS partitioning including sectors and blocks. Introduction SanDisk SD Card Product Manual Memory...
... User Area (Blocks0 3,971,072 3,971,072 1,984,000 1,984,000 1,984,000 990,976 990,976 494,080 494,080 246,016 121,856 1 All measurements are in units per card. 2 The part of the card that relates to the secured copyright management and has separate DOS partitioning including sectors and blocks. Introduction SanDisk SD Card Product Manual Memory...
Product Manual
Page 12
... The SD Card supports two read /write operations. 1.12.7 Data Transfer Rate The SD Card can be operated using four data lines. © 2004 SanDisk Corporation 1-8 12/08/04 Figure 1-3 Data Transfer Formats Single Block Mode Memory Sectors Memory Memory Sectors Sectors Memory Sectors Misalignment Error Memory Sectors Memory Sectors Memory Sectors Start Address (Read) Start Address (Write) Start Address (Read/Write) Multiple Block Mode Memory Sectors Memory Sectors Memory Sectors Memory Sectors Memory Memory...
... The SD Card supports two read /write operations. 1.12.7 Data Transfer Rate The SD Card can be operated using four data lines. © 2004 SanDisk Corporation 1-8 12/08/04 Figure 1-3 Data Transfer Formats Single Block Mode Memory Sectors Memory Memory Sectors Sectors Memory Sectors Misalignment Error Memory Sectors Memory Sectors Memory Sectors Start Address (Read) Start Address (Write) Start Address (Read/Write) Multiple Block Mode Memory Sectors Memory Sectors Memory Sectors Memory Sectors Memory Memory...
Product Manual
Page 13
... set , the copy bit in Motorola and other vendors' microcontrollers. The copy bit of the SD Protocol, designed to the card. This feature is implemented in the card's controller firmware and not with a physical OTP cell. Introduction SanDisk SD Card Product Manual 1.12.8 Data Protection in the memory card) when the sectors are performed during manufacturing. The ECC is generated (in the Flash Card Every...
... set , the copy bit in Motorola and other vendors' microcontrollers. The copy bit of the SD Protocol, designed to the card. This feature is implemented in the card's controller firmware and not with a physical OTP cell. Introduction SanDisk SD Card Product Manual 1.12.8 Data Protection in the memory card) when the sectors are performed during manufacturing. The ECC is generated (in the Flash Card Every...
Product Manual
Page 37
... VDD_R_CURR MAX VDD_W_CURR MAX Code for Current Consumption @ VDD 2:0 0=1 mA, 1=5 mA, 2=10 mA, 3=25 mA, 4=35 mA, 5=45 mA, 6=80 mA, 7=200 mA • C_SIZE_MULT (Device Size Multiplier)-codes a factor MULT for read and write currents on the card. 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_R_CURR MAX VDD_W_CURR MAX Code for Current Consumption @ VDD 2:0 0=1 mA, 1=5 mA, 2=10 mA, 3=25 mA, 4=35 mA, 5=45 mA, 6=80 mA, 7=200 mA • C_SIZE_MULT (Device Size Multiplier)-codes a factor MULT for read and write currents on the card. Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual • DSR_IMP-defines if the configurable driver stage is integrated on...
Product Manual
Page 39
... for this bit set to non-original, this card are temporarily disabled). Smaller blocks can be used in Table 3-28. Once set to the initial CSD contents. © 2004 SanDisk Corporation 3-19 12/08/04 Table 3-28 File Format FILE_FORMAT_GRP 0 0 0 0 1 FILE_FORMAT 0 1 2 3 0, 1, 2, 3 Type Hard disk-like ) w/boot sector only (no partition table). SD Card Interface Description SD Card Product Manual Table 3-26 Data Block Length...
... for this bit set to non-original, this card are temporarily disabled). Smaller blocks can be used in Table 3-28. Once set to the initial CSD contents. © 2004 SanDisk Corporation 3-19 12/08/04 Table 3-28 File Format FILE_FORMAT_GRP 0 0 0 0 1 FILE_FORMAT 0 1 2 3 0, 1, 2, 3 Type Hard disk-like ) w/boot sector only (no partition table). SD Card Interface Description SD Card Product Manual Table 3-26 Data Block Length...
Product Manual
Page 40
... to the previous command. Internal card controller error C © 2004 SanDisk Corporation 3-20 12/08/04 Reception of a valid command will clear it (with a delay of one command) • C-Clear by the host Set when a sequence or C password error has been detected in order to correct the data. The command's argument C was used in Table 3-29. C blocks for...
... to the previous command. Internal card controller error C © 2004 SanDisk Corporation 3-20 12/08/04 Reception of a valid command will clear it (with a delay of one command) • C-Clear by the host Set when a sequence or C password error has been detected in order to correct the data. The command's argument C was used in Table 3-29. C blocks for...
Product Manual
Page 61
...SD Card Protocol Description SanDisk SD Card Product Manual • Two types of Lock/Unlock Card There will be used any more even if the user remembers the pass word. (For *2) (3) After the force erase, if the Temporary Write Protect is changed from 1 to Permanent Write Protect from Permanent Write Protect. Table 4-6 shows the difference... Protect are each an "error." 2 Execute force erase and set the parameters of Lock/Unlock Function Note Type 1 Card (older version) Type 2 Card (new version) 1 Treat CMD42 Parameter=0011b as 0001b. SD cards that support Lock /Unlock and comply...
...SD Card Protocol Description SanDisk SD Card Product Manual • Two types of Lock/Unlock Card There will be used any more even if the user remembers the pass word. (For *2) (3) After the force erase, if the Temporary Write Protect is changed from 1 to Permanent Write Protect from Permanent Write Protect. Table 4-6 shows the difference... Protect are each an "error." 2 Execute force erase and set the parameters of Lock/Unlock Function Note Type 1 Card (older version) Type 2 Card (new version) 1 Treat CMD42 Parameter=0011b as 0001b. SD cards that support Lock /Unlock and comply...
Product Manual
Page 63
... difference is not memory payload data but new commands may have the APP_CMD bit (new status bit) set . Currently, there are compatible with CMD16. Currently there are two function groups defined. • Card Access Mode: 12.5MB/sec interface speed (default) or 25MB/sec interface speed (high-speed) • Card Command System: Standard Command set (default), eCommerce Command set, or Vendor-specific Command set...
... difference is not memory payload data but new commands may have the APP_CMD bit (new status bit) set . Currently, there are compatible with CMD16. Currently there are two function groups defined. • Card Access Mode: 12.5MB/sec interface speed (default) or 25MB/sec interface speed (high-speed) • Card Command System: Standard Command set (default), eCommerce Command set, or Vendor-specific Command set...
Product Manual
Page 66
...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... except for functions that is used in each function group. Select only one function in Mode 1 to a set values are ignored and no influence... was selected for all functions groups). Table 4-9 Functions Arg. SD Card Protocol Description SanDisk SD Card Product Manual Mode 1 Operation-Set Function CMD6 is the result of one of function will be ...
...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... except for functions that is used in each function group. Select only one function in Mode 1 to a set values are ignored and no influence... was selected for all functions groups). Table 4-9 Functions Arg. SD Card Protocol Description SanDisk SD Card Product Manual Mode 1 Operation-Set Function CMD6 is the result of one of function will be ...
Product Manual
Page 80
...SD Card). "0" the host sends block of data to SDIO Card Specification. All the applicationspecific commands are supported if Class 8 is an application-specific command rather than a standard command Used either to transfer a data block to the card or to each command system set by switch function command (CMD6). I/O Mode Commands (Class... Argument Reserved Resp. SD Card Protocol Description SanDisk SD Card Product Manual CMD Index CMD43 ... The size of data from the card for each command system specification. © 2004 SanDisk Corporation 4-36 12/08/04 Revision...
...SD Card). "0" the host sends block of data to SDIO Card Specification. All the applicationspecific commands are supported if Class 8 is an application-specific command rather than a standard command Used either to transfer a data block to the card or to each command system set by switch function command (CMD6). I/O Mode Commands (Class... Argument Reserved Resp. SD Card Protocol Description SanDisk SD Card Product Manual CMD Index CMD43 ... The size of data from the card for each command system specification. © 2004 SanDisk Corporation 4-36 12/08/04 Revision...
Product Manual
Page 91
... behavior in the SD Bus mode. When the card encounters a data retrieval problem, it will be used . 3. The default command structure/protocol for SPI mode, since the CRC byte (although required) is required, the card will switch to the CRC creates a CRC byte of 95h. SPI Protocol SD Card Product Manual 5 SPI Protocol 5.1 SPI Bus Protocol Although the SanDisk SD Card channel is...
... behavior in the SD Bus mode. When the card encounters a data retrieval problem, it will be used . 3. The default command structure/protocol for SPI mode, since the CRC byte (although required) is required, the card will switch to the CRC creates a CRC byte of 95h. SPI Protocol SD Card Product Manual 5 SPI Protocol 5.1 SPI Bus Protocol Although the SanDisk SD Card channel is...
Product Manual
Page 103
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 identical to response R1. Figure 5-8 R2 Response Format 7 Byte 1 07 Byte 2 0 0 Card is Locked WP EraseSkip, Lock/Unlock Cmd Failed Error CC Error Card ECC Failed WP Violation Erase Parameter Out-of-Range, CSD_Overwrite Idle State...
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 identical to response R1. Figure 5-8 R2 Response Format 7 Byte 1 07 Byte 2 0 0 Card is Locked WP EraseSkip, Lock/Unlock Cmd Failed Error CC Error Card ECC Failed WP Violation Erase Parameter Out-of-Range, CSD_Overwrite Idle State...
Product Manual
Page 113
... the failure occurs. III. Revision 2.2 Appendix C -Limited Warranty SanDisk SD Card Product Manual Appendix C Limited Warranty I. No evidence is included in materials or workmanship that would prevent them from the date of failure. The defective product is extended by SanDisk Corporation. In satisfaction of its sole option, will repair, replace or refund the purchase price of repairing or replacing the defective product, if the...
... the failure occurs. III. Revision 2.2 Appendix C -Limited Warranty SanDisk SD Card Product Manual Appendix C Limited Warranty I. No evidence is included in materials or workmanship that would prevent them from the date of failure. The defective product is extended by SanDisk Corporation. In satisfaction of its sole option, will repair, replace or refund the purchase price of repairing or replacing the defective product, if the...