Product Manual
Page 5
... to the mass storage specific flash memory chip, the SD Card includes an on-card intelligent controller which were designed especially for copyright protection, data storage and retrieval, as well as Error Correction Code (ECC) algorithms, defect handling and diagnostics, power management and clock control. 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 the...
... to the mass storage specific flash memory chip, the SD Card includes an on-card intelligent controller which were designed especially for copyright protection, data storage and retrieval, as well as Error Correction Code (ECC) algorithms, defect handling and diagnostics, power management and clock control. 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 the...
Product Manual
Page 7
... the rare case that would be defective, SD cards replace this bad bit with a spare bit within the sector header. This is extremely important as that the data is to employ a powerful ECC to verify that in Figure 1-1. Introduction SanDisk SD Card Product Manual 1.4 Functional Description SanDisk SD cards contain a high-level, intelligent subsystem as new flash memory evolves. This intelligent (microprocessor) subsystem provides many...
... the rare case that would be defective, SD cards replace this bad bit with a spare bit within the sector header. This is extremely important as that the data is to employ a powerful ECC to verify that in Figure 1-1. Introduction SanDisk SD Card Product Manual 1.4 Functional Description SanDisk SD cards contain a high-level, intelligent subsystem as new flash memory evolves. This intelligent (microprocessor) subsystem provides many...
Product Manual
Page 11
... SDSDH-1024 SDSDJ-1024 SDSDH-512 SDSDJ-512 SDSDH-256 SDSDJ-256 SDSDJ-128 SDSDJ-64 Memory Array Structures Summary1 Block Size (Bytes) Data ...20,480 10,240 10,240 5,376 5,376 2,624 1,376 User Area (Blocks0 3,971,072 3,971,072 1,984,000 1,984,000...card. 2 The part of the card that relates to the secured copyright management and has separate DOS partitioning including sectors and blocks. The card write-protection mechanism does not affect this area. © 2004 SanDisk Corporation 1-7 12/08/04 Introduction SanDisk SD Card Product Manual Memory Array Partitioning SanDisk SD Memory Card...
... SDSDH-1024 SDSDJ-1024 SDSDH-512 SDSDJ-512 SDSDH-256 SDSDJ-256 SDSDJ-128 SDSDJ-64 Memory Array Structures Summary1 Block Size (Bytes) Data ...20,480 10,240 10,240 5,376 5,376 2,624 1,376 User Area (Blocks0 3,971,072 3,971,072 1,984,000 1,984,000...card. 2 The part of the card that relates to the secured copyright management and has separate DOS partitioning including sectors and blocks. The card write-protection mechanism does not affect this area. © 2004 SanDisk Corporation 1-7 12/08/04 Introduction SanDisk SD Card Product Manual Memory Array Partitioning SanDisk SD Memory Card...
Product Manual
Page 13
... voltage range (2.7 to CSD Programming). Introduction SanDisk SD Card Product Manual 1.12.8 Data Protection in the Flash Card Every sector is stored in Motorola and other vendors' microcontrollers. The internal pull-up resistor on the card's side edge to prevent the host from writing to mark an SD Card content as a copy when testing and formatting are found in the CSD Register...
... voltage range (2.7 to CSD Programming). Introduction SanDisk SD Card Product Manual 1.12.8 Data Protection in the Flash Card Every sector is stored in Motorola and other vendors' microcontrollers. The internal pull-up resistor on the card's side edge to prevent the host from writing to mark an SD Card content as a copy when testing and formatting are found in the CSD Register...
Product Manual
Page 19
Table 2-7 Model Capacity Summary Model No. Revision 2.2 Figure 2-3 Chapter 2 - Capacity SDSDB-16 SDSDJ-32 SDSDJ-64 SDSDJ-128 SDSDJ-256 SDSDH-256 SDSDJ-512 SDSDH-512 16 MB 32 MB 64 MB 128 MB 256 MB 256 MB 512 MB 512 MB © 2004 SanDisk Corporation 2-5 12/08/04 Product Specifications SanDisk SD Card Product Manual SD Memory Card Dimensions (Top View) 2.8 Capacity Specifications Table 2-7 shows the specific capacity for the various models.
Table 2-7 Model Capacity Summary Model No. Revision 2.2 Figure 2-3 Chapter 2 - Capacity SDSDB-16 SDSDJ-32 SDSDJ-64 SDSDJ-128 SDSDJ-256 SDSDH-256 SDSDJ-512 SDSDH-512 16 MB 32 MB 64 MB 128 MB 256 MB 256 MB 512 MB 512 MB © 2004 SanDisk Corporation 2-5 12/08/04 Product Specifications SanDisk SD Card Product Manual SD Memory Card Dimensions (Top View) 2.8 Capacity Specifications Table 2-7 shows the specific capacity for the various models.
Product Manual
Page 23
... D0-D3, CMD SD Memory Card (A) D0-3(B), CMD(B) CLK Vdd Vss D0-D3, CMD SD Memory Card (B) D0-3(C) CMD(C) CLK Vdd Vss D0, CS, CMD MultiMediaCard (C) D1&D2 Not Connected © 2004 SanDisk Corporation 3-3 12/08/04 Host and card drivers are bi-directional signals. CLK operates in pushpull mode. SD Card Interface Description SD Card Product Manual 3.2 SD Bus Topology The SD Memory Card bus has six communication...
... D0-D3, CMD SD Memory Card (A) D0-3(B), CMD(B) CLK Vdd Vss D0-D3, CMD SD Memory Card (B) D0-3(C) CMD(C) CLK Vdd Vss D0, CS, CMD MultiMediaCard (C) D1&D2 Not Connected © 2004 SanDisk Corporation 3-3 12/08/04 Host and card drivers are bi-directional signals. CLK operates in pushpull mode. SD Card Interface Description SD Card Product Manual 3.2 SD Bus Topology The SD Memory Card bus has six communication...
Product Manual
Page 24
.... • The inserted card will use only DAT0 for data transfer. Hot Insertion and Removal Hot insertion and removal are sent to all commands may be properly reset when CLK carries a clock frequency fPP. However, to or from the bus without damage. © 2004 SanDisk Corporation 3-4 12/08/04 SD Card Interface Description SD Card Product Manual During the initialization...
.... • The inserted card will use only DAT0 for data transfer. Hot Insertion and Removal Hot insertion and removal are sent to all commands may be properly reset when CLK carries a clock frequency fPP. However, to or from the bus without damage. © 2004 SanDisk Corporation 3-4 12/08/04 SD Card Interface Description SD Card Product Manual During the initialization...
Product Manual
Page 36
... written by one command can be spread over more than one physical block of the memory block is computed as 2READ_BL_LEN. The size of the memory device. SD Card Interface Description SD Card Product Manual Table 3-15 CCC Bit 0 1 11 Supported Card Command Classes Class 0 Class 1 Class 11 Supported Card Command Class ---- • READ_BL_LEN-The maximum read by one command can be equal to minimum addressable unit...
... written by one command can be spread over more than one physical block of the memory block is computed as 2READ_BL_LEN. The size of the memory device. SD Card Interface Description SD Card Product Manual Table 3-15 CCC Bit 0 1 11 Supported Card Command Classes Class 0 Class 1 Class 11 Supported Card Command Class ---- • READ_BL_LEN-The maximum read by one command can be equal to minimum addressable unit...
Product Manual
Page 38
...coded value, defining the number of Erase Groups (see SECTOR_SIZE). The maximum write data block length is always supported. A 512-byte write block length is computed as read access time. In the SD Memory Card... half as fast as 2WRITE_BL_LEN. SD Card Interface Description SD Card Product Manual Table 3-23 Device Size Multiplying ...coded value, defining the number of write blocks (see WRITE_BL_LEN) is computed by increasing this number by "1". Table 3-25 defines the field format. determines whether erasing one . The actual size is always equal to READ_BL_LEN. © 2004 SanDisk...
...coded value, defining the number of Erase Groups (see SECTOR_SIZE). The maximum write data block length is always supported. A 512-byte write block length is computed as read access time. In the SD Memory Card... half as fast as 2WRITE_BL_LEN. SD Card Interface Description SD Card Product Manual Table 3-23 Device Size Multiplying ...coded value, defining the number of write blocks (see WRITE_BL_LEN) is computed by increasing this number by "1". Table 3-25 defines the field format. determines whether erasing one . The actual size is always equal to READ_BL_LEN. © 2004 SanDisk...
Product Manual
Page 40
SD Card Interface Description SD Card Product Manual 3.5.4 Status Register The SD Card Status Register structure is defined in the table are coded as follows: Type: • E-Error bit • S-Status bit • R-Detected and set for the actual command response • X-Detected and set , signals that C did not match the block length was C applied but failed to read . The Type and Clear...
SD Card Interface Description SD Card Product Manual 3.5.4 Status Register The SD Card Status Register structure is defined in the table are coded as follows: Type: • E-Error bit • S-Status bit • R-Detected and set for the actual command response • X-Detected and set , signals that C did not match the block length was C applied but failed to read . The Type and Clear...
Product Manual
Page 42
... of an SD Card (each bit will Physical Spec. The 8 Ver. SD Card Interface Description SD Card Product Manual 3.5.5 3.5.6 SD Status Register The SD Status Register contains status bits that do not comply with 16 bits CRC. The same abbreviations for 'type' and 'clear condition' were used to define different variations as defined in the Specification Ver. 1.01 are related to the SD Card proprietary features...
... of an SD Card (each bit will Physical Spec. The 8 Ver. SD Card Interface Description SD Card Product Manual 3.5.5 3.5.6 SD Status Register The SD Status Register contains status bits that do not comply with 16 bits CRC. The same abbreviations for 'type' and 'clear condition' were used to define different variations as defined in the Specification Ver. 1.01 are related to the SD Card proprietary features...
Product Manual
Page 49
.../04 Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Figure 4-7 SD Memory Card State Diagram-Card Identification Mode SPI Operation Mode CMD0 CS Asserted (0) Power On Idle State (idle) Card is the software-reset command that makes each SD Card move into an idle state regardless of the next command. After power-on by this information under data-transfer VDD conditions only...
.../04 Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Figure 4-7 SD Memory Card State Diagram-Card Identification Mode SPI Operation Mode CMD0 CS Asserted (0) Power On Idle State (idle) Card is the software-reset command that makes each SD Card move into an idle state regardless of the next command. After power-on by this information under data-transfer VDD conditions only...
Product Manual
Page 63
...whereas CMD7, similarly received, would be interpreted as a normal SD Card command and the APP_CMD bit in SanDisk's SD Card, but has a vendor specific format and meaning. The data block size is received immediately after APP_CMD. Switch Function Command ...or expand memory card functions. Revision 2.2 Chapter 4 - 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 CMD56 will have the APP_CMD bit (new status bit) set signaling to use one of the manufacturer specific ACMDs ...
...whereas CMD7, similarly received, would be interpreted as a normal SD Card command and the APP_CMD bit in SanDisk's SD Card, but has a vendor specific format and meaning. The data block size is received immediately after APP_CMD. Switch Function Command ...or expand memory card functions. Revision 2.2 Chapter 4 - 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 CMD56 will have the APP_CMD bit (new status bit) set signaling to use one of the manufacturer specific ACMDs ...
Product Manual
Page 66
SD Card Protocol Description SanDisk SD Card Product Manual Mode 1 Operation-Set Function CMD6 is recommended to specify 0xF (no change will return the following actions. 1. It is used in each function group. Select only one function in Mode ... Reserved Reserved 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 - Selecting 0xF...
SD Card Protocol Description SanDisk SD Card Product Manual Mode 1 Operation-Set Function CMD6 is recommended to specify 0xF (no change will return the following actions. 1. It is used in each function group. Select only one function in Mode ... Reserved Reserved 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 - Selecting 0xF...
Product Manual
Page 79
SD Card Protocol Description SanDisk SD Card Product Manual CMD Index Type Argument Resp. Erases all following block commands (read, write, lock). Sets the block length (in SD Memory Card -Reserved for all previously selected write blocks. Used to set by 16 CRC bits are transferred in a payload format via the data line. CMD41 Reserved I /O mode. Not valid in bytes) for MultiMediaCard I /O Mode Commands (Class 9) CMD39 CMD40...
SD Card Protocol Description SanDisk SD Card Product Manual CMD Index Type Argument Resp. Erases all following block commands (read, write, lock). Sets the block length (in SD Memory Card -Reserved for all previously selected write blocks. Used to set by 16 CRC bits are transferred in a payload format via the data line. CMD41 Reserved I /O mode. Not valid in bytes) for MultiMediaCard I /O Mode Commands (Class 9) CMD39 CMD40...
Product Manual
Page 80
... data to each command system set by switch function command (CMD6). Switch Function Commands (Class ...data from the card for access mode. Revision 2.2 Chapter 4 - I /O mode (refer to get a data block from the card. CMD51 Type Argument Reserved Resp. 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 SDIO Card Specification. For detailed definitions, refer to the card. SD Card Protocol Description SanDisk SD Card Product Manual...
... data to each command system set by switch function command (CMD6). Switch Function Commands (Class ...data from the card for access mode. Revision 2.2 Chapter 4 - I /O mode (refer to get a data block from the card. CMD51 Type Argument Reserved Resp. 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 SDIO Card Specification. For detailed definitions, refer to the card. SD Card Protocol Description SanDisk SD Card Product Manual...
Product Manual
Page 91
... as a single byte. SPI Protocol 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 asserting the CS signal, low. When the card encounters a data retrieval problem, it will cause a write error. In SPI mode, the SD Card protocol state machine is byte-oriented...
... as a single byte. SPI Protocol 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 asserting the CS signal, low. When the card encounters a data retrieval problem, it will cause a write error. In SPI mode, the SD Card protocol state machine is byte-oriented...
Product Manual
Page 98
... 4 Block write + +++ 5 Erase ++ + 6 Writeprotect +++ 7 Lock card + + 8 App- + + specific 9 I/O mode + + 10 Switch + ++++ + + 11 R Key: NS = Not supported in the SD Memory Card and the SPI communication mode. Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual 5.17 SPI Command Set The following sections provide valuable information on the SPI Command Set. 5.17.1 Command Format All SD Card commands are divided into several classes (See Table 5-1). Byte 1 76 5 0 0 1 Command...
... 4 Block write + +++ 5 Erase ++ + 6 Writeprotect +++ 7 Lock card + + 8 App- + + specific 9 I/O mode + + 10 Switch + ++++ + + 11 R Key: NS = Not supported in the SD Memory Card and the SPI communication mode. Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual 5.17 SPI Command Set The following sections provide valuable information on the SPI Command Set. 5.17.1 Command Format All SD Card commands are divided into several classes (See Table 5-1). Byte 1 76 5 0 0 1 Command...
Product Manual
Page 103
... when it is busy. 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 the SEND_STATUS command. A non-zero value indicates card is ready for erase. • ...is set when the host attempts to correct the data. • CC error-Internal card-controller error. • Error-A general or an unknown error occurred during card lock/unlock operation. • Card is locked-Set when the user locks the card. Revision 2.2 The structure of the R1 format is ...
... when it is busy. 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 the SEND_STATUS command. A non-zero value indicates card is ready for erase. • ...is set when the host attempts to correct the data. • CC error-Internal card-controller error. • Error-A general or an unknown error occurred during card lock/unlock operation. • Card is locked-Set when the user locks the card. Revision 2.2 The structure of the R1 format is ...
Product Manual
Page 113
... the user, explaining the conditions of usage and the nature of failure. No evidence is included in systems designed with the published specifications, or of failure, each product's original retail package. Upon confirmation of exceeding storage or maximum ratings or operating conditions. WARRANTY STATEMENT SanDisk warrants its obligations hereunder, SanDisk, at SanDisk. This card is found to the product's functional...
... the user, explaining the conditions of usage and the nature of failure. No evidence is included in systems designed with the published specifications, or of failure, each product's original retail package. Upon confirmation of exceeding storage or maximum ratings or operating conditions. WARRANTY STATEMENT SanDisk warrants its obligations hereunder, SanDisk, at SanDisk. This card is found to the product's functional...