SanDisk SDSDH-512 Product Manual

SanDisk SDSDH-512 - Ultra II Flash Memory Card Manual

SanDisk SDSDH-512 manual content summary:

  • SanDisk SDSDH-512 | Product Manual - Page 1
    SanDisk SD Card Product Manual Version 2.2 Document No. 80-13-00169 November 2004 SanDisk Corporation Corporate Headquarters • 140 Caspian Court • Sunnyvale, CA 94089 Phone (408) 542-0500 • Fax (408) 542-0503 www.sandisk.com
  • SanDisk SDSDH-512 | Product Manual - Page 2
    SD Card Product Manual SanDisk® Corporation general policy does not recommend the use of its products in life support applications where in a failure or malfunction of the product may directly threaten life or injury. Per SanDisk Terms and Conditions of Sale, the user of SanDisk products in life
  • SanDisk SDSDH-512 | Product Manual - Page 3
    Revision 2.2 SanDisk SD Card Product Manual TABLE OF CONTENTS 1. Introduction 1-1 1.1 General Description 1-1 1.2 Features 1-2 1.3 SD 1-5 1.13 SPI Mode 1-9 2. Product Specifications 2-1 2.1 Overview 2-1 2.2 System Environmental Specifications 2-1 2.3 Reliability and Durability 2-1 2.4
  • SanDisk SDSDH-512 | Product Manual - Page 4
    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
  • SanDisk SDSDH-512 | Product Manual - Page 5
    Revision 2.2 Chapter 1 - Introduction SanDisk SD Card Product Manual 1 Introduction 1.1 General Description The SanDisk Secure Digital (SD) Card is a flash-based memory card specifically designed to meet the security, capacity, performance and environmental requirements inherent in next
  • SanDisk SDSDH-512 | Product Manual - Page 6
    SanDisk SD Card Product Manual 1.2 Features SanDisk SD Card features include: ►Up to 2-GB of data storage ►SD-protocol compatible ►Supports ► Variable clock rate 0-25 MHz (default), 0-50MHz (high-speed) ►Data transfer rate Up to 50 MB/sec data transfer ►Password-protection (specific models only) ►
  • SanDisk SDSDH-512 | Product Manual - Page 7
    SanDisk SD Card Product Manual 1.4 Functional Description SanDisk evolves. In other words, systems that support the SD Card today will be soft error rate specification is much better than the magnetic disk drive specification. In the any future problems. These defect and error management systems
  • SanDisk SDSDH-512 | Product Manual - Page 8
    Revision 2.2 Chapter 1 - Introduction SanDisk SD Card Product Manual 1.7 Copyright Protection A detailed description of the Copyright Protection mechanism and related security SD Card commands can be found in the SD Security Specification from the SD Association. All SD Card security-related
  • SanDisk SDSDH-512 | Product Manual - Page 9
    Introduction SanDisk SD Card Product Manual 1.11 Hot Insertion Support for hot insertion will be required on the host but will be supported through ). Additional practical card detection methods can be found in SD Physical Specification's application notes given by the SDA. 1.12.4 Card Status The
  • SanDisk SDSDH-512 | Product Manual - Page 10
    SanDisk SD Card Product Manual • SD Status is stored in 512 bits that are sent as a single data block after it was requested by the host using the SD_STATUS (ACMD13) command. SD_STATUS contains extended status bits that relate to BUS_WIDTH, security related bits and future specific applications
  • SanDisk SDSDH-512 | Product Manual - Page 11
    Revision 2.2 Figure 1-2 Chapter 1 - Introduction SanDisk SD Card Product Manual Memory Array Partitioning SanDisk SD Memory Card WP Group 0 Sector 1 Bloc Bloc Bloc Bloc k0 k1 k2 kn Sector 2 Sector 3 Sector n WP Group 1 WP Group 2 Protected Area (Copyright Protection)
  • SanDisk SDSDH-512 | Product Manual - Page 12
    Chapter 1 - 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 Area (Blocks0 59,776 28,800 1.12.6 Read/Write Operations The SD Card supports two read
  • SanDisk SDSDH-512 | Product Manual - Page 13
    Chapter 1 - Introduction SanDisk SD Card Product Manual 1.12.8 Data Protection operating condition negotiation function of the SD Card bus is supported differently in SPI mode by using the READ_OCR (CMD58 Specification's Application Notes given by the SDA. © 2004 SanDisk Corporation 1-9 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 14
    Erase Write Protection Copyright Protection Chapter 1 - Introduction SanDisk SD Card Product Manual Description In SPI mode, only 16 bits containing errors are byte addressable. In SPI mode, single and multiple block data transfers are supported. Same as in SD mode. Same as in SD mode. Same as in
  • SanDisk SDSDH-512 | Product Manual - Page 15
    SanDisk SD Card Product Manual 2 Product Specifications 2.1 Overview In this section, all values are defined at an ambient temperature and nominal supply voltage unless otherwise stated. 2.2 System Environmental Specifications Table 2-1 defines the environmental specifications for the SanDisk
  • SanDisk SDSDH-512 | Product Manual - Page 16
    Revision 2.2 Chapter 2 - Product Specifications SanDisk SD Card Product Manual 2.4 Typical Card Power Requirements Table 2-3 Card System Reliability and Maintenance Table 2-5 Reliability and Maintenance Specifications MTBF >1,000,000 hours Preventative Maintenance Data Reliability None
  • SanDisk SDSDH-512 | Product Manual - Page 17
    Revision 2.2 Chapter 2 - Product Specifications SanDisk SD Card Product Manual 2.7 Physical Specifications Refer to Table 2-6 and Figure 2-1 for SD card's physical specifications and dimensions. Table 2-6 SD Memory Card Physical Specification Summary Specification Weight Length Width Thickness
  • SanDisk SDSDH-512 | Product Manual - Page 18
    Revision 2.2 Chapter 2 - Product Specifications SanDisk SD Card Product Manual Figure 2-2 SD Memory Card Dimensions © 2004 SanDisk Corporation 2-4 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 19
    Revision 2.2 Figure 2-3 Chapter 2 - 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. Capacity SDSDB-16 SDSDJ-32 SDSDJ
  • SanDisk SDSDH-512 | Product Manual - Page 20
    Revision 2.2 Model No. SDSDJ-1024 SDSDH-1024 SDSDX3-1024 SDSDJ-2048 SDSDH-2048 1024 MB 1024 MB 1024 MB 2048 MB 2048 MB Chapter 2 - Product Specifications SanDisk SD Card Product Manual Capacity © 2004 SanDisk Corporation 2-6 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 21
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual 3 SD Card Interface Description 3.1 General Description of Pins and Registers The SanDisk SD Card has nine exposed contacts on one side as shown in Figure 3-1. The host is connected to the card using a dedicated 9-pin
  • SanDisk SDSDH-512 | Product Manual - Page 22
    - SD Card Interface Description SD Card Product Manual Each card has a set of information registers ( card and approved by the host during initialization. Card specific data: information about the card operation conditions. SD Configuration in SPI mode. © 2004 SanDisk Corporation 3-2 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 23
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual 3.2 SD Bus Topology The SD Memory Card bus has six communication lines and three supply lines. • 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
  • SanDisk SDSDH-512 | Product Manual - Page 24
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual During the initialization process, commands are sent to each card individually, allowing the in the host, the host must withstand a shortcut between VDD and VSS without damage. © 2004 SanDisk Corporation 3-4 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 25
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual 3.3 SPI Bus Topology The SD Card SPI Interface is compatible with SPI hosts available on the Supply CS CS SPI Bus Master SPI Bus (CLK, DataIn, DataOut) SPI Card SPI Card © 2004 SanDisk Corporation 3-5 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 26
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual 3.3.1 Power Protection Same as in SD Card Bus Mode. 3.4 Electrical Interface The following sections same level which will be specified in ACMD41) before ACMD41 is transmitted. © 2004 SanDisk Corporation 3-6 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 27
    - SD Card Interface Description SD Card Product Manual 3.4.2 After power up, the host starts be ready for communication) is provided to eliminate power-up synchronization problems. Every bus master shall have the capability to implement ACMD41 and mA. © 2004 SanDisk Corporation 3-7 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 28
    Card Interface Description SD Card Product Manual Table 3-5 Host and Bus Capacities8 Open-drain Mode Bus Signal Level To meet the requirements of the JEDEC specification JESD8-1A, the card input and output voltages are within the specified ranges © 2004 SanDisk Corporation 3-8 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 29
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual 3.4.6 Bus Timing (default) Default dataIn/dataOut timing is illustrated in Figure 3-7; bus timing -given min. freq. range is for cases in which a continuous clock is required. © 2004 SanDisk Corporation 3-9 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 30
    SD Card Interface Description SD Card Product Manual Parameter Symbol Min Max Clock (CLK ns CL < 25 pF (1 card) 3.4.7 Bus Timing (high-speed mode) High-speed mode dataIn/dataOut timing is illustrated in Figure 3-8; bus timing parameter mode Remark © 2004 SanDisk Corporation 3-10 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 31
    2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual Parameter Symbol Min Max Unit Clock (CLK) - all values 32-bit Operation Conditions Register (OCR) stores the VDD voltage profile of the SanDisk SD Card. The card is capable of executing the voltage recognition procedure (CMD1
  • SanDisk SDSDH-512 | Product Manual - Page 32
    - SD Card Interface Description SD Card Product Manual 3.5.2 Card Identification Register The Card Identification Register ( than in the MultiMediaCard. 13 3C represents the three SDA founding companies: Toshiba, SanDisk, and MEI. 14 The product revision is composed of two binary-coded decimal (
  • SanDisk SDSDH-512 | Product Manual - Page 33
    Manual 3.5.3 Card Specific Data Register The Card Specific 8 R TRANS_ 8 R SPEED CCC 12 R READ_BL_ 4 R CURR_MAX [111: 0 104] [103:96] Default 25MHz High-speed 50MHz [95:84] All (inc. WP, lock/unlock) [83 74Bh 383h 111b 110b Card command classes Max. read data block length Partial
  • SanDisk SDSDH-512 | Product Manual - Page 34
    Chapter 3 - SD Card Interface Description SD Card Product Manual Field Width Cell Type CSD Slice CSD Value VDD_W_ group size Write protect group enable Reserved for MMC compatibility Write speed factor Ah 9h 0 00000b 0b Max. write data block © 2004 SanDisk Corporation 3-14 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 35
    Manual Version CSD Version 1.0 Valid for System Specification Version v1.0 to v1.10 1-3 classes). The Card Command Class Register (CCC) defines which command classes are supported by this card. A value of "1" in a CCC bit means that the corresponding command class is supported. © 2004 SanDisk
  • SanDisk SDSDH-512 | Product Manual - Page 36
    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 is invalid. Crossing physical block boundaries is allowed. © 2004 SanDisk Corporation 3-16 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 37
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual • DSR_IMP-defines if the configurable driver stage is integrated on the card. If set, the total device size (see C_SIZE). The factor MULT is defined as 2C_SIZE_MULT+2. © 2004 SanDisk Corporation 3-17 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 38
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual Table 3-23 Device Size Multiplying Factor C_SIZE_MULT 0 1 2 3 4 5 6 7 22 = 4 23 is always supported. In the SD Memory Card, the WRITE_BL_LEN is always equal to READ_BL_LEN. © 2004 SanDisk Corporation 3-18 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 39
    3 - SD Card Interface Description SD Card Product Manual Table 3-26 Data Block Length WRITE_BL_LEN 0 to • CONTENT_PROT_APP-indicates whether the content protection application is supported. MultiMediaCards that implement the content protection application will SanDisk Corporation 3-19 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 40
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual 3.5.4 Status Register The SD Card Status Register structure is defined in Table 3-29. ECC was C applied but failed to correct the data. Internal card controller error C © 2004 SanDisk Corporation 3-20 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 41
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual Bit 19 18 17 16 15 14 13 12-9 8 7-6 5 4 3 2 1-0 Identifier ERROR C authentication process. Reserved for application-specific commands Reserved for manufacturer test mode © 2004 SanDisk Corporation 3-21 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 42
    Manual 3.5.5 3.5.6 SD Status Register The SD Status Register contains status bits that are related to the SD Card proprietary features and may be used for future application specific an SD Card (each bit will Physical Spec. define different SD types). The 8 Ver SanDisk Corporation 3-22 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 43
    3 - SD Card Interface Description SD Card Product Manual 3.5.7 SD Card Registers in SPI Mode In SPI mode command after doing authentication as defined in the SD Security Specification. The security protected area size is defined by SanDisk as approximately one percent of the total size of the
  • SanDisk SDSDH-512 | Product Manual - Page 44
    Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual Capacity 512 MB 1 GB 2 GB Total LBAs 10,240 20,480 40,960 Number of Partition System Area Sectors User Data Bytes 10,176 20,384 40,864 5,210,112 10,436,608 20,922,368 © 2004 SanDisk Corporation 3-24 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 45
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4 SD Card Protocol Description 4.1 SD Bus Protocol Communication over the SD transfer to use single or multiple data lines (provided the card supports this feature). © 2004 SanDisk Corporation 4-1 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 46
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Figure 4-2 Multiple Block Read Operation From host to card(s) From card to host Data 7-bit CRC checksum "End" bit always 1 01 Content Total length = 48 bits CRC 1 © 2004 SanDisk Corporation 4-2 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 47
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Each command token is preceded by a start bit (0) and succeeded by an end 4092 Block length Block length /4 CRC 1 "End" bit always 1 LSN 3 CRC 1 2 CRC 1 1 CRC 1 0 CRC 1 © 2004 SanDisk Corporation 4-3 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 48
    2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.2 Functional Description The host (master) controls transitions, error conditions, and timings are presented in the following sections. The SanDisk SD Card has two operation modes. • Card Identification Mode- The host
  • SanDisk SDSDH-512 | Product Manual - Page 49
    Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Figure 4-7 SD Memory Card State Diagram-Card driver-stage-register setting (lowest speed, highest driving current capability). 4.3.2 Operating Voltage Range Validation The physical specification standard, defined by the SDA
  • SanDisk SDSDH-512 | Product Manual - Page 50
    Protocol Description SanDisk SD Card Product Manual 4.3.3 card , the host changes VDD into a range not supported by this card. Card Identification Process The host higher clock rate than fOD). 2 ACMD41 is an application-specific command. Therefore, APP_CMD (CMD55) will always precede ACMD41. The
  • SanDisk SDSDH-512 | Product Manual - Page 51
    2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual When the RCA is received, the card in the system (if any), using the CMD2 and CMD3 as specified in the MultiMediaCard specification.4 4.4 Data Transfer Mode Until the content of all CSD registers is known by the host
  • SanDisk SDSDH-512 | Product Manual - Page 52
    Protocol Description SanDisk SD Card Product Manual CMD7 is this state. Important: Card de-selection occurs if a specific card retrieves a CMD7 command with an unmatched RCA. commands will be accepted when the SD Card is busy servicing any one of the aforementioned commands. DAT0 line will be
  • SanDisk SDSDH-512 | Product Manual - Page 53
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.4.1 4.4.2 4.4.3 • A card can be re-selected while in the Disconnect State, using CMD7. In transferred data. 5The polynomial is the same one used for a read operation. © 2004 SanDisk Corporation 4-9 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 54
    Card Protocol Description SanDisk SD Card Product Manual Block Write Block write (CMD24-27, 42, 56(w)) means that one or more blocks of data are transferred from the host to the card with a 1-bit or 4-bit CRC appended to the end of each block by the host. SanDisk SD cards that support block-write
  • SanDisk SDSDH-512 | Product Manual - Page 55
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.4.5 4.4.6 whether the write process is still in progress it is "0" or "1". Write Protect Management Three write-protect methods are supported in the SD Card as follows. • Mechanical write-protect switch (host
  • SanDisk SDSDH-512 | Product Manual - Page 56
    Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.4.7 Mechanical Write Protect Switch A mechanical to (and execute) all commands in the "basic" command class (class 0), ACMD41, CMD16 and "lock card" command class. Thus the host is allowed to reset, initialize, select,
  • SanDisk SDSDH-512 | Product Manual - Page 57
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Table 4-4 Lock Card Data Structure Bit Descriptions Bit Name ERASE LOCK/UNLOCK CLR_PWD SET_PWD PWDS_LEN Password data Description 1' Defines Forced Erase Operation. In byte 0 bit 3
  • SanDisk SDSDH-512 | Product Manual - Page 58
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 2. Define the block length (CMD16), given by the 8-bit card lock/unlock mode, the Status Register unless it was done during a password definition or change operations. © 2004 SanDisk Corporation 4-14 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 59
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual • Force Erase In case the user forgets the password (the PWD content) it is possible the result of CMD42 can be seen in the response of either CMD42 or following CMD13. © 2004 SanDisk Corporation 4-15 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 60
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Table 4-5 Lock/Unlock Function (basic sequence for CMD42) CMD42 Parameter9 Bit3 Bit2 . 11 Refer to Table 4-6. 12 Refer to Note 1 in Table 4-6. 13 Ibid. © 2004 SanDisk Corporation 4-16 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 61
    Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual • Two types of Lock/Unlock Card There will be two types of lock / unlock function-supported cards. Type 1 is an older version of the SD Card, and Type 2 is the new version defined in this specification (v1.10). Table 4-6 shows
  • SanDisk SDSDH-512 | Product Manual - Page 62
    − Lock card class (7) − CMD16 − ACMD41 All other commands (including security commands) are treated as illegal commands. Note: After power on, the host can recognize the card lock/unlock state by the CARD_IS_LOCKED in the response of CMD7 or CMD13. Application-specific Commands The SanDisk SD Card
  • SanDisk SDSDH-512 | Product Manual - Page 63
    Protocol Description SanDisk SD Card Product Manual 4.4.9 new SD card-specific commands, the SD Card uses the application-specific commands speed (default) or 25MB/sec interface speed (high-speed) • Card Command System: Standard Command set (default), eCommerce Command set, or Vendor-specific
  • SanDisk SDSDH-512 | Product Manual - Page 64
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual support it. The host will check the SD_SPEC field in the SCR Register to recognize what version of the spec the card complies with before using CMD6. Important: It is mandatory for the SD Card to be based on v1.10
  • SanDisk SDSDH-512 | Product Manual - Page 65
    SanDisk SD Card Product Manual Function change timing: within 8 clocks Switched Function CMD6 supports six function groups, and each function group supports Check Function − Check function is used to query if the card supports a specific function or functions • Mode 1-Set Function − Set function is
  • SanDisk SDSDH-512 | Product Manual - Page 66
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Mode 1 Operation-Set Function CMD6 is used in Mode Reserved Reserved Reserved Reserved Reserved Reserved Reserved Vendor specific High-speed Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved
  • SanDisk SDSDH-512 | Product Manual - Page 67
    SanDisk SD Card Product Manual Switch to the default state and can be used by spec 1.01 compatible hosts. Table 4-10 Status Data Structure supported. Function group 5, information. If a bit is set, function is supported. Function group 4, information. If a bit is set, function is supported
  • SanDisk SDSDH-512 | Product Manual - Page 68
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.4.10 Relationship between CMD6 Data and Other Commands The card may accept the commands using Read data for CMD6 CRC CRC CRC Bit 13 Bit 14 Bit 15 E EZ Z ..... © 2004 SanDisk Corporation 4-24 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 69
    SanDisk SD Card Product Manual Switch Function Flow Example The host is recommended to take the following flow for switching the function. Figure 4-12 Switch Function Flow Start Spec 1.0-1.10 Card version no.? Spec Support function = command system : For eC(0x1), access mode : High-speed(
  • SanDisk SDSDH-512 | Product Manual - Page 70
    Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Case (2) - Check function with error speed Mode19 (25MB/sec interface speed) Although revision 1.01 of the SD Physical Layer Specification supports up to 12.5MB/sec interface speed, the speed of 25MB/sec is necessary to support
  • SanDisk SDSDH-512 | Product Manual - Page 71
    SanDisk SD Card Product Manual The host drives only one card, because it is not possible to control two cards or more if each of them has a different timing mode (Default and High-Speed "Part A1: Mobile Commerce Extension Specification" of the SD Card specification. 4.5 Clock Control The host can
  • SanDisk SDSDH-512 | Product Manual - Page 72
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual • The clock must be running for the card xn + (second bit) * xn-1 +...+ (last bit) * x0 CRC[6...0] = Remainder [(M(x) * x7) / G(x)] Figure 4-13 CRC7 Generator/Checker © 2004 SanDisk Corporation 4-28 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 73
    Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.6.2 CRC16 The CRC16 is used for payload transition description. Different types of illegal commands include: • Commands belonging to classes not supported by the SD Card (e.g., I/O command CMD39). • Commands not allowed
  • SanDisk SDSDH-512 | Product Manual - Page 74
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.7.2 Read, Write and Erase Time-out Conditions The period after which a time-out DAT. The command transmission always starts with the most significant bit (MSB). © 2004 SanDisk Corporation 4-30 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 75
    several classes (refer to Table 4-15). Each class supports a set of card functions. The supported Card Command Classes (CCC Specific 9 I/O Mode + + + + + + + + + + + + + + + 10 11 Switch R + 20 This command is newly defined in SD Card Physical Description Spec. v1.10 © 2004 SanDisk
  • SanDisk SDSDH-512 | Product Manual - Page 76
    Manual 4.8.4 Class CMD 0 Basic 1 2 R Block Read 34 R Block Write CMD28 CMD29 CMD30 CMD32 CMD33 CMD3421 to CMD37 CMD38 CMD42 CMD5022 CMD52 CMD53 CMD55 CMD56 CMD5723 ACMD6 ACMD13 ACMD22 ACMD41 ACMD42 ACMD51 R = Reserved 5 Erase + + + 6 Write Protec tion + + + 7 8 Lock AppCard Specific
  • SanDisk SDSDH-512 | Product Manual - Page 77
    SanDisk SD Card Product Manual CMD Index CMD3 CMD4 CMD5 CMD7 Type Argument Resp. Abbreviation bcr [31:0]stuff bits R6 SEND_RELATIVE_ADDR bcr [31:0]stuff bits --- SET_DSR Reserved for I/O cards (refer to the SDIO Card Specification stuff bits Block Read Commands (Class 2) CMD16 ac [31:0]
  • SanDisk SDSDH-512 | Product Manual - Page 78
    SD Card Protocol Description SanDisk SD Card Product Manual CMD Index Type Argument Resp. Abbreviation CMD17 adtc [31:0] data address R1 READ_SINGLE_BLOCK CMD18 adtc [31:0] data address R1 READ_MULTIPLE_BLOCK CMD19 ... CMD23 Reserved Block Write Commands (Class 4) CMD16 ac [31:0] block
  • SanDisk SDSDH-512 | Product Manual - Page 79
    Protocol Description SanDisk SD Card Product Manual CMD Index Type Argument Resp. Abbreviation CMD31 Reserved Erase Commands (Class 5) commands (read, write, lock). Default block length is specified in the CSD. Supported only if Partial block RD/WR operation are allowed in CSD. Used to set/
  • SanDisk SDSDH-512 | Product Manual - Page 80
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual CMD Index CMD43 ... CMD51 Type Argument Reserved Resp. Abbreviation Description Application-specific Commands (Class 8) CMD55 CMD56 ac [31:16] RCA [15:0] stuff bits R1 APP_CMD adtc [31:1] stuff bits [0]
  • SanDisk SDSDH-512 | Product Manual - Page 81
    SanDisk SD Card Product Manual CMD Index CMD57 Type Argument Resp. Abbreviation Description Application-Specific Commands specific commands supported or reserved by the SD Card. All the following ACMDs will be preceded with the APP_CMD command (CMD55). Table 4-17 Application-specific
  • SanDisk SDSDH-512 | Product Manual - Page 82
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual ACMD Index ACMD42 Type Argument Resp. ac [31:1] on the received command). The SD Card application-specific command state-transitions can be found in Class 8. Table 4-18 Card State Transition Table Current
  • SanDisk SDSDH-512 | Product Manual - Page 83
    SanDisk SD Card Product Manual SanDisk SD Card supports all the security-related commands as explained in the specification. ready - - - - - - - - - idle - - - - - - - - - ina - - - - - - - - - - - - - tran - - - - - - - - - data - - - - - Class
  • SanDisk SDSDH-512 | Product Manual - Page 84
    SanDisk SD Card Product Manual 4.9.1 Current Status idle ready ident stby tran data rcv prg dis ina State Change Trigger Changes to Class 10 CMD6 - - - - data - - - - - CMD34-37, 50, - - - - tran - - - - - 57 Class types of responses supported in the SanDisk SD Card.
  • SanDisk SDSDH-512 | Product Manual - Page 85
    2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 2) R1b is identical to R1 with the additional Register [7:1] 0 7 1 111111 1 reserved end bit R4 and R5: responses are not supported. 5) R6 (Published RCA response): response length 48 bits. Bits 45:40 indicate the
  • SanDisk SDSDH-512 | Product Manual - Page 86
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.10 Timing Diagrams All timing diagrams use schematics and abbreviations listed in Table 4-23. Table 4-23 Timing Diagram Symbols Symbol Definition S Start Bit (= 0) T Transmitter Bit (
  • SanDisk SDSDH-512 | Product Manual - Page 87
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Data Transfer Mode There is just one Z bit period followed by P bits pushed up by the the CRC check bits are suffixed to allow the host to check for transmission errors. © 2004 SanDisk Corporation 4-43 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 88
    4 - SD Card Protocol Description SanDisk SD Card Product Manual Multiple Block Read In multiple-block ZZ EZZP NW R Z Z P*P S Z Z P*P S Write Data Content CRC Content CRC EZ EZ PPPPPPPP CRC Status Busy Z S Status E S L*L E Z Z XXXXXXXXXZ © 2004 SanDisk Corporation 4-44 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 89
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual If the SD Card does not have a free data receive buffer, it indicates this condition as the stop transmission command is received and the card activates the busy signal. © 2004 SanDisk Corporation 4-45 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 90
    Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Stop Transmission Received after Last Data Block-Card Busy Programming Host Command NCRCycles Card Response Host Command CMD S T Content CRC E Z Z P *** P S T Content CRC E S T Content Card is
  • SanDisk SDSDH-512 | Product Manual - Page 91
    Product Manual 5 SPI Protocol 5.1 SPI Bus Protocol Although the SanDisk SD is used. 3. When the card encounters a data retrieval problem, it will respond with an error response (which replaces the not observed. All the SD Memory Card commands supported in SPI mode are always available. The default
  • SanDisk SDSDH-512 | Product Manual - Page 92
    - SPI Protocol SD Card Product Manual 5.3 Bus Transfer Protection CRC bits to this section in the SD Bus mode chapter. 5.4 Data Read SPI mode supports single block and multiple-block read operations (SD Card CMD17 or CMD18). Upon reception a data block. © 2004 SanDisk Corporation 5-2 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 93
    5 - SPI Protocol SD Card Product Manual Figure 5-2 Read Operation-Data Error From Data Block CRC Response 5.5 Data Write In SPI mode, the SD Card supports single block or multiple-block write operations. Upon reception of a valid write Response Busy © 2004 SanDisk Corporation 5-3 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 94
    Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual Every data block has a prefix or 'start block' token (one byte). After a data block is dataOut line low. Figure 5-6 illustrates a "no data" bus transaction with and without busy signaling. © 2004 SanDisk Corporation 5-4 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 95
    Chapter 5 - SPI Protocol SD Card Product Manual From Host to Card From Card to Host distinguish between Thin SD Memory Card and MultiMediaCards (that supports CMD1 as well). The host must poll the card refrain from accessing cards that do not support its voltage range. The usage of CMD58 is not
  • SanDisk SDSDH-512 | Product Manual - Page 96
    Card Product Manual 5.9 Clock an obvious requirement that the clock must be running for the SanDisk SD Card to output data or response tokens. After the last Busy. • Card is locked and it is other than Class 0 or 7 commands. • It is not supported (illegal opcode). • CRC check failed. • It contains
  • SanDisk SDSDH-512 | Product Manual - Page 97
    Protocol SD Card Product Manual recover (e.g., reset the by issuing a GET_STATUS command. 5.13 Application-specific Commands The application-specific commands are identical to SD mode with the speed Mode (25MB/sec interface speed) Not available in SPI Mode. © 2004 SanDisk Corporation 5-7 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 98
    set of card functions. A SD Card will support the same set of optional command classes in both communication modes (there is only one command class table in the CSD register). The available command classes, and the supported commands for a specific class, however, are different in the SD Memory Card
  • SanDisk SDSDH-512 | Product Manual - Page 99
    SPI mode column indicates that the command is supported in SPI mode. With these restrictions, the command class description in the CSD is still valid. --- Reserved for I/O mode (refer to SDIO Card Specification). Yes [31] Mode 0 R1 0:Check function 1:Switch SanDisk Corporation 5-9 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 100
    5 - SPI Protocol SD Card Product Manual CMD SPI Index Mode Argument CMD13 Yes None the addressed group. The properties of write protection are coded in the card specific data 1 The default block length is as specified in the CSD Register CSD Register. © 2004 SanDisk Corporation 5-10 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 101
    Protocol SD Card Product Manual CMD SPI Index Mode Detailed definition can be referenced in each command system specification. CMD38 Yes [31:0] stuff bits R1b ERASE Erases each command system specification. CMD52 ... CMD54 Reserved for I/O mode (refer to SDIO Card Specification). CMD55 Yes [
  • SanDisk SDSDH-512 | Product Manual - Page 102
    Manual CMD SPI Index Mode Argument Resp Abbreviation Description CMD56 Yes [31:0] stuff bits, [0]: RD/WR4 R1 GEN_CMD Used either to transfer a Data Block to the card or to get a Data Block from the card for general purpose/application specific . © 2004 SanDisk Corporation 5-12 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 103
    Figure 5-7. Figure 5-7 R1 Response Format 7 0 0 Chapter 5 - SPI Protocol SD Card Product Manual Idle State Erase Reset Illegal Command Com CRC Error Erase Seq Error Address Error Parameter Error 5.18 user locks the card. Resets when it is unlocked. © 2004 SanDisk Corporation 5-13 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 104
    Card Product Manual 5.18 formats are reserved for I/O mode (refer to SDIO Card Specification). 5.18.6 Data Response Every data block written to the SEND_STATUS) in order to get the cause of the write problem. ACMD22 can be used to find the number of well © 2004 SanDisk Corporation 5-14 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 105
    If stop transmission is requested: Stop Tran 7 0 11111101 Chapter 5 - SPI Protocol SD Card Product Manual The format above is used only for Multiple-Block Write. In case of Multiple-Block Read, the According to the card's current state, C=Clear by read © 2004 SanDisk Corporation 5-15 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 106
    Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual Table 5-3 Identifier SPI Mode Status Bits Inc in Resp. Type Value Out of range R2 DataErr E R X Address was C cleared before executing because an out-of-erase seqence command was © 2004 SanDisk Corporation 5-16 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 107
    Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual Identifier Inc in Resp. Type Value Description received Clear Condi- tion 5.22 Card Registers In SPI will resume busy signal (pulling DataOut low) one clock after the falling edge of CS. © 2004 SanDisk Corporation 5-17 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 108
    Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual Host Command to Card Response-Card is Busy CS Data In Data Out HL L L L L L L HHHLL L L L L HHHHH NCR NCX H H H H card response H H H H data blk LL L HHHH NEC HHHX X X X HHHHZ Z Z © 2004 SanDisk Corporation 5-18 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 109
    Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual 5.23.4 Data Write The host may de-select a card (by raising the CS) at any time during the fPP) + (100 * NSAC)) ; fPP is the interface clock rate and TAAC & NSAC are given in the CSD Register. © 2004 SanDisk Corporation 5-19 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 110
    Product Manual 5.25 SPI Electrical Interface The SPI Mode electrical interface is identical to that of the SD Card mode. 5.26 SPI Bus Operating Conditions See SD Card mode. 5.27 Bus Timing See SD Card mode. The timing of the CS signal is the same as any other card input. © 2004 SanDisk
  • SanDisk SDSDH-512 | Product Manual - Page 111
    Revision 2.2 Appendix A -Ordering Information SanDisk SD Card Product Manual Appendix A Ordering Information A.1 SD Card To order SanDisk products directly from SanDisk, call (408) 542-0595. Part Number SDSDB-16 SDSDJ-32 SDSDJ-64 SDSDJ-128 SDSDJ-256 SDSDH-256 SDSDJ-512 SDSDH-512 SDSDJ-1024 SDSDH-
  • SanDisk SDSDH-512 | Product Manual - Page 112
    Revision 2.2 Appendix B -SanDisk Worldwide Sales Offices SanDisk SD Card Product Manual Appendix B SanDisk Worldwide Sales Offices To order SanDisk products directly from SanDisk, call (408) 542-0595. SanDisk Corporate Headquarters 140 Caspian Court Sunnyvale, CA 94089 Tel: 408-542-0500 Fax: 408
  • SanDisk SDSDH-512 | Product Manual - Page 113
    EXCESS OF THE PURCHASE PRICE OF THE PRODUCT, ARISING OUT OF THE USE OR INABILITY TO USE SUCH PRODUCT, TO THE FULL EXTENT SUCH MAY BE DISCLAIMED BY LAW. SanDisk's products are not warranted to operate without failure. Accordingly, in any use of products in life support systems or other applications
  • SanDisk SDSDH-512 | Product Manual - Page 114
    C -Limited Warranty SanDisk SD Card Product Manual root cause of failure specifications. IV. RECEIVING WARRANTY SERVICE According to SanDisk's warranty procedure, defective product should be returned only with prior authorization from SanDisk Corporation. Please contact SanDisk's Customer Service
  • SanDisk SDSDH-512 | Product Manual - Page 115
    2.2 Appendix D Disclaimer of Liability Appendix D -Disclaimer of Liability SanDisk SD Card Product Manual D.1 SanDisk Corporation Policy SanDisk Corporation general policy does not recommend the use of its products in life support applications wherein a failure or malfunction of the product may
  • SanDisk SDSDH-512 | Product Manual - Page 116
    Revision 2.2 Appendix E Application Note Appendix D -Disclaimer of Liability SanDisk SD Card Product Manual E.1 Host Design Considerations: NAND MMC and SD-based Products SanDisk Application Note for the SanDisk SD Card follows. © 2004 SanDisk Corporation E-1 12/08/04
  • SanDisk SDSDH-512 | Product Manual - Page 117
    Host Design Considerations: NAND MMC and SD-based Products Application Note Version 1.0 Document No. 80-11-00160 September 30, 2002 SanDisk Corporation Corporate Headquarters • 140 Caspian Court • Sunnyvale, CA 94089 Phone (408) 542-0500 • Fax (408) 542-0503 www.sandisk.com
  • SanDisk SDSDH-512 | Product Manual - Page 118
    or malfunction of the product may directly threaten life or injury. Per SanDisk Terms and Conditions of Sale, the user of SanDisk products in life support applications assumes all risk of such use and indemnifies SanDisk against all damages. The information in this document is subject to change
  • SanDisk SDSDH-512 | Product Manual - Page 119
    Products Application Note Revision 1.0 Introduction SanDisk's MultiMediaCard (MMC) and Secure of the product. This Application Note will review these options and provide recommendations on the bus timing specifications. If they want to support MultiMediaCards in their design, the clock speed should
  • SanDisk SDSDH-512 | Product Manual - Page 120
    SD Card support multiple busses. Both cards support the 1-bit other major MCU manufacturer products. The SD Card also supports a 4-bit and a 1-bit SD bi-directional [0:3] in 4-bit mode. The MultiMediaCard also supports the 1-bit bi-directional MMC bus mode speed and bus mode. The burst rate is
  • SanDisk SDSDH-512 | Product Manual - Page 121
    1-bit mode SD 4-bit mode Maximum Clock Speed and Burst Rate Clock Speed Burst Rate 20 MHz 2.5 MB/s 20 bit bus mode can have a 4x speed effect on the time spent servicing the SD Card. The example in Table mode Maximum Clock Speed and Time Req. to move 512 bytes Clock Speed Time 20 MHz 204
  • SanDisk SDSDH-512 | Product Manual - Page 122
    the card forces the DAT line low. If speed is critical in a design, Multiblock mode is support the multiblock capability. The performance gain will always outweigh the cost of the extra RAM. However, if speed section, if the design needs to support the MultiMediaCard, the clock should be lowered
  • SanDisk SDSDH-512 | Product Manual - Page 123
    using the MMC commands. If the host does not support both cards, it issues an error message instructing the user to insert an SD Card. If the fit into an MMC socket. File System Support If a design needs to support a file system, such as SanDisk's Host Developers Tool Kit (HDTK), additional
  • 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
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123

SanDisk SD Card
Product Manual
Version 2.2
Document No. 80-13-00169
November 2004
SanDisk Corporation
Corporate Headquarters • 140 Caspian Court
• Sunnyvale, CA
94089
Phone (408
)
542-0500 • Fax (408) 542-0503
www.sandisk.com