background image

MultiMediaCard

Product Manual

This manual covers the SanDisk MultiMediaCard which was developed by
SanDisk’s Design Center located in Tefen, Israel. The MultiMediaCard
supports version 1.4 of the MultiMediaCard Specification.

®

C

ORPORATE 

H

EADQUARTERS

140 Caspian Court

Sunnyvale, CA 94089-1000

408-542-0500

FAX: 408-542-0503

URL: http://www.sandisk.com

Содержание SDMB-16-470 - 16 MB MultiMedia Card

Страница 1: ...Card which was developed by SanDisk s Design Center located in Tefen Israel The MultiMediaCard supports version 1 4 of the MultiMediaCard Specification CORPORATE HEADQUARTERS 140 Caspian Court Sunnyva...

Страница 2: ...ntification purposes only and may be trademarks and or registered trademarks of their respective companies 2000 SanDisk Corporation All rights reserved SanDisk products are covered or licensed under o...

Страница 3: ...Partitioning 12 1 5 8 6 Read and Write Operations 13 1 5 8 7 Data Protection in the Flash Card 14 1 5 8 8 Erase 14 1 5 8 9 Write Protection 14 1 5 8 10 Copy Bit 15 1 5 8 11 The CSD Register 15 1 5 9...

Страница 4: ...n CID Register 28 4 5 4 CSD Register 28 4 5 5 Status Register 35 4 5 6 RCA Register 37 4 5 7 MultiMediaCard Registers in SPI Mode 37 5 0 MultiMediaCard Protocol Description 38 5 1 General 38 5 2 Card...

Страница 5: ...5 6 2 SPI Command Set 65 6 2 1 Command Format 65 6 2 1 1 Detailed Command Description 66 6 2 2 Responses 68 6 2 2 1 Format R1 68 6 2 2 2 Format R1b 68 6 2 2 3 Format R2 69 6 2 2 4 Data Response 69 6 2...

Страница 6: ...MultiMediaCard Product Manual SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 6...

Страница 7: ...iaCard protocol a high performance seven pin serial interface is designed for maximum scalability and configurability All device and interface configuration data such as maximum frequency card identif...

Страница 8: ...ge range Communication 2 0 3 6V Memory Access 2 7 3 6V Maximum data rate with up to 10 cards Correction of memory field errors Built in write protection features permanent and temporary Comfortable er...

Страница 9: ...nd more complex in the future Because the MultiMediaCard uses an intelligent on board controller the host system software will not require changing as new flash memory evolves In other words systems t...

Страница 10: ...iMediaCard will enter the sleep mode to conserve power if no further commands are received within 5 msec The host does not have to take any action for this to occur In most systems the MultiMediaCard...

Страница 11: ...dentification procedure In addition the MultiMediaCard host can read the card s CID register using the READ_CID MultiMediaCard command The CID register is programmed during the MultiMediaCard testing...

Страница 12: ...be erased in a single erase command A write command implicitly erases the memory before writing new data into it Explicit erase command can be used for pre erasing of memory which will speed up the n...

Страница 13: ...rements are in units per card 1 5 8 6 Read and Write Operations Single Block Mode Memory Sectors Memory Sectors Memory Sectors Memory Sectors Memory Sectors Memory Sectors Memory Sectors Misalignment...

Страница 14: ...Data Protection in the Flash Card Every sector is protected with an Error Correction Code ECC The ECC is generated in the memory card when the sectors are written and validated when the data is read...

Страница 15: ...bset of the MultiMediaCard protocol designed to communicate with an SPI channel commonly found in Motorola s and lately a few other vendors microcontrollers 1 5 9 1 Negotiating Operating Conditions Th...

Страница 16: ...Operating 15 G peak to peak max 15 G peak to peak max Shock Operating Non Operating 1 000 G max 1 000 G max Altitude relative to sea level Operating Non Operating 80 000 feet max 80 000 feet max 2 2...

Страница 17: ...Specifications Refer to the following table and to Figure 2 1 for MultiMediaCard physical specifications and dimensions Weight 1 5 g maximum Length 32mm 0 1mm Width 24mm 0 08mm Thickness 1 4mm 0 1mm 2...

Страница 18: ...18 SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 3 0 Installation 3 1 Mounting The MultiMediaCard can be installed in any platform that has a MultiMediaCard slot and complies wi...

Страница 19: ...Note S power supply I input O output PP push pull OD open drain NC not connected 4 1 2 Pin Assignments in SPI Mode Table 4 2 SPI Pad Definition Pin Name Type SPI Description 1 CS I Chip Select Active...

Страница 20: ...to be reduced in this case Hot Insertion Removal Hot insertion and removal are allowed The SanDisk MultiMediaCard will not be damaged by inserting or removing it into the MultiMediaCard bus even when...

Страница 21: ...ltiMediaCard protocol and command set The MultiMediaCard identification and addressing algorithms are replaced by a hardware Chip Select CS signal There are no broadcast commands A card slave is selec...

Страница 22: ...MultiMediaCard enters the Idle State During this state the MultiMediaCard ignores all bus transactions until CMD1 is received CMD1 is a special synchronization command used to negotiate the operation...

Страница 23: ...stream of logical ones The sequence length is the maximum of one msec 74 clocks or the supply ramp up time The additional ten clocks beyond the 64 clocks after which the card should be ready for commu...

Страница 24: ...to 30 cards the following values must not be exceeded Parameter Symbol Min Max Unit Remark Pull up resistance RCMD RDAT 50 100 k To prevent bus floating Bus signal line capacitance CL 250 pF fPP 5 MH...

Страница 25: ...f the JEDEC specification JESD8 1A the card input and output voltages shall be within the following specified ranges for any VDD of the allowed voltage range Parameter Symbol Min Max Unit Conditions O...

Страница 26: ...o CLK Input set up time tISU 3 ns Input hold time tIH 3 ns Outputs CMD DAT referenced to CLK Output set up time tOSU 5 ns Output hold time tO H 5 ns 4 5 MultiMediaCard Registers There is a set of six...

Страница 27: ...5 23 3 5 3 6 24 30 reserved 31 Card power up status bit busy The level coding of the OCR register is as follows restricted voltage windows LOW card busy LOW bit 31 The least significant 31 bits are c...

Страница 28: ...vision Serial Number Binary 24 39 16 A unique card ID number Month code Binary 4 15 12 Manufacturing date month Year code Binary 4 11 8 Manufacturing date year offset from 1997 CRC7 checksum Binary 7...

Страница 29: ...D_BL_LEN 4 R 83 80 512 9 Max Read Data Block Length READ_BL_ PARTIAL 1 R 79 79 Yes 1 Partial Blocks for Read Allowed WRITE_BLK_ MISALIGN 1 R 78 78 No 0 Write Block Misalignment READ_BLK_ MISALIGN 1 R...

Страница 30: ...1 10 0 0 Reserved ECC 2 R W E 9 8 None 0 ECC Code CRC 7 R W E 7 1 CRC 1 0 0 1 1 Not Used Always 1 The following sections describe the CSD fields and the relevant data types If not explicitly defined o...

Страница 31: ...t case for the clock dependent factor of the data access time The unit for NSAC is 100 clock cycles Therefore the maximal value for the clock dependent part of the read access time is 25 5k clock cycl...

Страница 32: ...that only the READ_BL_LEN block size can be used for block oriented data transfers READ_BL_PARTIAL 1 means that smaller blocks can be used as well The minimum block size will be equal to minimum addr...

Страница 33: ...R_CURR_MIN VDD_W_CURR_MIN The minimum values for read and write currents on VDD power supply are coded as follows Table 4 14 VDD Minimum Current Consumption VDD_R_CURR_MIN VDD_W_CURR_MIN Code For Curr...

Страница 34: ...scribed later R2W_FACTOR Defines the typical block program time as a multiple of the read access time The following table defines the field format Table 4 17 R2W_FACTOR R2W_FACTOR Multiples of Read Ac...

Страница 35: ...ecksum has to be recalculated by the host for any CSD modification The default corresponds to the initial CSD contents 4 5 5 Status Register The MultiMediaCard status register structure is defined in...

Страница 36: ...8 E X 0 no error 1 error The card could not sustain data transfer in stream read mode C 1 7 E X 0 no error 1 error The card could not sustain data programming in stream write mode C 1 6 E R 0 no error...

Страница 37: ...by State with CMD7 4 5 7 MultiMediaCard Registers in SPI Mode In SPI mode only the MultiMediaCard CSD and CID registers are accessible Their format is identical to the format in the MultiMediaCard mo...

Страница 38: ...onditions and timings are presented in the following sections Three operation modes are defined for MultiMediaCards Card Identification Mode The host will be in card identification mode after reset an...

Страница 39: ...mmand and sets all MultiMediaCards to Idle State regardless of the current card state MultiMediaCards in Inactive State are not affected by this command After power on by the host all MultiMediaCards...

Страница 40: ...case the host must repeat CMD1 until the busy bit is cleared During the initialization procedure the host is not allowed to change the OCR values Changes in the OCR content will be ignored by the Mul...

Страница 41: ...Figure 5 2 MultiMediaCard State Diagram Data Transfer Mode CMD7 is used to select one MultiMediaCard and place it in the Transfer State Only one MultiMediaCard can be in the Transfer State at a given...

Страница 42: ...ll and as long as the MultiMediaCard is in Programming State see MultiMediaCard state diagram Figure 5 2 the DAT line will be kept low There is no buffering option for write CSD write CID write protec...

Страница 43: ...s register abort transmission and wait in the Data State for a stop command 1 All upper case names are defined in the CSD 5 3 2 Data Write Format The data transfer format is similar to the data read f...

Страница 44: ...he unit of measure for determining an erase is either a sector or an erase group but if a sector all selected sectors must lie within the same erase group To facilitate selection a first command with...

Страница 45: ...ommand end bit A command with response 8 clocks after the card response end bit A read data transaction 8 clocks after the end bit of the last data block A write data transaction 8 clocks after the CR...

Страница 46: ...st bit xn second bit xn 1 last bit x0 CRC 15 0 Remainder M x x16 G x All CRC registers are initialized to zero The first bit is the first data bit of the corresponding block The degree n of the polyno...

Страница 47: ...ost does not get a response within the defined time out it should assume the card is not going to respond any more and try to recover e g reset the card power cycle reject etc The typical access and p...

Страница 48: ...s See Table 5 2 Each class supports a set of MultiMediaCard functions The supported Card Command Classes CCC are coded as a parameter in the card specific data CSD register of each card providing the...

Страница 49: ...Class 2 Block Read Class 3 Stream Write Class 4 Block Write Class 5 Erase Class 6 Write Write Protection Class 7 Read Write Protection Class 8 Erase Write Protection Class 9 I O Mode Class 10 11 Rese...

Страница 50: ...ses the card is selected by its own relative address and deselected by any other address address 0 deselects all CMD8 Reserved CMD9 ac 31 16 RCA 15 0 don t cares R2 SEND_CSD Addressed card sends its c...

Страница 51: ...ress until a STOP_TRANSMISSION follows CMD21 CMD23 Reserved Table 5 6 Block Oriented Write Commands Class 4 Cmd Index Type Argument Resp Abbreviation Command Description CMD24 adtc 31 0 data address R...

Страница 52: ...of the last sector in a continuous range within the selected erase group or the address of a single sector to be selected for erase CMD34 ac 31 0 data address R1 UNTAG_SECTOR Removes one previously s...

Страница 53: ...tby class 0 CMD0 idle idle idle idle idle idle idle idle idle stby CMD1 card VDD range compatible ready stby CMD1 card is busy idle stby CMD1 card VDD range not compatible ina stby CMD2 card wins bus...

Страница 54: ...11 CMD41 CMD59 Reserved CMD60 CMD63 Reserved for manufacturer 5 9 Responses All responses are sent via the CMD line The response transmission always starts with the MSB The response length depends on...

Страница 55: ...content of the CID register is sent as a response to CMD2 and CMD10 The content of the CSD register is sent as a response to CMD9 Only bits 127 1 of the CID and CSD are transferred bit 0 of these regi...

Страница 56: ...ectively RDAT Actively driven P bits are less sensitive to noise superposition All timing values are defined in Table 5 12 5 10 1 Command and Response Both host command and card response are clocked o...

Страница 57: ...MD Start Data Transfer Mode Last Host Command Next Host Command Timing Diagram After the last command has been sent the host can continue sending the next command after at least NCC clock periods This...

Страница 58: ...cles after the end bit of the host command The bus transaction is identical to that of a read block command see Figure 5 10 As the data transfer is not block oriented the data stream does not include...

Страница 59: ...without card busy signal Figure 5 14 Timing of Multiple Block Write Command In write mode the stop transmission command works similarly to the stop transmission command in the read mode Figures 5 15 t...

Страница 60: ...eceived The bus transaction is identical to that of a write block command see Figure 5 13 As the data transfer is not block oriented the data stream does not include the CRC checksum Consequently the...

Страница 61: ...ediaCard mode is 1 The default block length is as specified in the CSD 512 bytes A set block length of less than 512 bytes will cause a write error The only valid write set block length is 512 bytes C...

Страница 62: ...ultiMediaCard CMD17 Upon reception of a valid read command the card will respond with a response token followed by a data token in the length defined in a previous SET_BLOCK_LENGTH CMD16 command refer...

Страница 63: ...on is completed the host must check the results of the programming using the SEND_STATUS command CMD13 Some errors e g address out of range write protect violation etc are detected during programming...

Страница 64: ...ast SPI bus transaction the host is required to provide 8 eight clock cycles for the card to complete the operation before shutting down the clock Throughout this 8 clock period the state of the CS si...

Страница 65: ...t and the maximum frequency for stream read Write The R2W_FACTOR field in the CSD is used to calculate the typical block program time obtained by multiplying the read access time by this factor It app...

Страница 66: ...None R1 GO_IDLE_STATE Resets the MultiMediaCard CMD1 Yes None R1 SEND_OP_COND Activates the card s initialization process CMD2 No CMD3 No CMD4 No CMD5 reserved CMD6 reserved CMD7 No CMD8 reserved CMD9...

Страница 67: ...5 CMD31 reserved CMD32 Yes 31 0 data address R1 TAG_SECTOR_ START Sets the address of the first sector of the erase group CMD33 Yes 31 0 data address R1 TAG_SECTOR_ END Sets the address of the last se...

Страница 68: ...f the R1 format is given in Figure 6 5 In idle state The card is in idle state and running initializing process Erase reset An erase sequence was cleared before executing because an out of erase seque...

Страница 69: ...esponse R1 The content of the second byte is described below Erase param An invalid selection sectors or groups for erase Write protect violation The command tried to write a write protected block Car...

Страница 70: ...he data block length User data Last two bytes 16 bit CRC 6 2 4 Data Error Token If a read operation fails and the card cannot provide the required data it will sent a data error token instead This tok...

Страница 71: ...X Don t care Z high impedance state 1 repeater Busy Busy Token Command Command token Response Response token Data block Data token All timing values are defined in Table 6 2 The host must keep the cl...

Страница 72: ...2 Card Response to Host Command 6 4 2 Data Read 6 4 2 1 Data Write 6 4 3 Timing Values Table 6 2 Timing Constants Definitions Min Max Unit NCS 0 8 clock cycles NCR 1 8 8 clock cycles NRC 1 8 clock cyc...

Страница 73: ...ION 73 6 5 SPI Electrical Interface The SPI Mode electrical interface is identical to that of the MultiMediaCard mode 6 6 SPI Bus Operating Conditions Identical to MultiMediaCard mode 6 7 Bus Timing I...

Страница 74: ...MultiMediaCard Product Manual SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 74...

Страница 75: ...SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 75 Ordering Information and Technical Support...

Страница 76: ...76 SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION...

Страница 77: ...t SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 77 Ordering Information To order SanDisk products directly from SanDisk call 408 542 0595 MultiMediaCard Model SDMB 4 4 0 MB SDMB...

Страница 78: ...for technical support SanDisk Worldwide Web Site Internet users can obtain technical support and product information along with SanDisk news and much more from the SanDisk Worldwide Web Site 24 hours...

Страница 79: ...SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 79 SanDisk Sales Offices...

Страница 80: ...SanDisk Worldwide Sales Offices SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 80...

Страница 81: ...atin South America 407 667 4880 FAX 407 667 4834 Europe SanDisk GmbH Karlsruher Str 2C D 30519 Hannover Germany 49 511 8759185 FAX 49 511 8759187 SanDisk Northern Europe Videroegaten 3 B S 16440 Kista...

Страница 82: ...SanDisk Worldwide Sales Offices SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 82...

Страница 83: ...defective within one year of purchase SanDisk will have the option of repairing or replacing the defective product if the following conditions are met A A warranty registration card for each defective...

Страница 84: ...ved SanDisk will issue a Return Material Authorization or Product Repair Authorization number Ship the defective product to SanDisk Corporation Attn RMA Returns Reference RMA or PRA 140 Caspian Court...

Страница 85: ...MultiMediaCard Connector Vendors Company Contact Phone Fax ITT Cannon Greg Maslak 612 974 5833 612 934 9121 Yamaichi Electronics Derrick Simpson 408 456 0797 408 456 0799 AVX Kyocera ELCO Connectors...

Страница 86: ...Appendix MultiMediaCard Connectors SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 86 MultiMediaCard Host Connector...

Отзывы: