Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Serial port debugging tool and method

A serial port debugging and serial port technology, applied in the automation application field of serial port commands, can solve the problems of low portability, complicated setting and operation, and complicated program implementation, and achieve the effect of simplifying the manual input process and reducing the serial port setting steps.

Inactive Publication Date: 2012-07-04
MITAC COMP (SHUN DE) LTD
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, using the HyperTerminal that comes with the Windows operating system is cumbersome to set up and operate.
[0004] In addition, due to frequent interactive operations during operation, relevant instructions must be input only when the serial port receives data, and one is sent back one by one, and relevant instructions must be manually input when sending data through the serial port, which is inefficient and not suitable for automation and Batch job requirements
[0005] Of course, there are other serial port debugging methods in the industry, such as adding certain hardware support and combining programming to realize serial port debugging. Although the degree of automation is improved, this method is costly and the program used is more complicated to implement. , the portability is not high, and there is no universality, so it has not been widely used
[0006] Therefore, the existing serial port debugging method needs to be improved and developed.

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
  • Serial port debugging tool and method
  • Serial port debugging tool and method
  • Serial port debugging tool and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] A serial port debugging tool of the present invention is installed on a host computer for serial port debugging. Before debugging, first connect the serial port 20 on the side of the lower computer with the serial port 10 on the side of the upper computer with a serial port connection cable, and then start the upper computer respectively. The PC on the side (not shown in the figure), and the target machine on the side of the lower computer.

[0042] see figure 1 , a kind of serial port debugging tool of the present invention is by serial port setting module 30, is used for carrying out serial port selection and setting serial port after starting this serial port debugging tool, comprises common serial port setting options such as setting COM port, baud rate and data bit length ; After the serial port setting is completed, the serial port on / off selection module 40 is selected as an open state, thereby opening the serial port function.

[0043] The intelligent command e...

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 invention provides a serial port debugging tool and method. The serial port debugging tool comprises a serial port setting module, a serial port opening / closing selection module, an automatic debugging starting / stopping module, a first configuration module and an automatic loading module, wherein the first configuration module is used for storing data / instructions needed to be automatically executed; the automatic loading module is used for automatically inputting the data / instructions needed to be automatically executed in the first configuration module to a serial port; the instructions needed to be automatically executed are input to the serial port when the automatic debugging starting / stopping module is in a starting state, whether the data / instructions are executed or not is judged according to a condition needed to be judged, and the whole process is automatically executed without being operated by any person. By using the serial port debugging tool and method provided by the invention, the serial port setting step can be simplified, an intelligent instruction input function can be achieved, and data output by the serial port can be automatically detected, so that the automatic test requirement is met.

Description

【Technical field】 [0001] The invention relates to the automation application field of serial port instructions, in particular to a serial port debugging tool and method. 【Background technique】 [0002] In the embedded system development or maintenance process, corresponding performance debugging is required, and debugging the serial port is an important means to realize this process. In order to ensure that the serial ports work effectively, it is necessary to perform functional tests and corresponding debugging on each serial port. Usually, the target computer containing the serial port to be debugged is called the lower computer, and the corresponding host computer (PC) is called the upper computer. At present, the commonly used method for debugging the serial port is to directly use the general-purpose serial interactive software, such as the "Hyper Terminal" program provided in the Windows operating system. The specific method is to first connect the debugging serial po...

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 Applications(China)
IPC IPC(8): G06F11/267
Inventor 杨斌
Owner MITAC COMP (SHUN DE) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products