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

Device and method for realizing serial port packet capture based on single-chip microcomputer

A technology of single-chip microcomputer and serial port, which is applied in the field of devices based on single-chip microcomputer to realize serial port packet capture, which can solve the problems of high cost of serial port data packet capture, expensive logic analyzer, and few hardware serial port packet capture tools, etc., to achieve convenient communication analysis and convenient Time and content analysis, cost reduction effect

Active Publication Date: 2017-07-28
WUHAN JINGCE ELECTRONICS GRP CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there are many software serial port capture analysis tools on the market, but there are few hardware serial port capture tools. Technicians generally use logic analyzers to analyze serial port data waveforms to obtain data information, and logic analyzers are expensive, resulting in serial port data capture. The cost of the package is high, and the output data after analysis does not have serial number and time stamp, which is not convenient for real-time analysis of serial communication data

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
  • Device and method for realizing serial port packet capture based on single-chip microcomputer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:

[0023] Such as figure 1 The shown device for realizing serial packet capture based on a single-chip microcomputer includes a first serial communication device 1, a second serial communication device 2, a first universal asynchronous transceiver transmitter 3 and a second universal asynchronous transceiver transmitter 4, wherein the first serial port The communication serial port of the communication device 1 is connected to the first UART 3, and the communication serial port of the second serial communication device 2 is connected to the second UART 4, and the output end of the first UART 3 passes through the first UART A communication wire 5 is connected to the input end of the second UART transmitter 4, and the input end of the first UART transmitter 3 is connected to the output end of the second UART transmitter 4 through the second communica...

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 discloses a device for achieving serial port package capturing based on a single chip microcomputer. First serial port communication equipment is connected with a first universal asynchronization receiving-transmitting transmission device. Second serial port communication equipment is connected with a second universal asynchronization receiving-transmitting transmission device. The output end of the first universal asynchronization receiving-transmitting transmission device is connected with the input end of the second universal asynchronization receiving-transmitting transmission device through a first communication lead wire. The input end of the first universal asynchronization receiving-transmitting transmission device is connected with the output end of the second universal asynchronization receiving-transmitting transmission device through a second communication lead wire. A first universal asynchronization receiving-transmitting transmission interface of the single chip microcomputer is connected into the first communication lead wire. A second universal asynchronization receiving-transmitting transmission interface is connected into the second communication lead wire. A third universal asynchronization receiving-transmitting transmission interface is connected with a third universal asynchronization receiving-transmitting transmission device. Serial port receiving-transmitting data are captured directly from a serial port data flow hardware part, each group of data generate receiving-transmitting serial numbers and timestamps automatically, and a user can analyze time and content of communication conveniently.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a device and method for realizing serial port packet capture based on a single-chip microcomputer. Background technique [0002] Serial port communication is a relatively common communication method. In the case of communication debugging and unclear communication protocol, etc., the serial port packet capture tool can be used to analyze the communication data. At present, there are many software serial port capture analysis tools on the market, but there are few hardware serial port capture tools. Technicians generally use logic analyzers to analyze serial port data waveforms to obtain data information, and logic analyzers are expensive, resulting in serial port data capture. The cost of the package is high, and the output data after parsing does not have serial numbers and time stamps, which is not convenient for real-time analysis of serial communication data. Contents...

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): G06F13/38G06F13/42
Inventor 彭骞赵正梁红军秦明祁炎陈瑶沈亚非陈凯
Owner WUHAN JINGCE ELECTRONICS GRP CO LTD