CN101556305B - Automatic diagnostic method and equipment of parallel ports of embedded type equipment - Google Patents

Automatic diagnostic method and equipment of parallel ports of embedded type equipment Download PDF

Info

Publication number
CN101556305B
CN101556305B CN2008100708753A CN200810070875A CN101556305B CN 101556305 B CN101556305 B CN 101556305B CN 2008100708753 A CN2008100708753 A CN 2008100708753A CN 200810070875 A CN200810070875 A CN 200810070875A CN 101556305 B CN101556305 B CN 101556305B
Authority
CN
China
Prior art keywords
stitch
parallel port
parallel
stitches
loop
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.)
Expired - Fee Related
Application number
CN2008100708753A
Other languages
Chinese (zh)
Other versions
CN101556305A (en
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.)
Fujian Centerm Information Co Ltd
Original Assignee
Fujian Centerm Information 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 Fujian Centerm Information Co Ltd filed Critical Fujian Centerm Information Co Ltd
Priority to CN2008100708753A priority Critical patent/CN101556305B/en
Publication of CN101556305A publication Critical patent/CN101556305A/en
Application granted granted Critical
Publication of CN101556305B publication Critical patent/CN101556305B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention discloses an automatic diagnostic method of parallel ports of embedded type equipment, comprising the following steps: (1) stitches of parallel ports are tested, i.e. stitches of the parallel ports are mutually connected to form four different loop circuits, input stitches of each loop circuit send signals in turn, and stitches corresponding to the input stitches receive the corresponding signals to judge; (2) testing result of the stitches of each parallel port is displayed, and special testing equipment is designed aiming at the previous three main steps. The invention can automatically test the stitches of each parallel port without manpower, can test various types of parallel ports of the embedded type equipment and can effectively verify the stitches of each parallel port.

Description

Embedded device parallel port automatic diagnosis method and diagnostic device thereof
[technical field]
The present invention relates to a kind of embedded device parallel port automatic diagnosis method and diagnostic device thereof, belong to the embedded device field tests.
[background technology]
The parallel port method of testing of embedded device use at present, all be by artificial mode, use simple testing tool to test, can't accomplish to carry out automatically, need Attended mode, and the coverage of each interface pin test is lower, only is confined to the sending and receiving signal testing of data, the test result that provides is fairly simple, and is not obvious to the effect that the quality that guarantees the embedded device interface plays.
[summary of the invention]
One of the technical problem to be solved in the present invention is to be to provide a kind of embedded device parallel port automatic diagnosis method, realize the parallel port test operation automatically of embedded device, and each stitch that guarantees each interface can both be tested, and has greatly improved the coverage and the validity of parallel port test.
Above-mentioned technical scheme is achieved in that a kind of embedded device parallel port automatic diagnosis method, comprises the steps:
The test of step 1, parallel port stitch: each stitch of parallel port is interconnected to form four different loops, and the input stitch to each loop sends signal in turn, and judges receiving corresponding signal with the corresponding stitch of this input stitch;
Step 2, show test results: the test result that shows each parallel port.
Wherein, described parallel port is 25 core parallel ports of standard, and four loops that each stitch of parallel port forms in the step 1 are respectively: stitch 1, stitch 2, stitch 6 and stitch 13 form a loop; Stitch 3, stitch 7, stitch 12 and stitch 14 form a loop; Stitch 4, stitch 8, stitch 10 and stitch 16 form a loop; Stitch 5, stitch 9, stitch 11, stitch 15 and stitch 17 form a loop, and stitch 1, stitch 14, stitch 16, stitch 17 be respectively the output stitch, and all the other stitch are the input stitch.
In the above-mentioned steps one each stitch of parallel port being interconnected to form the parallel port that reinitializes after four different loops is EPP (Enhanced Parallel Ports strengthens parallel port) pattern.
Two of the technical problem to be solved in the present invention is to be to provide a kind of parallel port testing apparatus that is used to realize embedded device parallel port automatic diagnosis method.
Above-mentioned technical scheme is achieved in that a kind of parallel port testing apparatus that is used to realize embedded device parallel port automatic diagnosis method, this parallel port testing apparatus is a kind of web member that has with the identical stitch in 25 core parallel ports of standard, the stitch distribution distributes corresponding with the stitch of 25 core parallel ports of standard, its shape also can be similar to the parallel port shape, and the stitch 1 of this parallel port testing apparatus, stitch 2, stitch 6 and stitch 13 connect; Stitch 3, stitch 7, stitch 12 and stitch 14 connect; Stitch 4, stitch 8, stitch 10 and stitch 16 connect; Stitch 5, stitch 9, stitch 11, stitch 15 and stitch 17 connect.
The present invention has following beneficial effect:
1, takes method of the present invention and corresponding testing apparatus can be able to carry out the parallel port test automatically, and need not manually the stitch of each parallel port be tested, greatly improved testing efficiency;
2, the present invention can test the various full signals 25 core parallel ports of embedded device, and the stitch of each parallel port can both effectively verify, and is convenient and practical.
[description of drawings]
In conjunction with the embodiments the utility model is further described with reference to the accompanying drawings.
Fig. 1 is an embedded device of the present invention parallel port automatic diagnosis method operating process synoptic diagram.
Fig. 2 is the stitch connection diagram that the present invention is used to realize the parallel port testing apparatus of embedded device parallel port automatic diagnosis method.
[embodiment]
The parallel port of the tested embedded device of the present invention is 25 core parallel ports of standard, wherein, stitch 1 be gating end (low level is effective), stitch 2 for data 0, stitch 3 for data 1, stitch 4 for data 2, stitch 5 for data 3, stitch 6 for data 4, stitch 7 for data 5, stitch 8 for data 6, stitch 9 for data 7, stitch 10 confirm (low level is effective), stitch 11 for busy, stitch 12 for lack paper, stitch 13 for select, stitch 14 is ground connection for mistake, stitch 16 initialization, stitch 17 for selecting input, stitch 18 to stitch 25 for line feed automatically, stitch 15.
See also shown in Figure 1ly, its embedded device parallel port automatic diagnosis method is divided into following several steps:
Begin test.
Step 1, the test of parallel port stitch: each stitch of parallel port is interconnected to form four different loops, and these four loops are respectively: stitch 1, stitch 2, stitch 6 and stitch 13 form a loop; Stitch 3, stitch 7, stitch 12 and stitch 14 form a loop; Stitch 4, stitch 8, stitch 10 and stitch 16 form a loop; Stitch 5, stitch 9, stitch 11, stitch 15 and stitch 17 form a loop, and stitch 1, stitch 14, stitch 16, stitch 17 be respectively the output stitch, and all the other stitch are the input stitch.
For each stitch of more effective test parallel port, the parallel port is initialized as the EPP pattern, the EPP agreement is that a kind of and spp are compatible and can finish the agreement (traditional parallel port mode is the SPP pattern, can only output data can not import data under this pattern) of bidirectional data transfers
Then,, in turn input stitch (i.e. all the other stitch except that stitch 1, stitch 14, stitch 16, stitch 17) is sent signal, and judge receiving corresponding signal with the corresponding stitch of this input stitch according to the order of connection of each stitch of parallel port; Whether checking signal is correct, if the parallel port of test errors and relevant stitch are warned and demonstrated to incorrect then jingle bell.
Step 2, show test results: after end of test (EOT), will show the test result of each parallel port, and, then can show it is which stitch of which parallel port tests out problem if go wrong in the test process.
Again as shown in Figure 2, above-mentioned embedded device parallel port automatic diagnosis method, wherein step 1 can adopt following parallel port testing apparatus to test, this parallel port testing apparatus is a kind of web member that has with the identical stitch in 25 core parallel ports of standard, the stitch distribution distributes corresponding with the stitch of 25 core parallel ports of standard, its shape also can be similar to the parallel port shape, and the stitch 1 of this parallel port testing apparatus, stitch 2, stitch 6 and stitch 13 connect; Stitch 3, stitch 7, stitch 12 and stitch 14 connect; Stitch 4, stitch 8, stitch 10 and stitch 16 connect; Stitch 5, stitch 9, stitch 11, stitch 15 and stitch 17 connect.(one of this parallel port testing apparatus and parallel port to be measured are male when this parallel port testing apparatus is docked in the mode of male/female with parallel port to be measured, one of be female), will make each stitch of parallel port to be measured be interconnected to form four different loops described in the above-mentioned steps one.

Claims (3)

1. an embedded device parallel port automatic diagnosis method is characterized in that, comprises the steps:
The test of step 1, parallel port stitch: each stitch of parallel port is interconnected to form four different loops, and the input stitch to each loop sends signal in turn, and judges receiving corresponding signal with the corresponding stitch of this input stitch;
Step 2, show test results: the test result that shows each parallel port.
Described parallel port is 25 core parallel ports of standard, and four loops that each stitch of parallel port forms in the step 1 are respectively: stitch 1, stitch 2, stitch 6 and stitch 13 form a loop; Stitch 3, stitch 7, stitch 12 and stitch 14 form a loop; Stitch 4, stitch 8, stitch 10 and stitch 16 form a loop; Stitch 5, stitch 9, stitch 11, stitch 15 and stitch 17 form a loop, and stitch 1, stitch 14, stitch 16, stitch 17 be respectively the output stitch, and all the other stitch are the input stitch.
2. embedded device as claimed in claim 1 parallel port automatic diagnosis method is characterized in that: in the step 1 each stitch of parallel port is interconnected to form four different loops and reinitializes the parallel port afterwards for strengthening parallel port.
3. parallel port testing apparatus that is used to realize embedded device parallel port automatic diagnosis method, it is characterized in that: this parallel port testing apparatus is a kind of web member that has with the identical stitch in 25 core parallel ports of standard, the stitch distribution is corresponding with the stitch distribution of 25 core parallel ports of standard, and the stitch 1 of this parallel port testing apparatus, stitch 2, stitch 6 and stitch 13 connect; Stitch 3, stitch 7, stitch 12 and stitch 14 connect; Stitch 4, stitch 8, stitch 10 and stitch 16 connect; Stitch 5, stitch 9, stitch 11, stitch 15 and stitch 17 connect.
CN2008100708753A 2008-04-10 2008-04-10 Automatic diagnostic method and equipment of parallel ports of embedded type equipment Expired - Fee Related CN101556305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100708753A CN101556305B (en) 2008-04-10 2008-04-10 Automatic diagnostic method and equipment of parallel ports of embedded type equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100708753A CN101556305B (en) 2008-04-10 2008-04-10 Automatic diagnostic method and equipment of parallel ports of embedded type equipment

Publications (2)

Publication Number Publication Date
CN101556305A CN101556305A (en) 2009-10-14
CN101556305B true CN101556305B (en) 2011-07-27

Family

ID=41174499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100708753A Expired - Fee Related CN101556305B (en) 2008-04-10 2008-04-10 Automatic diagnostic method and equipment of parallel ports of embedded type equipment

Country Status (1)

Country Link
CN (1) CN101556305B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103760894B (en) * 2014-01-24 2016-05-25 杭州正嘉数控设备有限公司 Digital control system full-automatic test system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2418519Y (en) * 2000-03-13 2001-02-07 神基科技股份有限公司 Detection device for automatically detecting input and output interface
CN2519336Y (en) * 2002-01-11 2002-10-30 田明儒 Computer serial interface test apparatus
CN1963778A (en) * 2005-11-11 2007-05-16 鸿富锦精密工业(深圳)有限公司 System and method for testing serial port of mainboard
CN200993779Y (en) * 2006-12-22 2007-12-19 山东超越数控电子有限公司 Computer serial single test module

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2418519Y (en) * 2000-03-13 2001-02-07 神基科技股份有限公司 Detection device for automatically detecting input and output interface
CN2519336Y (en) * 2002-01-11 2002-10-30 田明儒 Computer serial interface test apparatus
CN1963778A (en) * 2005-11-11 2007-05-16 鸿富锦精密工业(深圳)有限公司 System and method for testing serial port of mainboard
CN200993779Y (en) * 2006-12-22 2007-12-19 山东超越数控电子有限公司 Computer serial single test module

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈淼波.用VisualC++.Net2003实现通用工控串行通信.《电脑编程技巧与维护》.2007,48-54. *

Also Published As

Publication number Publication date
CN101556305A (en) 2009-10-14

Similar Documents

Publication Publication Date Title
CN101556304B (en) Automatic diagnostic method and equipment of serial ports of embedded type equipment
CN102075788B (en) Automatic detection method for set top box
CN104569794B (en) A kind of FPGA In-circiut testers and method of testing based on boundary-scan architecture
CN204405775U (en) Multiplex roles cable tester
CN102176140B (en) Remote control controlled area network (CAN) bus testing device and method
CN101706544B (en) Method for testing cable wiring relationship and cable monitoring device
CN109470974A (en) A kind of testing lines system and method based on wireless technology
CN114401212B (en) Method for testing double-master-station communication protocol
CN106370984B (en) Detection method based on electric wiring conducting automatic checkout system
CN101556305B (en) Automatic diagnostic method and equipment of parallel ports of embedded type equipment
US20100052712A1 (en) Test apparatus for testing circuit board
CN109765482A (en) A kind of high speed interconnecting test method between multi-chip
CN109189620A (en) A kind of serial ports verifying attachment
CN103856277A (en) Automatic testing system and method for measuring ZigBee radio frequency performance
CN208077394U (en) A kind of the communication test plate and communication test system of concentrator communication module
CN106918727A (en) A kind of automatic plug line test device
CN101793937A (en) Wire automatic control system for electric control cabinet and detection method thereof
CN208110030U (en) A kind of communication test plate of ammeter communication module
CN209248512U (en) Multichannel flash chip test device
CN115856573B (en) PD protocol test system and method for chip mass production test
CN105430678B (en) The method and device of PTN device interface testing
CN217766789U (en) Electric power secondary cable core line device
CN109542706A (en) A kind of connector detection method, device, equipment and system
CN206684268U (en) A kind of efficient PCB test devices
CN102724085B (en) EOC (Ethernet over coaxial cable) product performance testing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110727

Termination date: 20130410