Unlock instant, AI-driven research and patent intelligence for your innovation.

Test approach for debugging serial port function with single board and system thereof

A serial port and single-board technology, which is applied in the field of testing methods and systems for debugging serial ports, can solve the problems of complex test implementation, high implementation cost, and complex implementation, and achieves low test cost, simple and reliable technical implementation, and high degree of automation. Effect

Active Publication Date: 2009-07-08
SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the shortcomings of this patent application are: additional hardware circuits are required, such as main control modules, communication modules, etc., and the test implementation is relatively complicated. Secondly, it is not suitable for batch function testing of debugging serial ports in the production process.
[0008] To sum up, the current test methods for debugging serial ports, one is simple to implement, but not suitable for batch testing in production; the other is complex to implement, requiring the introduction of complex software and hardware systems, and the implementation cost is high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test approach for debugging serial port function with single board and system thereof
  • Test approach for debugging serial port function with single board and system thereof
  • Test approach for debugging serial port function with single board and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Below in conjunction with accompanying drawing, the present invention will be described in further detail.

[0026] The debugging serial port test method of the present invention only needs to write a test program for the upper computer, and the lower computer does not need to do any processing, but uses the debugging serial port of the lower computer as a super terminal to perform the test by analyzing the input command.

[0027] The functional testing method of debugging serial port of the present invention mainly comprises the following steps:

[0028] Step 1: Connect the debugging serial port on the target board and the serial port of the host computer to each other with cables;

[0029] Step 2: Start the upper computer and open the corresponding serial port to configure it;

[0030] Step 3: Start the target board and initialize the debugging serial port;

[0031] Step 4: The upper computer sends a character string that the target board cannot recognize to the low...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The utility model discloses a testing method and a system to debug the serial port via the single board. The method comprises the procedures as below: connect the debug serial ports on the target single board with the serial ports on the upper computer via the cables; start up the upper computer and turn up the corresponding serial ports for configuration; start up the target single board and initialize the debug serial ports; the upper computer can transmit the character strings unidentified by the target single board to the lower computer via the debug serial ports; the upper computer can wait to receive. Within the preset time period, the upper computer can make the judgment upon whether the lower computer can return the corresponding character strings for analysis; if the character strings can return, the test is successfully done, if not, the test fails. The test results are displayed on the indication unit by the upper computer. The testing method and the system of the utility model have the advantages of higher automation, easy and reliable technology as well as lower testing cost, which are applicable to the functional test of the debug serial ports in the batch quantity.

Description

technical field [0001] The invention relates to a communication test method and system thereof, in particular to a test method and system for debugging a serial port. Background technique [0002] In the embedded operating system, the debugging serial port is usually used for monitoring program download and single-board debugging, especially when the single board or its system fails, the debugging serial port is usually an important means to find the problem. At present, various CPU debugging serial port implementations are relatively mature. For example, the SMCx port of Motorola's communication processor MPC82XX, which is widely used in the communication field, can be used as a debugging serial port. [0003] In the R&D and design of electronic design and manufacturing enterprises, the debugging serial port is usually led out from the CPU small system. When the CPU system is debugging and the single board is mass-produced, it is usually necessary to perform a functional te...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/26
Inventor 欧阳奎张永华黄志军
Owner SHANGHAI MUNICIPAL ELECTRIC POWER CO