CN108231126A - A kind of EMMC test methods and device - Google Patents
A kind of EMMC test methods and device Download PDFInfo
- Publication number
- CN108231126A CN108231126A CN201611158976.7A CN201611158976A CN108231126A CN 108231126 A CN108231126 A CN 108231126A CN 201611158976 A CN201611158976 A CN 201611158976A CN 108231126 A CN108231126 A CN 108231126A
- Authority
- CN
- China
- Prior art keywords
- emmc
- message
- host computer
- connect
- computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/56—External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Abstract
The embodiment of the invention discloses a kind of EMMC test methods and device, the method includes:Host computer is established by usb protocol with slave computer and communicated to connect;The host computer transmits the first message by described communicate to connect to the slave computer;The slave computer transmits the second message by described communicate to connect to the host computer.An embodiment of the present invention provides a kind of method and devices of EMMC tests, it is established and communicated to connect by usb protocol, so that host computer carries out message transmissions with the slave computer by the communication connection, it can effectively avoid the problem that EMMC performance test methods are single, can realize the effect of a variety of EMMC performance tests.
Description
Technical field
The present embodiments relate to the detection technique of electronic product more particularly to a kind of EMMC test methods and devices.
Background technology
EMMC (Embedded Multi Media Card) is embedded multi-media card.EMMC be MMC associations conclude,
Mainly for the embedded memory standard specification of the electronic products such as mobile phone or tablet computer.EMMC is integrated with one in a package
Controller, it provides standard interface and manages flash memory so that cell phone manufacturer can be absorbed in the other parts of product development, and shorten
The time of product is released to market.
It is more and more extensive with the application of EMMC, it is also more and more urgent to the performance test demand of EMMC.The performance of EMMC
Test mainly includes:Power supply test, signal testing, power consumption test and stability test etc..At present, EMMC performance tests are adopted mostly
With the test method of chip, i.e., it is connected by chip test base with intelligent apparatus, so as to test its basic read-write capability.But
The performance test methods of existing EMMC are single, can not meet user demand.
Invention content
The embodiment of the present invention provides a kind of EMMC test methods and device, can improve the testing efficiency of EMMC performances.
In a first aspect, an embodiment of the present invention provides a kind of EMMC test methods, including:
Host computer is established by usb protocol with slave computer and communicated to connect;
The host computer transmits the first message by described communicate to connect to the slave computer;
The slave computer transmits the second message by described communicate to connect to the host computer.
Optionally, first message is included in EMMC orders, transceiving data order, user type order and interruptive command
At least one.
Optionally, second message includes commands in return.
Second aspect, the embodiment of the present invention additionally provide a kind of EMMC test devices, including:
Module is established in communication connection, is established and communicated to connect by usb protocol for host computer and slave computer;
First message transmissions module is communicated to connect by described to the first report of slave computer transmission for the host computer
Text;
Second message transmissions module is communicated to connect by described to the second report of host computer transmission for the slave computer
Text.
Optionally, first message is included in EMMC orders, transceiving data order, user type order and interruptive command
At least one.
Optionally, second message includes commands in return.
An embodiment of the present invention provides a kind of method and devices of EMMC tests, are established and communicated to connect by usb protocol, made
It obtains host computer and message transmissions is carried out by the communication connection with the slave computer, can effectively avoid EMMC performance test methods
The problem of single, can realize the effect of a variety of EMMC performance tests.
Description of the drawings
Fig. 1 is a kind of flow chart of EMMC test methods in the embodiment of the present invention one;
Fig. 2 is a kind of structure chart of EMMC test devices in the embodiment of the present invention two.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than entire infrastructure are illustrated only in description, attached drawing.
Embodiment one
Fig. 1 is the flow chart of a kind of EMMC test methods that the embodiment of the present invention one provides, and the present embodiment is applicable to respectively
The situation of kind EMMC tests, this method can be performed by EMMC test devices provided in an embodiment of the present invention, which can adopt
It is realized with the mode of software and/or hardware, which can be integrated in any equipment for providing EMMC test functions, such as typical
Be subscriber terminal equipment, can be computer etc., as shown in Figure 1, specifically including:
S110, host computer and slave computer are established by usb protocol and communicated to connect.
Wherein, host computer is the computer that can directly send out manipulation command, usually PC (personal computer,
Personal computer), host computer (host), master computer (master computer) and upper computer (on
Position machine) etc., various signal intensities are shown on screen, host computer is sends commands to slave computer in the present embodiment;Slave computer is
The computer that equipment obtains status of equipment is directly controlled, (Programmable Logic Controller, can compile usually PLC
Journey logic controller), SCM (single chip microcomputer, microcontroller), slave computer (subordinate calculate
Machine) and lower computer (slave computer) etc., slave computer is makes accordingly according to the order of host computer in the present embodiment
Operation, including pinboard and EMMC to be measured;USB (Universal Serial Bus, universal serial bus) agreement is a kind of
It supports to carry out the communication protocol of serial data transmission between usb host and USB device, can include a variety of, such as can be
USB-HID agreements, i.e. HID (Human Interface Device, human interface device) agreement.Specifically, host computer is under
Position machine has collectively constituted EMMC test development platforms, since host computer is to obtain absolute ownership, in USB interface
Certain specific command form linked up just is must comply in communication protocol, between host computer and slave computer, to reach communication
Purpose.
S120, the host computer transmit the first message by described communicate to connect to the slave computer.
Wherein, message contains the complete data information that will be sent to exchange the data cell with transmission in network.
In the present embodiment, message is the command information for completing EMMC test process, for the structure of 64 bytes, title such as S_USB_
PACKET.Wherein, structure is a kind of data structure.In the present embodiment, message is classified according to executive agent, including the first report
Text and the second message, wherein, the first message is host computer by communicating to connect the command information transmitted to slave computer.
Illustratively, first message includes EMMC orders, transceiving data order, user type order and interruptive command
At least one of.
Wherein, Ctrl CMD are EMMC orders, include CMD0 to CMD60 totally 61 subcommands, and each subcommand
Have the function of different.For example, the function of Ctrl CMD18 for continuous slave device read block to host computer, until being interrupted
The data number of blocks of request is interrupted or is had reached in order;The function of Ctrl CMD31 rises for write protection data information
Beginning address.
Transceiving data order Data CMD are ordered comprising Data Read (digital independent) and Data Write (data write-in)
Two subcommands are enabled, as the initial order for sending and receiving data, for reading data and write-in data.User type order
User CMD, for the specific command that user needs, such as open command, shutdown command, delay command and reset command.Interrupt life
STOP CMD are enabled, for stopping the operation being carrying out.
For example, Ctrl CMD 18 are the reading order in EMMC orders.When host computer reads data information, sending
After complete reading order CMD 18, need to send Data Read orders, such slave computer just starts the data information in EMMC
It reads and is sent to host computer.It should be noted that slave computer is not immediately by number after reading order CMD18 has been performed
It is believed that breath is sent to host computer, but sent after Data Read orders are received.Therefore, EMMC orders do not need to distinguish life
Whether order carries data, is conducive to improve testing efficiency.
S130, the slave computer transmit the second message by described communicate to connect to the host computer.
Illustratively, second message includes commands in return.
In the present embodiment, the command information that the second message is transmitted for slave computer by communication connection to host computer, such as
Commands in return RESP CMD.Wherein, commands in return RESP CMD are reply (Response information) of the slave computer to host computer.Under
Position machine performs the equipment of connection the operation of the corresponding command after the order for receiving host computer, will after the completion of execution
Response information sends back host computer, and host computer confirms that order runs succeeded according to the response message received.
It should be noted that in the present embodiment, do not limit step S120 and S130 performs sequence.
An embodiment of the present invention provides a kind of methods of EMMC tests, are established and communicated to connect by usb protocol so that is upper
Machine carries out message transmissions with the slave computer by the communication connection, can effectively avoid EMMC performance test methods single
Problem can realize the effect of a variety of EMMC performance tests.
Embodiment two
Fig. 2 is a kind of structure diagram of EMMC test methods device provided by Embodiment 2 of the present invention, and the present embodiment can
Suitable for the situation of various EMMC tests, this method can be performed by EMMC test devices provided in an embodiment of the present invention, should
Software can be used in device and/or the mode of hardware is realized, which can be integrated in any equipment for providing EMMC test functions,
Such as subscriber terminal equipment is typically, can be computer etc., as shown in Fig. 2, specifically including:Communication connection establish module 21,
First message transmissions module 22 and the second message transmissions module 23.
Module 21 is established in communication connection, is established and communicated to connect by usb protocol for host computer and slave computer;
First message transmissions module 22 is communicated to connect by described to slave computer transmission first for the host computer
Message;
Second message transmissions module 23 is communicated to connect by described to host computer transmission second for the slave computer
Message.
On the basis of above-described embodiment, first message includes EMMC orders, transceiving data order, user type order
At least one of with interruptive command.
On the basis of above-described embodiment, second message includes commands in return.
An embodiment of the present invention provides a kind of methods of EMMC tests, are established and communicated to connect by usb protocol so that is upper
Machine carries out message transmissions with the slave computer by the communication connection, can effectively avoid EMMC performance test methods single
Problem can realize the effect of a variety of EMMC performance tests.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiment described here, can carry out for a person skilled in the art various apparent variations,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (6)
1. a kind of EMMC test methods, which is characterized in that including:
Host computer is established by usb protocol with slave computer and communicated to connect;
The host computer transmits the first message by described communicate to connect to the slave computer;
The slave computer transmits the second message by described communicate to connect to the host computer.
2. according to the method described in claim 1, it is characterized in that, first message includes EMMC orders, transceiving data is ordered
It enables, at least one of user type order and interruptive command.
3. according to the method described in claim 1, it is characterized in that, second message includes commands in return.
4. a kind of EMMC test devices, which is characterized in that including:
Module is established in communication connection, is established and communicated to connect by usb protocol for host computer and slave computer;
First message transmissions module transmits the first message for the host computer by described communicate to connect to the slave computer;
Second message transmissions module transmits the second message for the slave computer by described communicate to connect to the host computer.
5. device according to claim 4, which is characterized in that first message includes EMMC orders, transceiving data is ordered
It enables, at least one of user type order and interruptive command.
6. device according to claim 4, which is characterized in that second message includes commands in return.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611158976.7A CN108231126A (en) | 2016-12-15 | 2016-12-15 | A kind of EMMC test methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611158976.7A CN108231126A (en) | 2016-12-15 | 2016-12-15 | A kind of EMMC test methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108231126A true CN108231126A (en) | 2018-06-29 |
Family
ID=62650308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611158976.7A Pending CN108231126A (en) | 2016-12-15 | 2016-12-15 | A kind of EMMC test methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108231126A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109273045A (en) * | 2018-09-21 | 2019-01-25 | 郑州云海信息技术有限公司 | Store equipment on-line detection method, device, equipment and readable storage medium storing program for executing |
CN113496749A (en) * | 2020-04-02 | 2021-10-12 | 深圳星火半导体科技有限公司 | Storage performance test analysis method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196741A (en) * | 2007-12-06 | 2008-06-11 | 上海交通大学 | Single-line two-way communication method of reorganizable controller |
CN101604272A (en) * | 2008-06-13 | 2009-12-16 | 慧国(上海)软件科技有限公司 | Storage card proving installation and method of testing thereof |
US20120166901A1 (en) * | 2010-12-27 | 2012-06-28 | Samsung Electronics Co., Ltd. | Integrated circuit for testing smart card and driving method of the circuit |
CN104484296A (en) * | 2014-11-25 | 2015-04-01 | 英业达科技有限公司 | Burning system, adapter card and data format converting method thereof |
US20160005454A1 (en) * | 2014-07-07 | 2016-01-07 | Samsung Electronics Co., Ltd. | Methods for manufacturing and operating a memory device and a method for operating a system having the same |
-
2016
- 2016-12-15 CN CN201611158976.7A patent/CN108231126A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196741A (en) * | 2007-12-06 | 2008-06-11 | 上海交通大学 | Single-line two-way communication method of reorganizable controller |
CN101604272A (en) * | 2008-06-13 | 2009-12-16 | 慧国(上海)软件科技有限公司 | Storage card proving installation and method of testing thereof |
US20120166901A1 (en) * | 2010-12-27 | 2012-06-28 | Samsung Electronics Co., Ltd. | Integrated circuit for testing smart card and driving method of the circuit |
US20160005454A1 (en) * | 2014-07-07 | 2016-01-07 | Samsung Electronics Co., Ltd. | Methods for manufacturing and operating a memory device and a method for operating a system having the same |
CN104484296A (en) * | 2014-11-25 | 2015-04-01 | 英业达科技有限公司 | Burning system, adapter card and data format converting method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109273045A (en) * | 2018-09-21 | 2019-01-25 | 郑州云海信息技术有限公司 | Store equipment on-line detection method, device, equipment and readable storage medium storing program for executing |
CN113496749A (en) * | 2020-04-02 | 2021-10-12 | 深圳星火半导体科技有限公司 | Storage performance test analysis method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102917095B (en) | A kind of method of the terminal test based on android system and device | |
CN104063348B (en) | Realize the device and method of compatible USB communications and voice communication | |
CN109471493B (en) | Docking station device, electronic device and method for setting basic input and output system | |
CN103559152A (en) | Device and method for CPU (central processing unit) to access local bus on basis of PCIE (peripheral component interface express) protocol | |
CN104217768B (en) | A kind of detection method and device of eMMC embedded memories | |
CN104731746A (en) | Equipment controller device | |
CN105891764A (en) | Watt-hour meter data intelligent reading-writing device and watt-hour meter data intelligent reading-writing method based on Bluetooth communication | |
CN103516557A (en) | Method and system for testing | |
CN103400096B (en) | Double-purpose card reader, NFC-SIM card reader and method of testing thereof | |
CN104239097A (en) | Method and system for upgrading fitting by virtue of mobile terminal, and mobile terminal | |
CN112799985B (en) | USB interface control method, USB control circuit and intelligent networking equipment mainboard | |
CN104021101A (en) | USB interface system and implementation method based on LPC1768 platform | |
CN201174708Y (en) | Ethernet access apparatus | |
CN102654857A (en) | Communication method capable of simulating SPI protocol by adopting GPIO interface | |
CN108231126A (en) | A kind of EMMC test methods and device | |
CN103744478A (en) | Bluetooth wireless display and control method thereof | |
CN101923505A (en) | Test system and method of peripheral component interconnection rapid slot | |
CN203366744U (en) | Wireless USB flash disk device supporting self-building of hot spot | |
CN103092648A (en) | Method and system of mirror image upgrade and user device and personal computer | |
CN102664043A (en) | Device and method for test of smart SD card realizing mobile payment | |
CN103581157A (en) | Embedded device and control method for carrying out data communication based on same | |
CN205486066U (en) | Control card based on embedded operating system | |
CN103049403A (en) | Method for communication between embedded terminal device and cell phone | |
CN102929828B (en) | Support data transmission method and the device of standard and non-standard I 2C interface simultaneously | |
CN103365815B (en) | The SD memory card interface that under support SD pattern, IP realizes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |