eMMC Technology Application: Preface
eMMC Technology Application: Preface
2012/06
Preface
eMMC, short for Embedded MultiMediaCard, is the embedded memory standard specification
defined by the MMC (MultiMediaCard Association). It is mainly applied in mobile devices, such as
mobile phone, smart phone, tablet computer, notebook computer, etc., which are all characterized
by light and thin. eMMC is designed just for reducing the component size.
eMMC packages the NAND Flash chip and Control chip into one chip by the MCP technology, so
as to simplify the memory design, and further reduce the components and increase the PCB size.
eMMC Structure
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 1
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
eMMC Specification
For eMMC, its transmission speed can be up to 52MB/s; it supports two voltages: 1.8v and
3.3v; and it supports updating. For its specification, eMMC 4.2 defines the eMMC’s interface ca-
pacity (larger than 2GB) and speed (52MB/s); eMMC 4.3 provides new functions of Booting Func-
tion, Explicit Sleep Mode, Reliable Write, etc.; and the latest eMMC 4.4’s double data rate (DDR) is
strengthened, which increases the original 52MB/s to 100MB/s; besides, the Multiple Partitioning
is added for defining the chip by two parts: High Density and High Performance. Users can store
the codes and system data in the High Performance part, so as to use the block capacity more
flexibly. And write-protection is also added to ensure the security.
Pin Name
1 Data3
2 Command
3 VSS
4 VDD
5 Clock
6 VSS(2)
7 Data0
8 Data1
9 Data2
10 Data4
Fig.2: MMC appearance
11 Data5
12 Data6
13 Data7
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 2
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
• Ten-wire bus (clock, 1 bit command, 8 bit data bus) and a hardware reset.
- Clock frequencies of 0-200MHz
- Three different data bus width modes: 1-bit , 4-bit, and 8-bit
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 3
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
• The Host controls all the transmission between Host and Card; its control command has
two types: Broadcast and Addressed (point-to-point transmission)
• eMMC has five operating modes: Boot Mode, Card Identification Mode, Interrupt Mode,
Data Transfer Mode and Inactive Mode. See Table 2.
After power on, the Card will enter into this mode
Card identification mode directly or after the Boot Mode, waiting the Host to
transmit the CMD3(Send_Relative_Address).
The Host and Card will enter into this mode at the
same time. There is no data transfer in this mode,
Interrupt mode
which only permits the Host or the Card to transmit
the interrupt service request.
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 4
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
• Current the eMMC 4.5 Specification defines 4 speed modes, see table 3.
Backwards Compatibili-
Single 3/1.8/1.2V 1, 4, 8 0-26MHz 26MB/s
ty with legacy MMC card
High Speed
Dual 3/1.8/1.2V 4, 8 0-52MHz 104MB/s
DDR
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 5
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Normally, after power on, if not enter into the Boot Mode, the eMMC will enter into
the Identification Flow immediately. Then the Host (Card Reader or Processor) will transmit
the CMD1 (Command 1) to the Device (Card) immediately, requiring the working condition
of idle device. The Device will return one of two status to the Host: Busy or Ready. If the
Device returns Busy, then the Host will continuously transmit the CMD1 to the Device until
it returns Ready and responds the required data. CMD2 and CMD3 follow that. CMD2 is to
require the CID number; CMD3 is to transmit the Device RCA address for the Host. Now the
registration between the Device and Host is completed; the Device will enter into the Data
Transfer Mode and keep stand-by, waiting the Host to transmit any data transfer command
or special command.
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 6
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
• Packet : There are five packets in the eMMC protocol : Command, Response, Block, CRC
Status and Busy. See below descriptions:
• Responses : All responses are transmitted by the Device after receiving the Host com-
mand. The response type determines the response length. The basic response structure
includes: Start bit, Transmission bit, Content bits, CRC bits and End bit. In the eMMC pro-
tocol there are 5 response types: R1, R2, R3, R4 and R5. See below detailed description.
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 7
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
- R3 (OCR register):
Total 48 bits. Used to respond the content of ORC register. The format of the Device
response is R3 only when the Host transmits the CMD1.
- R4 (Fast I/O):
Total 48 bits. Used to write or read 8 bits data segment into or from some register. The
format of the Device response is R4 only when the Host transmitted the CMD39.
- R5 (Interrupt request):
Total 48 bits. It is the response format for interrupt request. When the Host transmits the
CMD40 to order some card to enter into the Interrupt Mode, and the Device receives it
and responds in R5 format, then the Card can be considered be interrupted and the RCA
is set to 0x0.
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 8
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 9
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 10
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
See below image for the DDR sampling mode. It captures the data at the rising/falling
edge of CLK, to achieve double-data transmission. Please note that only the start bit and end bit
are captured at the rising edge, the Data and CRC are captured at the rising/falling edge.
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 11
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Fig.5: Connect the card reader and eMMC with the test line,
then start the LA to capture.
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 12
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Refer the table 4 for the pins and their names, connect the lines of Command, Clock and
Data0-Data7 with A0, A1, A2, A3, A4, A5, A6, A7, B0 and B1. See Fig.6.
Pin Name
1 Data3
2 Command
3 VSS
4 VDD
5 Clock
6 VSS(2)
7 Data0
8 Data1
9 Data3
10 Data4
11 Data5
12 Data6
13 Data7
Table 4 Fig.6
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 13
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 14
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 15
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
• Decoding format:
Select the eMMC’s transmission mode, which determines the Logic Analyzer can decode the
data correctly or not.
• Pin Assignment:
Set the pin connection when analyzing the eMMC. Make sure the connection is correct.
• Decode settings:
Set the Bus to decode at the CMD line or Data line; if at the Data line, users must set the
Block length (2-16KBytes).
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 16
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
If users want to analyze both the Command and the Data, they can group two Buses to
decode, one for the Command and one for the Data.
Setting Steps:
Step 1 : Click “Bus/Signal” --> “Channels Setup”.
Step 2 : In the “Channels Setup” window, select A0, A1, A2, A3, A4 and A5 for each Bus.
See Fig.8 and Fig.9.
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 17
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
CMD Bus
DATA Bus
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 18
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Step 2 : Find the particular location Address 0x60000 to see the data
writing status behind that.
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 19
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Step 3 : Use the ‘Bus Packet List’ function and set the packet be synchronous with the waveform,
then users can analyze directly why the written data is completed different in the same location.
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 20
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362
High Quality Professional Instruments
2012/06
Conclusion
In the past few years, the smart phone, tablet computer and notebook computer have
developed very quickly, that requires a large number of traditional multi-chip packaging
(MCP) and eMMC. The R&D team has a higher requirement about CPU performance and
memory capacity of in-built NAND Flash. Since the first iPhone’s hot sell in 2007, more and
more mobile phone manufactures began to design the smart phone with in-built memory.
The latest iPhone 4 has abandoned the traditional MCP module but adopted the eMMC. So
the eMMC is very possible to lead the future trend.
Zeroplus PC-Based Logic Analyzer has supported nearly a hundred Bus modules, its
software can auto-decode the captured signal. That helps engineers to quickly analyze and
check the signal, optimize the system, quicken the project process and make the product
come into the market earlier. They don’t need to decode by hand slowly with the oscillo-
scope. Zeroplus Logic Analyzer is the best tool for you to analyze signal.
Please login our website www.zeroplus.com.tw for more information; or you can reg-
ister on our website to be our member, we will send technical analysis report to you on
irregularly schedule.
Roger Tsai
Instrument Department/ FAE
Copyright C ZEROPLUS TECHNOLOGY CO., LTD. ALL rights reservied. Publication Release: 21
www.zeroplus.com.tw TEL:+886 2-66202225 FAX:+886 2-22234362