CN107239375A - It is a kind of to realize the method for testing that USB2.0 High Speed controls are given out a contract for a project - Google Patents

It is a kind of to realize the method for testing that USB2.0 High Speed controls are given out a contract for a project Download PDF

Info

Publication number
CN107239375A
CN107239375A CN201710438190.9A CN201710438190A CN107239375A CN 107239375 A CN107239375 A CN 107239375A CN 201710438190 A CN201710438190 A CN 201710438190A CN 107239375 A CN107239375 A CN 107239375A
Authority
CN
China
Prior art keywords
port
contract
project
speed
waveform
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
Application number
CN201710438190.9A
Other languages
Chinese (zh)
Inventor
吴忠良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710438190.9A priority Critical patent/CN107239375A/en
Publication of CN107239375A publication Critical patent/CN107239375A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The method of testing that USB2.0High Speed controls are given out a contract for a project is realized the invention discloses a kind of, is comprised the following steps:1), control script sends api call instructions to the controller in PCH;2), controller, which is connected to after instruction, enters test pattern, and port patterns to be measured are sent automatically;3), USB2.0 measurement jigs are connected to server, test port to be measured;4), differential probe is connected on USB2.0 measurement jigs, obtains waveform document;5), high-speed oscilloscope crawl and analysis waveform document;6), compared according to corresponding templates, judge whether the port meets specification.Network interface card, and the process given out a contract for a project by computer remote control system are connected present invention eliminates server master board, manpower, resource and time is saved, improves testing efficiency.

Description

It is a kind of to realize the method for testing that USB2.0 High Speed controls are given out a contract for a project
Technical field
The present invention relates to USB technical field of measurement and test, specifically one kind realizes that USB2.0 High Speed controls are given out a contract for a project Method of testing.
Background technology
Controller in traditional control PCH makes correspondence USB port enter test mode and send test Packet method, is that windows is installed on mainboard to be measured, USB IF XX softwares is then installed into system, due to entering USB2.0 interface fails all under system can be made by entering test mode (USB mouse and keyboard can not all be used).
Therefore, it is necessary to server master board is connected to by netting twine using other computers, by remote desktop operation system XX softwares select test packet controls to give out a contract for a project, and switch all USB2.0 interfaces to be measured.
By above procedure as can be seen that traditional USB2.0 High Speed control the process given out a contract for a project comparatively laborious, control Controller in PCH processed makes correspondence USB port enter test mode and send USB mouse and key after test packet Disk can all be failed, and very burden is brought to operation.
Server master board is needed to have network interface (it's not true also needs to separately installed network interface card) so that system is remote by computer Journey desktop is controlled, it is necessary to which the resource such as extra network interface card, computer, netting twine and time, less efficient.
The content of the invention
The method of testing that USB2.0 High Speed controls are given out a contract for a project is realized it is an object of the invention to provide a kind of, is used for Solve the problem of traditional USB2.0 High Speed control the comparatively laborious process given out a contract for a project, the wasting of resources, inefficiency.
The technical scheme adopted by the invention to solve the technical problem is that:One kind realizes that USB2.0 High Speed are controlled The method of testing given out a contract for a project, it is characterized in that, comprise the following steps:
1), control script sends api call instructions to the controller in PCH;
2), controller, which is connected to after instruction, enters test pattern, and port patterns to be measured are sent automatically;
3), USB2.0 measurement jigs are connected to server, test port to be measured;
4), differential probe is connected on USB2.0 measurement jigs, obtains waveform document;
5), high-speed oscilloscope crawl and analysis waveform document;
6), compared according to corresponding templates, judge whether the port meets specification.
Further, step 3) in operation, the specific method that USB2.0 measurement jigs test port to be measured is:
31) state and connection speed of correspondence USB port under the controller in PCH, is directly read;
32), port positions are judged with the plug of known USB device;
33) corresponding port, is selected, into test mode, test port to be measured is carried out.
Further, step 5) operation in, the concrete analysis process of high-speed oscilloscope analysis waveform document is:
51), the USB2.0 Compliance Test Packet instruments of high-speed oscilloscope select the parameter of waveform;
52) TDSUSB2 run, are run, test bag signal is obtained;
53) eye pattern, is generated.
Further, the parameter of waveform includes:Eye Diagram、Signal Rate、Monotonic Property、 EOP Width、Rising Edge Rate、Falling Rate。
Further, step 6) operation in, relatively referred to according to corresponding templates:The USB2.0 required according to USB-IF Requirements of the High Speed to waveform parameter;
Judge whether the port meets specification and refer to:Judge whether the USB2.0 High Speed signals of the port are full Sufficient eye pattern specification.
Further, described eye pattern shows port to be measured waveform parameter.
The beneficial effects of the invention are as follows:
The present invention captures wafeform waveform documents to be measured by differential probe on high-speed oscilloscope, analyzes corresponding Waveform document structure tree eye pattern is simultaneously contrasted to check whether to meet requirement, to ensure USB2.0 with USB2.0 Specification High Speed signal integrity.
Give out a contract for a project method of testing relative to traditional control, connect network interface card present invention eliminates server master board, and pass through electricity The process that brain tele-control system is given out a contract for a project, saves manpower, resource and time, improves testing efficiency.
Brief description of the drawings
Fig. 1 is method flow schematic diagram of the invention;
Fig. 2 is that USB2.0 port states of the present invention reading and control are given out a contract for a project tools interfaces;
The USB2.0 High Speed test bag signal waveforms that Fig. 3 sends for the present invention;
Fig. 4 is USB2.0 High Speed eye patterns of the present invention.
Embodiment
In order to be able to the technical characterstic of clear explanation this programme, below by embodiment, and its accompanying drawing is combined, to this Invention is described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention Structure.In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples are described.In addition, the present invention can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
As shown in figure 1, a kind of realize the method for testing that USB2.0 High Speed controls are given out a contract for a project, comprise the following steps:
1), control script sends api call instructions to the controller in PCH;
2), controller, which is connected to after instruction, enters test pattern, and port patterns to be measured are sent automatically;
3), USB2.0 measurement jigs are connected to server, test port to be measured;
4), differential probe is connected on USB2.0 measurement jigs, obtains waveform document;
5), high-speed oscilloscope crawl and analysis waveform document;
6), compared according to corresponding templates, judge whether the port meets specification.
Step 3) in operation, the specific method that USB2.0 measurement jigs test port to be measured is:
31) state and connection speed of correspondence USB port under the controller in PCH, is directly read;
32), port positions are judged with the plug of known USB device;
33) corresponding port, is selected, into test mode, test port to be measured is carried out.
Step 5) operation in, the concrete analysis process of high-speed oscilloscope analysis waveform document is:
51), the USB2.0 Compliance Test Packet instruments of high-speed oscilloscope select the parameter of waveform;
52) TDSUSB2run, is run, test bag signal is obtained;
53) eye pattern, is generated.
The parameter of waveform includes:Eye Diagram、Signal Rate、Monotonic Property、EOP Width、 Rising Edge Rate、Falling Rate.Eye pattern shows port to be measured waveform parameter.
Step 6) operation in, relatively referred to according to corresponding templates:The USB2.0High Speed couple required according to USB-IF The requirement of waveform parameter;
Judge whether the port meets specification and refer to:Judge whether the USB2.0 High Speed signals of the port are full Sufficient eye pattern specification.
The present invention is abandoned installs network interface card on mainboard, and api call instructions are sent in PCH using control script Controller, controller, which are connected to after instruction, enters test pattern, and port patterns to be measured are sent automatically;USB2.0 tests are controlled Tool is connected to server, tests port to be measured;Differential probe is connected on USB2.0 measurement jigs, obtains waveform document;At a high speed Oscillograph is captured and analysis waveform document;Compared according to corresponding templates, judge whether the port meets specification.
USB2.0 measurement jigs directly read correspondence USB port state and connection speed under the controller in PCH Rate;Judge port positions with the plug of known USB device;Corresponding port is selected, into test mode, test is carried out to be measured Port, as shown in Figure 2.
Using USB2.0 Compliance Test Packet instruments in high-speed oscilloscope, choose Eye Diagram, Signal Rate, Monotonic Property, EOP Width, Rising Edge Rate, Falling Rate, operation TDSUSB2 run, can grab test bag signal as shown in Figure 3, generate eye pattern as shown in Figure 4, can be sentenced according to eye pattern Break and the USB2.0 High Speed signals of the port and meet eye pattern specification.
Simply the preferred embodiment of the present invention described above, for those skilled in the art, Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also regarded as this hair Bright protection domain.

Claims (6)

1. a kind of realize the method for testing that USB2.0High Speed controls are given out a contract for a project, it is characterized in that, comprise the following steps:
1), control script sends api call instructions to the controller in PCH;
2), controller, which is connected to after instruction, enters test pattern, and port patterns to be measured are sent automatically;
3), USB2.0 measurement jigs are connected to server, test port to be measured;
4), differential probe is connected on USB2.0 measurement jigs, obtains waveform document;
5), high-speed oscilloscope crawl and analysis waveform document;
6), compared according to corresponding templates, judge whether the port meets specification.
2. it is according to claim 1 it is a kind of realize the method for testing given out a contract for a project of USB2.0High Speed controls, it is characterized in that, Step 3) in operation, the specific method that USB2.0 measurement jigs test port to be measured is:
31) state and connection speed of correspondence USB port under the controller in PCH, is directly read;
32), port positions are judged with the plug of known USB device;
33) corresponding port, is selected, into test mode, test port to be measured is carried out.
3. it is according to claim 1 it is a kind of realize the method for testing given out a contract for a project of USB2.0High Speed controls, it is characterized in that, Step 5) operation in, the concrete analysis process of high-speed oscilloscope analysis waveform document is:
51), the USB2.0Compliance Test Packet instruments of high-speed oscilloscope select the parameter of waveform;
52) TDSUSB2run, is run, test bag signal is obtained;
53) eye pattern, is generated.
4. it is according to claim 3 it is a kind of realize the method for testing given out a contract for a project of USB2.0High Speed controls, it is characterized in that, The parameter of waveform includes:Eye Diagram、Signal Rate、Monotonic Property、EOP Width、Rising Edge Rate、Falling Rate。
5. it is according to claim 3 it is a kind of realize the method for testing given out a contract for a project of USB2.0High Speed controls, it is characterized in that, Step 6) operation in, relatively referred to according to corresponding templates:The USB2.0High Speed required according to USB-IF are to waveform parameter Requirement;
Judge whether the port meets specification and refer to:Judge whether the USB2.0High Speed signals of the port meet eye pattern Specification.
6. it is according to claim 3 it is a kind of realize the method for testing given out a contract for a project of USB2.0High Speed controls, it is characterized in that, Described eye pattern shows port to be measured waveform parameter.
CN201710438190.9A 2017-06-12 2017-06-12 It is a kind of to realize the method for testing that USB2.0 High Speed controls are given out a contract for a project Pending CN107239375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710438190.9A CN107239375A (en) 2017-06-12 2017-06-12 It is a kind of to realize the method for testing that USB2.0 High Speed controls are given out a contract for a project

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710438190.9A CN107239375A (en) 2017-06-12 2017-06-12 It is a kind of to realize the method for testing that USB2.0 High Speed controls are given out a contract for a project

Publications (1)

Publication Number Publication Date
CN107239375A true CN107239375A (en) 2017-10-10

Family

ID=59986245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710438190.9A Pending CN107239375A (en) 2017-06-12 2017-06-12 It is a kind of to realize the method for testing that USB2.0 High Speed controls are given out a contract for a project

Country Status (1)

Country Link
CN (1) CN107239375A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832174A (en) * 2017-11-09 2018-03-23 郑州云海信息技术有限公司 A kind of closed-Loop Analysis method and system for USB high speed signals
CN108153629A (en) * 2017-12-12 2018-06-12 郑州云海信息技术有限公司 A kind of test method and device for automatically adjusting Redriver
CN110146776A (en) * 2019-04-29 2019-08-20 嘉兴永瑞电子科技有限公司 USB Type-C test equipment and method
CN110297731A (en) * 2019-06-13 2019-10-01 合肥移瑞通信技术有限公司 A kind of test method and system of automatic detection pc port

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521097A (en) * 2011-12-31 2012-06-27 曙光信息产业股份有限公司 Method for testing USB (universal serial bus) signals
CN104598355A (en) * 2014-12-23 2015-05-06 上海斐讯数据通信技术有限公司 Automatic testing system and method of router USB performance

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521097A (en) * 2011-12-31 2012-06-27 曙光信息产业股份有限公司 Method for testing USB (universal serial bus) signals
CN104598355A (en) * 2014-12-23 2015-05-06 上海斐讯数据通信技术有限公司 Automatic testing system and method of router USB performance

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832174A (en) * 2017-11-09 2018-03-23 郑州云海信息技术有限公司 A kind of closed-Loop Analysis method and system for USB high speed signals
CN108153629A (en) * 2017-12-12 2018-06-12 郑州云海信息技术有限公司 A kind of test method and device for automatically adjusting Redriver
CN110146776A (en) * 2019-04-29 2019-08-20 嘉兴永瑞电子科技有限公司 USB Type-C test equipment and method
CN110297731A (en) * 2019-06-13 2019-10-01 合肥移瑞通信技术有限公司 A kind of test method and system of automatic detection pc port
CN110297731B (en) * 2019-06-13 2022-10-14 合肥移瑞通信技术有限公司 Test method and system for automatically detecting PC port

Similar Documents

Publication Publication Date Title
CN107239375A (en) It is a kind of to realize the method for testing that USB2.0 High Speed controls are given out a contract for a project
CN107491369A (en) A kind of detection method and system of quick PCIE3.0 signal integrities
US8996928B2 (en) Devices for indicating a physical layer error
CN104914845B (en) A kind of car body controller fault testing method and system based on industrial personal computer
CN107783873B (en) Method for realizing automatic testing platform of burner
CN103698686B (en) Signal testing method and signal testing equipment
CN108983077B (en) Circuit board test system and test method based on JTAG link
US9989591B2 (en) API-based pattern-controlled test on an ATE
CN103530209B (en) A kind of code keypad automated testing method
CN106789409A (en) The detection method and device of a kind of server slot
CN111812373A (en) PCIe mainboard signal automatic testing device
CN105117566B (en) A kind of method and device analyzed PCIe eye patterns
CN103678747A (en) United simulation tool suitable for multi-type CPU
CN103746873A (en) System and method for testing communication module
CN102565683B (en) Generation and verification method of test vector
CN103913672B (en) A kind of satellite low frequency interface automatization test system
CN108776723B (en) Test system self-checking adapter connection line generation method, device, equipment and storage medium
CN105260281A (en) Iozone-based PCIE SSD card performance test method
CN105093001A (en) Automatic analysis test system for characteristics of high-speed PLL and clock chip
CN103838664A (en) Pressure testing method and device
CN113611348B (en) Dotting method and device, electronic equipment and storage medium
CN106874179A (en) A kind of flight control system BIT system detection methods
CN104268314B (en) Waveform display method is measured based on Easy HDL emulation logic analyzers
CN110413471A (en) A kind of FPGA internal signal data capture method, system
WO2019109284A1 (en) Debugger and chip debugging method

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: 20171010

RJ01 Rejection of invention patent application after publication