CN108231128A - A kind of EMMC test methods and device - Google Patents
A kind of EMMC test methods and device Download PDFInfo
- Publication number
- CN108231128A CN108231128A CN201611159198.3A CN201611159198A CN108231128A CN 108231128 A CN108231128 A CN 108231128A CN 201611159198 A CN201611159198 A CN 201611159198A CN 108231128 A CN108231128 A CN 108231128A
- Authority
- CN
- China
- Prior art keywords
- host computer
- pinboard
- order
- emmc
- determines whether
- 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
Abstract
Inventive embodiments disclose a kind of EMMC test methods and device, the method includes:Host computer determines whether itself is connected with pinboard;If the host computer is connected with the pinboard, the host computer is connected to send to the pinboard by usb communication and be ordered, so that the pinboard tests EMMC according to the order.The embodiment of the present invention determines that itself is connected to pinboard, it connects to send to pinboard by usb communication and order, so that pinboard tests EMMC according to order, it can effectively avoid the problem that EMMC performance test methods inefficiency, realize the effect for effectively improving testing efficiency.
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 testing efficiency of existing EMMC is low.
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 determines whether itself is connected with pinboard;
If the host computer is connected with the pinboard, the host computer is connected by usb communication to the pinboard
Order is sent, so that the pinboard tests EMMC according to the order.
Optionally, the host computer determines whether to be connected with pinboard, including:The host computer determines whether described turn
The device number of fishplate bar;If so, then the host computer is connect with the pinboard;Otherwise, the host computer is not connected with the switching
Plate.
Optionally, the host computer is connected by usb communication after the pinboard sends order, including:On described
Position machine determines whether the sending time of the order is more than preset delay time threshold value;If it is not, then the host computer determines institute
Order is stated to send successfully;Otherwise, the host computer determines that the order sends failure.
Optionally, it after the host computer determines that the order is sent successfully, further includes:The host computer turns according to described
Fishplate bar determines whether the order runs succeeded to the response message of the order.
Second aspect, the embodiment of the present invention additionally provide a kind of EMMC test devices, including:
Pinboard determining module determines whether itself is connected with pinboard for host computer;
EMMC test modules, if being connected with the pinboard for the host computer, the host computer passes through usb communication
It connects to send to the pinboard and order, so that the pinboard tests EMMC according to the order.
Optionally, the pinboard determining module is specifically used for:The host computer determines whether setting for the pinboard
Standby number;If so, then the host computer is connect with the pinboard;Otherwise, the host computer is not connected with the pinboard.
Optionally, it including delay time threshold determination module, is used for:It is connected in the host computer by usb communication to institute
After stating pinboard transmission order, the host computer determines whether the sending time of the order is more than preset delay time threshold
Value;If it is not, then the host computer determines that the order is sent successfully;Otherwise, the host computer determines that the order sends failure.
Optionally, it further includes:Order perform determining module, for the host computer determine it is described order send successfully it
Afterwards, the host computer determines whether the order runs succeeded according to the pinboard to the response message of the order.
An embodiment of the present invention provides a kind of method and device of EMMC tests, if host computer determines itself to be connected to switching
Plate then is connected to send to pinboard by usb communication and be ordered, so that pinboard tests EMMC according to order, Neng Gouyou
Effect avoids the problem that EMMC performance test methods inefficiency, realizes the effect for effectively improving testing efficiency.
Description of the drawings
Figure 1A is a kind of flow chart of EMMC test methods in the embodiment of the present invention one;
Figure 1B is a kind of usb communication connection diagram of EMMC test methods in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of EMMC test methods in the embodiment of the present invention two;
Fig. 3 is a kind of structure chart of EMMC test devices in the embodiment of the present invention three;
Fig. 4 is a kind of structure chart of EMMC test devices in the embodiment of the present invention four.
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
Figure 1A 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 1A, specifically include:
S110, host computer determine whether itself is connected with pinboard.
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 pinboard in the present embodiment;Pinboard is used
In introducing or drawing signal to facilitate connecting test instrument or provide signal source, EMMC to be measured in the present embodiment passes through switching
Plate is connected with host computer, and makes corresponding operation according to the order of host computer.
Illustratively, the host computer determines whether to be connected with pinboard, can include:The host computer determines whether
The device number of the pinboard;If so, then the host computer is connect with the pinboard;Otherwise, the host computer is not connected with institute
State pinboard.
Specifically, pinboard is an external equipment, when host computer is PC, if PC is connected with pinboard, then
The device number of the identification information, i.e. pinboard of external equipment can be shown in the display screen of PC.If the display screen of PC
In do not show the identification information of external equipment, then PC is not connected with pinboard, then can not perform order.
If S120, the host computer are connected with the pinboard, the host computer is connected by usb communication to described turn
Fishplate bar sends order, so that the pinboard tests EMMC according to the order.
Wherein, USB (Universal Serial Bus, universal serial bus) communicates, i.e. USB communication protocol, 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.As shown in Figure 1B, Tu1BWei
The schematic diagram that host computer is connect with pinboard by usb communication, in the present embodiment, host computer, that is, usb host, pinboard is
USB device.When host computer is connected with pinboard, host computer can be connected to send to pinboard by usb communication and be ordered.Its
In, order can be including a variety of, such as Ctrl CMD, that is, EMMC orders, transceiving data order Data CMD, user type order
User CMD, commands in return RESP CMD and interruptive command STOP CMD etc., then, the life that pinboard is sent again according to host computer
EMMC is tested in order.If host computer does not connect pinboard, then, pinboard does not perform order.
The present embodiment is connected to send to pinboard by usb communication and be ordered, so that pinboard carries out EMMC according to order
Test, can effectively avoid the problem that EMMC performance test methods inefficiency, realize the effect for effectively improving testing efficiency.
Embodiment two
Fig. 2 is a kind of flow chart of EMMC test methods provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned implementation
On the basis of example, connected after the pinboard sends order, further included by usb communication in the host computer:On described
Position machine determines whether the sending time of the order is more than preset delay time threshold value;If it is not, then the host computer determines institute
Order is stated to send successfully;Otherwise, the host computer determines that the order sends failure.
Correspondingly, the method for the present embodiment includes:
S210, host computer determine whether itself is connected with pinboard, if so, continuing to execute S220.
S220, the host computer are connected to send to the pinboard by usb communication and be ordered.
S230, the host computer determine whether the sending time of the order is more than preset delay time threshold value.
The delay for having certain time is ordered since host computer is sent, delay time threshold value can be set, according to hair
Whether lose one's life time of order meets the condition of delay time threshold value, to determine whether order sends success.Wherein, delay time threshold
Value can be set as a fixed quiescent value, and such as 5s can also set any one according to the situation of actual test EMMC
Variable dynamic value, such as 1s, 2s and 3s.
Specifically, determine that whether host computer sends the time of order more than preset delay time threshold value, if it is not, then performing
Step S240 and step S250;If so, perform step S260.
S240, the host computer determine that the order is sent successfully.
S250, the pinboard test EMMC according to the order.
Specifically, if pinboard is successfully received the order of host computer transmission within a certain period of time, then, host computer exists
It sends and is ordered successfully in preset delay time threshold value.
Illustratively, after the host computer determines that the order is sent successfully, can also include:The host computer foundation
The pinboard determines whether the order runs succeeded to the response message of the order.
Specifically, pinboard performs the equipment of connection the operation of the corresponding command after the order for receiving host computer, when
After the completion of execution, response message (Response information) is sent back into host computer, host computer is true according to the response message received
Order of accepting one's fate runs succeeded.In the present embodiment, if pinboard receives order, but the not content of response command, then, turn
Fishplate bar will not send response message to host computer, and host computer is not due to receiving response message, thus may determine that order performs
Failure.It should be noted that host computer determines whether to receive response message according to the response time threshold value of setting.Wherein, it rings
The set-up mode of time threshold is answered to be repeated no more as the set-up mode of delay time threshold value.Specifically, when more than response
Between after threshold value, when host computer does not receive the data information or response message of slave computer transmission also, determine that order performs failure.
S260, the host computer determine that the order sends failure.
Specifically, being ordered since host computer connects to send to the pinboard by usb communication, in the process, having can
Line fault, network delay and usb communication can be will appear the reasons such as to go wrong, lead to pinboard in preset delay time
The order of host computer transmission is not received in threshold value, therefore, host computer can determine that order sends failure.
The present embodiment determines whether the order transmission of host computer succeeds, to judge to transfer by predetermined time delay threshold value
Whether plate is tested EMMC according to order, by the processing path of optimization, saves processing time, effectively increases test
The effect of efficiency.
Embodiment three
Fig. 3 is the structure diagram of a kind of EMMC test methods device that the embodiment of the present invention three provides, 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 figure 3, specifically including:31 He of pinboard determining module
EMMC test modules 32.
Pinboard determining module 31 determines whether itself is connected with pinboard for host computer;
EMMC test modules 32, if being connected with the pinboard for the host computer, the host computer is led to by USB
Letter connection is sent to the pinboard orders, so that the pinboard tests EMMC according to the order.
The present embodiment is connected to send to pinboard by usb communication and be ordered, so that pinboard carries out EMMC according to order
Test, can effectively avoid the problem that EMMC performance test methods inefficiency, realize the effect for effectively improving testing efficiency.
Example IV
Fig. 4 is the structure diagram of a kind of EMMC test methods device that the embodiment of the present invention four provides, as shown in Figure 4:
On the basis of above-described embodiment, the pinboard determining module 31 is specifically used for:The host computer determines whether
The device number of the pinboard;If so, then the host computer is connect with the pinboard;Otherwise, the host computer is not connected with institute
State pinboard.
On the basis of above-described embodiment, further include:Delay time threshold determination module 41.
Delay time threshold determination module 41 is sent out for being connected in the host computer by usb communication to the pinboard
It loses one's life after order, the host computer determines whether the sending time of the order is more than preset delay time threshold value;If it is not, then
The host computer determines that the order is sent successfully;Otherwise, the host computer determines that the order sends failure.
On the basis of above-described embodiment, further include:Order performs determining module 42.
Order perform determining module 42, for the host computer determine it is described order send successfully after, it is described upper
Machine, to the response message of the order, determines whether the order runs succeeded according to the pinboard.
The method that the device that EMMC described in the present embodiment is tested is used to perform the EMMC tests described in the various embodiments described above,
Technical principle is similar with the technique effect generated, and which is not described herein again.
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 (8)
1. a kind of EMMC test methods, which is characterized in that including:
Host computer determines whether itself is connected with pinboard;
If the host computer is connected with the pinboard, the host computer is connected to the pinboard by usb communication and sent
Order, so that the pinboard tests EMMC according to the order.
2. according to the method described in claim 1, it is characterized in that, the host computer determines whether to be connected with pinboard, including:
The host computer determines whether the device number of the pinboard;
If so, then the host computer is connect with the pinboard;Otherwise, the host computer is not connected with the pinboard.
3. according to the method described in claim 1, it is characterized in that, the host computer is connected by usb communication to the switching
After plate sends order, including:
The host computer determines whether the sending time of the order is more than preset delay time threshold value;
If it is not, then the host computer determines that the order is sent successfully;Otherwise, the host computer determines that the order sends mistake
It loses.
4. according to the method described in claim 3, it is characterized in that, the host computer determine it is described order send successfully after,
It further includes:
The host computer, to the response message of the order, determines whether the order runs succeeded according to the pinboard.
5. a kind of EMMC test devices, which is characterized in that including:
Pinboard determining module determines whether itself is connected with pinboard for host computer;
EMMC test modules, if being connected with the pinboard for the host computer, the host computer is connected by usb communication
It sends and orders to the pinboard, so that the pinboard tests EMMC according to the order.
6. device according to claim 5, which is characterized in that the pinboard determining module is specifically used for:
The host computer determines whether the device number of the pinboard;
If so, then the host computer is connect with the pinboard;Otherwise, the host computer is not connected with the pinboard.
7. device according to claim 5, which is characterized in that including delay time threshold determination module, be used for:
It is connected after the pinboard sends order by usb communication in the host computer, the host computer determines the life
Whether the sending time of order is more than preset delay time threshold value;
If it is not, then the host computer determines that the order is sent successfully;Otherwise, the host computer determines that the order sends mistake
It loses.
8. device according to claim 7, which is characterized in that further include:
Order perform determining module, for the host computer determine it is described order send successfully after, the host computer foundation
The pinboard determines whether the order runs succeeded to the response message of the order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611159198.3A CN108231128A (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 |
---|---|---|---|
CN201611159198.3A CN108231128A (en) | 2016-12-15 | 2016-12-15 | A kind of EMMC test methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108231128A true CN108231128A (en) | 2018-06-29 |
Family
ID=62650417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611159198.3A Pending CN108231128A (en) | 2016-12-15 | 2016-12-15 | A kind of EMMC test methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108231128A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604272A (en) * | 2008-06-13 | 2009-12-16 | 慧国(上海)软件科技有限公司 | Storage card proving installation and method of testing thereof |
US20130103992A1 (en) * | 2011-10-25 | 2013-04-25 | Silicon Motion, Inc | Burn-In Method for Embedded Multi Media Card, and Test Board Using the Same, and Embedded Multi Media Card Tested by the Same |
CN105185414A (en) * | 2015-09-15 | 2015-12-23 | 北京京存技术有限公司 | Test method and test device |
CN105445644A (en) * | 2015-11-18 | 2016-03-30 | 南昌欧菲生物识别技术有限公司 | Multi-type chip test plate, test system and test machine bench |
-
2016
- 2016-12-15 CN CN201611159198.3A patent/CN108231128A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604272A (en) * | 2008-06-13 | 2009-12-16 | 慧国(上海)软件科技有限公司 | Storage card proving installation and method of testing thereof |
US20130103992A1 (en) * | 2011-10-25 | 2013-04-25 | Silicon Motion, Inc | Burn-In Method for Embedded Multi Media Card, and Test Board Using the Same, and Embedded Multi Media Card Tested by the Same |
CN105185414A (en) * | 2015-09-15 | 2015-12-23 | 北京京存技术有限公司 | Test method and test device |
CN105445644A (en) * | 2015-11-18 | 2016-03-30 | 南昌欧菲生物识别技术有限公司 | Multi-type chip test plate, test system and test machine bench |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021189322A1 (en) | Chip testing apparatus and chip testing method | |
US7603501B2 (en) | Communication circuit of serial peripheral interface devices | |
CN104063348B (en) | Realize the device and method of compatible USB communications and voice communication | |
US20120311215A1 (en) | Peripheral component interconnect express expansion system and method | |
US9026687B1 (en) | Host based enumeration and configuration for computer expansion bus controllers | |
US20170255585A1 (en) | Method and system for switching role of usb otg device and otg device thereof | |
CN109298266B (en) | Test system, test method, test apparatus, and storage medium | |
US10402288B2 (en) | USB-testing method and testing fixture board for USB device | |
CN104021101A (en) | USB interface system and implementation method based on LPC1768 platform | |
CN102073602A (en) | Computer system, connection control device as well as connecting and disconnecting method | |
CN102053898A (en) | Method for testing bus interface on PCIE (Peripheral Component Interface Express) slot of host and read-write test method thereof | |
US10176133B2 (en) | Smart device with no AP | |
CN106354597B (en) | A kind of interface circuit and method for supporting SWP and 7816 interfaces while debugging | |
CN104331350A (en) | Method and device for debugging serial port of IC (Integrated Circuit) card electronic equipment | |
WO2020192520A1 (en) | Terminal testing method and device, and terminal testing system | |
CN108231126A (en) | A kind of EMMC test methods and device | |
CN107885674B (en) | Bluetooth device simulator, working method thereof and Bluetooth device operating system | |
CN108231128A (en) | A kind of EMMC test methods and device | |
CN107451067B (en) | Processing method for downloading test and related product | |
CN105068954A (en) | Terminal interface communication method and apparatus | |
CN107329863B (en) | General hardware platform of measuring instrument based on COMe | |
CN113535578B (en) | CTS test method, CTS test device and CTS test equipment | |
CN110837450B (en) | Test method and device of USB TYPE-C docking station, electronic equipment and storage medium | |
CN103440218A (en) | CAN (Control Area Network) bus monitoring method based on USB-HID (Universal Serial Bus-Human Input Device) protocol | |
CN104899164B (en) | Address addressing method for integrated circuit bus, integrated circuit bus device and system |
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 |
Application publication date: 20180629 |
|
RJ01 | Rejection of invention patent application after publication |