SDMJ-32 SanDisk, SDMJ-32 Datasheet

no-image

SDMJ-32

Manufacturer Part Number
SDMJ-32
Description
Manufacturer
SanDisk
Type
MultiMedia Cardr
Datasheet

Specifications of SDMJ-32

Density
32MByte
Operating Supply Voltage (typ)
3.3V
Operating Temperature (min)
-25C
Operating Temperature (max)
85C
Package Type
MMC
Mounting
Socket
Pin Count
7
Operating Temperature Classification
Commercial
Operating Supply Voltage (min)
2.7V
Operating Supply Voltage (max)
3.6V
Programmable
Yes
Lead Free Status / RoHS Status
Compliant
SanDisk MultiMediaCard and
Reduced-Size MultiMediaCard
Product Manual
Version 1.3
Document No. 80-36-00320
April 2005
SanDisk Corporation
Corporate Headquarters • 140 Caspian Court • Sunnyvale, CA 94089
Phone (408) 542-0500 • Fax (408) 542-0503
www.sandisk.com

Related parts for SDMJ-32

SDMJ-32 Summary of contents

Page 1

... SanDisk MultiMediaCard and Reduced-Size MultiMediaCard Product Manual Version 1.3 Document No. 80-36-00320 April 2005 SanDisk Corporation Corporate Headquarters • 140 Caspian Court • Sunnyvale, CA 94089 Phone (408) 542-0500 • Fax (408) 542-0503 www.sandisk.com ...

Page 2

... 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 support applications assumes all risk of such use and indemnifies SanDisk against all damages. See “Disclaimer of Liability.” ...

Page 3

... Serial Peripheral Interface (SPI) standard. The MultiMediaCard/RS-MultiMediaCard provides up to 256 million bytes of memory using SanDisk Flash memory chips, which were designed by SanDisk especially for use in mass storage applications. In addition to the mass storage specific flash memory chip, the ...

Page 4

... Retail card specifications are not covered in this manual. 1.4 Product Models The SanDisk MultiMediaCard and RS-MultiMediaCard is available in a variety of capacities as shown in Table 2-6, Chapter 2: Product Specifications. The MultiMediaCard is available in full-size and reduced-size (RS-MMC) form factors. 1.5 ...

Page 5

... Because the MultiMediaCard and RS-MultiMediaCard uses an intelligent on-board controller, the host system software will not require changing as new flash memory evolves. In other words, systems that support the SanDisk MultiMediaCard/RS-MultiMediaCard today will be able to access future cards built with new flash technology without having to update or change host software ...

Page 6

... Revision 1.3 1.9 Endurance The SanDisk MultiMediaCard and RS-MultiMediaCard have a typical endurance specification for each sector of 100,000 writes (reading a logical sector is unlimited). This far exceeds what is required in nearly all card applications. For example, very heavy use of the MultiMediaCard/RS-MultiMediaCard in cellular phones, personal communicators, pagers and voice recorders will use only a fraction of the total endurance over the device’ ...

Page 7

... WPG can be limited individually. The last (highest in address) WPG will be smaller and contain less than 32 erase groups. A diagram of the memory structure hierarchy is shown in Figure 1-2. Table 1-1 summarizes the number of various memory structures for the different MultiMediaCards and RS-MultiMediaCards. © 2005 SanDisk Corporation Chapter 1 – Introduction MultiMediaCard/RS-MultiMediaCard Product Manual 1-5 03/22/05 ...

Page 8

... Revision 1.3 Figure 1-2 Memory Array Partitioning Table 1-1 Memory Array Structures Summary Bytes SDMJ- SDMRJ-32 SDMJ- SDMRJ-64 SDMJ-128 128 MB SDMRJ-128 SDMJ-256 256 MB SDMRJ-256 SDMJ-512 512 MB SDMRJ-512 SDMJ-1024 1 GB SDMRJ-1024 1 All measurements are units-per-card. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual ...

Page 9

... Every sector is protected with an error correction code. The ECC is generated (in the memory card) when the sectors are written and validated when the data is read. If defects are found, the data is corrected prior to transmission to the host. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Single Block Mode ...

Page 10

... ECC Register. The host can read the CSD Register and alter the host-controlled data bytes using the SEND_CSD and PROGRAM_CSD commands. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Description Selecting the Sectors for Erasing . To facilitate selection, a first ...

Page 11

... Read/Write Operations Data Transfer Rate Data Protection in MultiMediaCard/RS-MultiMediaCard Erase Write Protection © 2005 SanDisk Corporation Chapter 1 – Introduction MultiMediaCard/RS-MultiMediaCard Product Manual Description The operating condition negotiation function of the MultiMediaCard/RS-MMC bus is not supported in SPI Mode. The host must work within the valid voltage range, 2 the card ...

Page 12

... 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 MultiMediaCard and RS-MultiMediaCard. Table 2-1 Environmental Specification Summary Temperature Humidity ...

Page 13

... CMD1 to Ready after Power-up Sleep to Ready 2.5 System Reliability and Maintenance Table 2-4 Reliability and Maintenance Summary MTBF Preventative Maintenance Data Reliability Endurance © 2005 SanDisk Corporation Chapter 2 – Product Specifications MultiMediaCard/RS-MultiMediaCard Product Manual Max. Power Dissipation @3 150 uA Typical 0.5 ms 0.5 ms ...

Page 14

... SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual MultiMediaCard 1.8 g maximum 32 mm ± 0 ± 0.08 mm 1.4 mm ± 0.1 mm 32.0 ± 0.1 4.0 ± 0 R0.5 ± ...

Page 15

... Weight Length Width Thickness Figure 2-2 Reduced-size MultiMediaCard Dimensions 2.7 Capacity Specifications Table 2-7 shows the specific capacity for the various models. Table 2-7 Model Capacity Summary Model No. SDMJ-32 SDMJ-64 SDMJ-128 SDMJ-256 SDMJ-512 SDMJ-1024 SDMRJ-32 SDMRJ-64 SDMRJ-128 SDMRJ-256 SDMRJ-512 SDMRJ-1024 © 2005 SanDisk Corporation ...

Page 16

... SPI Mode 1 2 DataIn DataOut 1 Type Key: S=power supply; I=input; O=output using push-pull drivers; PP=I/O using push-pull drivers © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual 1 Type RSV NC Not connected or Always “1” CMD I/O, PP, OD Command/Response VSS1 S Supply Voltage Ground ...

Page 17

... If the host does not allow the switchable R implementation, a fixed R OD operating frequency in the open-drain mode has to be reduced in this case. © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Description and R are pull-up resistors protecting the CMD and DAT line ...

Page 18

... The bi-directional CMD and DAT lines are replaced by unidirectional dataIn and dataOut signals. This eliminates the ability to execute commands while data is being read or written which prevents sequential multi read/write operations. supported by the SPI channel. © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual ). pp ...

Page 19

... The following sections provide valuable information about the electrical interface. 3.4.1 Power Up The power-up of the MultiMediaCard/RS-MultiMediaCard bus is handled locally in each card and the bus master. See Figure 3-3. © 2005 SanDisk Corporation Chapter 3 –Interface Description MultiMediaCard and RS-MultiMediaCard Product Manual SPI Bus Master SPI Bus (CLK, DataIn, DataOut) ...

Page 20

... Inserting a card when the bus is operating © 2005 SanDisk Corporation Chapter 3 –Interface Description MultiMediaCard and RS-MultiMediaCard Product Manual 2 the card enters an idle state and ignores all bus ...

Page 21

... Because the bus can be supplied with a variable supply voltage, all signal levels are related to the supply voltage (see Figure 3-4). 3 The current consumption of any card during the power-up procedure must not exceed 10 mA. © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Symbol Min ...

Page 22

... Table 3-6 for any VDD of the allowed voltage range. Table 3-6 Push-pull Mode Bus Signal Level Parameter Output high voltage Output low voltage Input high voltage Input low voltage © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Undefined ...

Page 23

... Revision 1.3 3.4.7 Bus Timing SanDisk’s MultiMediaCards and RS- MultiMediaCards clock data in on the rising edge and out on the falling edge. The data contained in the shaded areas is not valid in Figure 3-5. Figure 3-5 Data In/Out Referenced to Clock Timing Table 3-7 Bus Timing Parameter Clock (CLK) – ...

Page 24

... The Card Identification Register (CID bytes long and contains a unique card identification number as shown in Table 3- programmed during card manufacturing and cannot be changed by MultiMediaCard/RS-MultiMediaCard hosts. Table 3-9 CID Register Fields Name Manufacturer ID (MID) © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual VDD Voltage Window High Voltage MultiMediaCard 0000000b 0b 0000000b ...

Page 25

... PRV binary value filed for product revision (6.2) would be “01100010”. © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Type Width CID- Slice Binary 16 [119:104] 0x0000 String 48 [103:56] SDMJ-32 SDMJ-64 SDMJ-128 SDMJ-256 SDMJ-512 SDMJ-1024 SDM01G SDMRJ-32 SDMRJ-64 SDMRJ-128 SDR128 SDMRJ-256 SDR256 SDMRJ-512 SDR512 SDMRJ-1024 SDR01Gp BCD 8 ...

Page 26

... READ_BL_LEN READ_BL_PARTIAL WRITE_BLK_MISALIGN READ_BLK_MISALIGN DSR_IMP --- C_SIZE VDD_R_CURR_MIN VDD_R_CURR_MAX VDD_W_CURR_MIN VDD_W_CURR_MAX 5 CSD Value does not support I/O, application-specific, stream write and stream read. © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Width Cell CSD CSD Type Slice Value 2 R [127:126] v1.2 ...

Page 27

... Revision 1.3 Field VDD_W_CURR_MAX C_SIZE_MULT ERASE_GRP_SIZE ERASE_GRP_MULT WP_GRP_SIZE WP_GRP_ENABLE R2W_FACTOR WRITE_BL_LEN WRITE_BL_PARTIAL --- CONTENT_PROT_APP FILE_FORMAT_GRP COPY PERM_WRITE_PROTECT TMP_WRITE_PROTECT FILE_FORMAT ECC CRC --- © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Width Cell CSD CSD Type Slice Value [49:47 [46:42 [41:37] --- 5 R [36:32] ...

Page 28

... SPEC_VERSION—Defines the MultiMediaCard System Specification version supported by the card. Table 3-12 System Specification Version SPEC_VERSION © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual CSD Structure Version Valid for System Specification Version v1.0 to 1.2 v1.4 to 2.2 v3.1 to 3.3 Reserved System Specification Version Number v1.0 to 1.2 v1 ...

Page 29

... READ_BL_LEN—The read data block length is computed as 2 maximum block length might therefore be in the range 1, 2, 4…2048 bytes. © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Code Time exponent 0=1 ns, 1=10 ns, 2=100 ns, 3=1 ums, 4=10 ums, 5=100 ums, 6=1 ms, 7=10 ms Time value 0=reserved, 1=1 ...

Page 30

... DSR Implementation Code Table DSR_IMP 0 1 • C_SIZE (Device Size)—computes the card capacity. The memory capacity of the card is computed from the entries C_SIZE, C_SIZE_MULT and READ_BL_LEN as follows: © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Block Length byte bytes … ...

Page 31

... The size of the erase unit (also referred to as erase group) is determined by the ERASE_GRP_SIZE and the ERASE_GRP_MULT entries of the CSD, using the following equation: Size of erasable unit = (ERASE_GRP_SIZE + 1) * (ERASE_GRP_MULT + 1) © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual 2C_SIZE_MULT+2 (C_SIZE_MULT < 8) READ_BL_LEN (READ_BL_LEN < ...

Page 32

... TMP_WRITE_PROTECT—temporarily protects the whole card content from being overwritten or erased (all write and erase commands for this card are temporarily disabled). This bit can be set and reset. The default value is 0 (i.e., not write protected). © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Multiples of Read Access Time ...

Page 33

... A—According to the card current state • B—Always related to the previous command. Reception of a valid command will clear it (with a delay of one command) • C—Clear by read. © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual FILE_FORMAT 0 Hard disk-like file system with partition table. 1 DOS FAT (floppy-like) w/boot sector only (no partition table) ...

Page 34

... COM_CRC_ERROR 22 ILLEGAL_COMMAND 21- Not applicable; bit always set ERROR 17 Not applicable. Bit always set CID/CSD_OVERWRITE © 2005 SanDisk Corporation Chapter 3 –Interface Description MultiMediaCard and RS-MultiMediaCard Product Manual Type Value Description error Command argument was out of the 1= error allowed range for the card ...

Page 35

... WP_ERASE_SKIP 14 CARD_ECC_DISABLED 13 ERASE_RESET 12- CURRENT_STATE 9 8 READY_FOR_DATA 7-6 Reserved 4-0 Reserved © 2005 SanDisk Corporation Chapter 3 –Interface Description MultiMediaCard and RS-MultiMediaCard Product Manual Type Value Description (con’t) (con’t) - Attempt made to reverse copy (set as original) or permanent WP (unprotected) bits not protected Only partial address ...

Page 36

... Protocol section for more details. 3.6 File System Format SanDisk MultiMediaCards and RS-MultiMediaCards are formatted with a “hard disk-like” partitioned DOS FAT file system. Similar to hard disks in PCs, the first data block of the memory consists of a partition table. Thus, using the same notation as for hard disks, i.e., partitioning the memory field into logical sectors of 512 bytes each, the first sector is reserved for this partition table ...

Page 37

... Boot Sector Configuration Byte Position 0x0 0x3 0xb 0xd 0xe 0x10 0x11 0x13 0x15 0x16 0x18 © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Entry Description 3 Last partition sector 4 First sector position relative to beginning of device 4 Number of sectors in partition Length (bytes) Entry Description 3 ...

Page 38

... All ‘X’ entries are denoting card dependent or non-fixed values. The number of sectors per track and the number of heads are meaningless for the MultiMediaCard and can be ignored. © 2005 SanDisk Corporation MultiMediaCard and RS-MultiMediaCard Product Manual Length (bytes) Entry Description ...

Page 39

... SET_RCA command (CMD3) is received. • The Interrupt Mode option defined in the MultiMediaCard Standard is not implemented on the SanDisk MultiMediaCard. • Data Transfer Mode—MultiMediaCards will enter data transfer mode once an RCA is assigned to them. The host will enter data transfer mode after identifying all the MultiMediaCards on the bus ...

Page 40

... The MultiMediaCard standard requires that all MultiMediaCards and RS-MultiMediaCards be able to establish communication with the host using any operating voltage between 1 At least 74 clock cycles are required prior to starting bus communication. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual 4-2 ...

Page 41

... Identification State. The host issues CMD3, (SET_RELATIVE_ADDR) to assign this card a relative address (RCA), which is shorter than CID and used to address the card in future data transfer mode communication typically with a higher clock rate than © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual ...

Page 42

... Stand-by State. This may be used before identifying new cards without resetting other already registered cards. Cards that already have an RCA do not respond to identification command flow in this state. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual ...

Page 43

... Resetting the card (using CMD0 or CMD15) will terminate any pending or active programming operation, which may destroy the data contents on the card the host’s responsibility to prevent the potential destruction of data. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual ...

Page 44

... READY_FOR_DATA indicates whether the card can accept new data or whether the write process is still in progress. The host may deselect the card by issuing CMD7 (to 2 The polynomial is the same one used for a read operation. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual 16 ...

Page 45

... LSBs below the group or sector size. The number of UNTAG commands (CMD34 and CMD37) used in a sequence is limited for up to 16. As described for block write, the MultiMediaCard/RS-MultiMediaCard will indicate that an erase is in progress by holding DAT low. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual 4-7 ...

Page 46

... Table 4-2 describes the structure of the command data block. Table 4-2 Lock Card Data Structure Byte Bit … PWD_LEN + 1 Bit Name ERASE LOCK/UNLOCK © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Bit Bit Bit Bit Reserved ERASE LOCK_UNLOCK PWD_LEN Password Data Description 1 = Forced Erase Operation (all other bits shall be ‘ ...

Page 47

... LOCK_UNLOCK_FAILED error bit will be set in the status register. • Lock Card The sequence for locking a card is as follows: 1. Select a card (CMD7), if not previously selected already. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Description allowed to set it together with CLR_PWD). ...

Page 48

... PWD_LEN register content and the locked card will get unlocked. An attempt to force erase on an unlocked card will fail and LOCK_UNLOCK_FAILED error bit will be set in the status register. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual status register ...

Page 49

... CID or CSD). The degree n of the polynomial is the number of CRC protected bits decreased by one. The number of bits to be protected is 40 for commands and responses (n = 39), and 120 for the CSD and CID (n = 119) registers. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual 7 ...

Page 50

... For example 4,095 for a block length of 512 bytes. The generator polynomial G( standard CCITT polynomial. The code has a minimal distance d=4 and is used for a payload length 2,048 bytes (n < 16,383). Figure 4-4 CRC16 Generator/Checker © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual 16 12 ...

Page 51

... Typical Access and Program Time Operation Read Write Erase © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Definition The read access time is defined as the sum of the two times given by the CSD parameters TAAC and NSAC. These card parameters define the typical delay between the end bit of the read command and the start bit of the data block ...

Page 52

... The supported Card Command Classes (CCC) are coded as a parameter in the CSD Register data of each card, providing the host with information on how to access the card. 3 All cards simultaneously. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Abbreviation ...

Page 53

... CMD24 CMD25 CMD26 CMD27 CMD28 CMD29 CMD30 CMD32 CMD33 CMD34 CMD35 CMD36 CMD37 CMD38 CMD39 CMD40 CMD42 CMD55 © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Card Command Classes Block Block Erase Write Read Write Protec- tion + ...

Page 54

... CMD7 ac [31:16]RCA [15:0] don’t care CMD8 Reserved CMD9 ac [31:16]RCA [15:0] don’t care CMD10 ac [31:16]RCA [15:0] don’t care © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Block Block Erase Write Read Write Protec- tion Resp. ...

Page 55

... CMD26 Not applicable CMD27 adtc [31:0] don’t care Write Protection Commands (Class 6) CMD28 ac [31:0] data address CMD29 ac [31:0] data address © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Resp. Abbreviation R1b STOP_TRANSMISSION R1 SEND_STATUS --- GO_INACTIVE_STATE R1 SET_BLOCKLEN R1 READ_SINGLE_BLOCK ...

Page 56

... CMD41 Reserved Lock Card Commands (Class 7) CMD42 adtc [31:0] stuff bits CMD43 MMCA Optional Command, currently not supported. … CMD54 Application-specific Commands (Class 8) © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Resp. Abbreviation R1 SEND_WRITE_PROT R1 TAG_SECTOR_START R1 TAG_SECTOR_END R1 UNTAG_SECTOR ...

Page 57

... Not supported CMD7, card is --- addressed CMD7, card is --- not addressed CMD9 --- CMD10 --- CMD12 --- CMD13 --- CMD15 --- © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Resp. Abbreviation Current Status ready ident stby tran data Changes to --- --- --- --- --- ...

Page 58

... CMD30 --- Class 5 CMD35 --- CMD36 --- CMD38 --- Class 7 CMD42 --- Class 8 CMD55 --- CMD56: --- RD/ CMD56: --- RD/ Class 9 CMD39 --- CMD40 --- © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual Current Status ready ident stby tran data Changes to --- --- --- data --- --- --- --- tran --- --- --- --- data --- --- --- ...

Page 59

... A value denoted the Table 4-8 to 4-10 indicates a variable entry. All responses except for the type R3 are protected by a CRC. The end bit (1) terminates every response. There are five types of responses supported in the SanDisk MultiMediaCard and RS- MultiMediaCard. Their formats are defined as follows (standard response): response length 48 bit. ...

Page 60

... End Bit (= 1) Z High Impedance State (-> Data bits X Repeater CRC Cyclic Redundancy Check Bits (7 bits) Card active Host active © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual 134 [133:128 111111 transmission bit reserved CID or CSD register inc. ...

Page 61

... After receiving the last card response, the host can start the next command transmission after at least N clock cycles. This timing is relevant for any host command. RC Timing Response End to Next CMD Start (Data Transfer Mode) Response CMD S T Content © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual N Cycles ID CRC E Z ...

Page 62

... Timing of Stop Command (CMD12,Data Transfer Mode) timing diagram describes the response to a stop command. The data transmission stops two clock cycles after the end bit of the stop command. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual ...

Page 63

... This signaling does not give any information about the data write status that must be polled by the host. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual ...

Page 64

... However, there remains un-programmed data blocks in the input buffers. These blocks are being programmed as soon as the stop transmission command is received and the card activates the busy signal. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual ******************* ...

Page 65

... Timing Values Table 4-12 defines all timing values. Table 4-12 Timing Values Value NOTE ((TAAC*f) + (100*NSAC))]* where f is the clock frequency. © 2005 SanDisk Corporation Chapter 4 – MultiMediaCard Protocol Description MultiMediaCard/RS-MultiMediaCard Product Manual N Cycles Card Response ** Content Card is Programming N Cycles Card Response ...

Page 66

... The SPI channel supports single block read/write commands only. The SPI interface uses the same seven signals as the standard MultiMediaCard bus (Figure 5-1). © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual 5-1 Chapter 5 –SPI Mode ...

Page 67

... VSS1 4 VDD 5 CLK 6 VSS2 7 DAT 1) S: power supply; I: input; O: output; PP: push-pull; OD: open-drain; NC: Not connected (or logical high). © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual SPI Bus Master SPI Bus (CLK, DataIn, DataOut) SPI Card SPI Card SPI Mode 1 Type Description Name NC Reserved for ...

Page 68

... Every time the card receives CMD0, including while in Inactive state, CS signal is sampled. If the card recognizes that MultiMediaCard mode is required (CS signal is high), it will not respond to the command and remain in MultiMediaCard mode. If SPI mode is required © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Width [Bytes] Description ...

Page 69

... CMD18 (READ_MULTIPLE_BLOCK) starts a transfer of several consecutive blocks. The number of blocks for the multiple block read operation is not defined. The card will continuously transfer data blocks until a stop transmission command is received. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Next Command From Card ...

Page 70

... CRC suffix, block address, and start address restrictions are identical to the read operation CRC error is detected it will be reported in the data-response token and the data block will not be programmed. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Data from From card ...

Page 71

... SEND_STATUS command (CMD13). Resetting the CS signal while the card is busy does not terminate the programming process. Instead, the card releases the dataOut line (tri-state) and continues programming. If the card © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Data from ...

Page 72

... The use of CMD58 is not restricted to the initialization phase only, but can be issued at any time. The host must poll the card by repeatedly sending CMD1 until the “in-idle-state” bit © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual From Host to Card ...

Page 73

... The time period after which a timeout condition for read/write/erase operations occur is card independent and ten times longer than the typical access/program times for these operations given in Table 5-1. A card will complete the command within the stated time © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual 5-8 Chapter 5 – ...

Page 74

... MultiMediaCard and the SPI Communication modes. 2 There is only one command class table in the CSD register. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Access and Program Times 2 The available command classes and supported commands for a 5-9 Chapter 5 – ...

Page 75

... SPI Bus Command Description CMD SPI Argument Index Mode CMD0 Yes None CMD1 Yes None CMD2 No --- CMD3 No --- CMD4 No --- CMD5 Reserved CMD6 Reserved CMD7 No --- © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Supported Commands Resp Abbreviation R1 GO_IDLE_STATE R1 SEND_OP_COND --- --- --- --- --- --- --- ...

Page 76

... CMD26 No --- CMD27 Yes None CMD28 Yes [31:0] data address © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Resp Abbreviation R1 SEND_CSD Asks the selected card to send its specific data (CSD). R1 SEND_CID Asks the selected card to send its identification (CID). --- ...

Page 77

... CMD42 Yes [31:0] stuff bits CMD43 Reserved … CMD54 CMD55 Yes This optional MMCA command is not supported in the SanDisk MultiMediaCard/RS-MultiMediaCard. CMD56 Yes This optional MMCA command is not supported in the SanDisk MultiMediaCard/RS-MultiMediaCard. CMD57 Reserved © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Resp Abbreviation data (WP_GRP_SIZE) ...

Page 78

... Table 5-6 R1 Response Error Indication Idle State Erase reset Illegal command Communication CRC error Erase sequence error Address error Parameter error © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Resp Abbreviation R3 READ_OCR Reads the OCR Register of a card. R1 CRC_ON_OFF Turns the CRC option on or off. A “ ...

Page 79

... Out of range/CSD overwrite Erase parameter Write protect violation Card ECC failed CC error Error Write protect erase skip Card is locked © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual 0 7 Byte 2 0 Definition This status bit has two functions set if the command argument was out of its valid range the host is trying to change the ROM section or reverse the copy bit (set as original) or permanent WP bit (un-protect) of the CSD register ...

Page 80

... All data bytes are transmitted MSB first. Data tokens are 4 to (N+3) bytes long • First byte: Start Block. • Bytes 2-(N+1): User data. • Last two bytes: 16-bit CRC the data block length set by the SET_BLOCK_LENGTH command © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual 32 31 OCR 7 6 ...

Page 81

... R1 R2 sequence error Erase R2 parameter 4 The same bits may exist in multiple response types—e.g., Card ECC failed. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Transaction Type Single Block Read Multiple Block Read Single Block Write Multiple Block Write Multiple Block Write ...

Page 82

... WP erase R2 skip Lock/unlock R2 CMD failed Card is R2 DataEr locked Erase reset Idle state R1 R2 CSD R2 overwrite © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Type Value Description error An error in the parameter error the command not Attempt to program a write- protected protected block protected ...

Page 83

... The card will release the DataOut line one clock after CS goes high. To check if the card is still busy, it needs to be re-selected by asserting the CS signal (set to low). The card will resume the busy signal, pulling DataOut low, one clock after the falling edge of CS. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual Definition ...

Page 84

... The timing for de-asserting the CS signal after the last card response is identical to a standard command/response transaction. Multiple Block Read—Stop transmission is sent within a block Figure 5-25 Multiple Block Transaction (data overlap DataIn Read Command DataOut © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual ******************* 6 Bytes Command ******** Card Response ******************* ************* Bytes Command ...

Page 85

... DataOut line is undefined for one byte (NBR), after which a Busy token may appear. The host may de-select and re-select the card during every busy period between the data blocks. Timing for toggling the CS signal is identical to the Single block write transaction. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual ******************* ...

Page 86

... SPI Bus Operating Conditions SPI Bus operating conditions are identical to MultiMediaCard mode. 5.27 SPI Bus Timing SPI Bus timing is identical to MultiMediaCard mode. The timing of the CS signal is the same as any other card input. © 2005 SanDisk Corporation MultiMediaCard/RS-MultiMediaCard Product Manual ******************* ...

Page 87

... Revision 1.3 Appendix A Ordering Information A.1 MultiMediaCard and RS-MultiMediaCard To order SanDisk products directly from SanDisk, call (408) 542-0595. Part Number Form Factor SDMJ-32 Full-size MultiMediaCard SDMJ-64 Full-size MultiMediaCard SDMJ-128 Full-size MultiMediaCard SDMJ-256 Full-size MultiMediaCard SDMJ-512 Full-size MultiMediaCard SDMJ-1024 Full-size MultiMediaCard SDMRJ-32 ...

Page 88

... Revision 1.3 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-542-0503 http://www.sandisk.com U.S. Industrial/OEM Sales Offices Northwest, Southwest USA & Mexico 140 Caspian Court ...

Page 89

... III. WHAT THIS WARRANTY COVERS For products found to be defective within one year of purchase, SanDisk will have the option of repairing or replacing the defective product, if the following conditions are met warranty registration card for each defective product was submitted and is on file at SanDisk. If not, a warranty registration card must accompany each returned defective product. This card is included in each product’ ...

Page 90

... SanDisk reserves the right to repair or replace, at its discretion, any product returned by its customers, even if such product is not covered under warranty, but is under no obligation to do so. SanDisk may, at its discretion, ship repaired or rebuilt products identified in the same way as new products, provided such cards meet or exceed the same published specifications as new products. ...

Page 91

... SanDisk shall not be liable for any loss, injury or damage caused by use of the Products in any of the following applications: − ...

Related keywords