Debugging serial port and data serial port multiplexing method and device and controller

A technology of serial port data and data string, which is applied in the computer field

Pending Publication Date: 2021-01-22
成都菁蓉联创科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is no serial port control method in the prior art that can realize the above functions conveniently and quickly.

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
  • Debugging serial port and data serial port multiplexing method and device and controller
  • Debugging serial port and data serial port multiplexing method and device and controller
  • Debugging serial port and data serial port multiplexing method and device and controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other implementations obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.

[0042] figure 1 It is a schematic flowchart provided by an embodiment of a method for multiplexing a debugging serial port and a data serial port in the present invention.

[0043] like figure 1 As shown, a method for multiplexing a debugging serial port and a data serial port described in this embodiment includes:

[0044] S11: Obtain the serial port type required by the user;

[0045] Further, the type of the serial port required by the user includes: a de...

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 relates to a debugging serial port and data serial port multiplexing method and device and a controller. The debugging serial port and data serial port multiplexing method comprises thefollowing steps: acquiring a serial port type required by a user; comparing the serial port type required by the user with the current type of the serial port; and when the serial port type required by the user is inconsistent with the current type of the serial port, switching the type of the serial port into the serial port type required by the user. According to the invention, under the condition of serial port resource shortage in an embedded system, data serial port and debugging serial port function multiplexing can be realized on one hardware serial port device, i.e., the serial port can be seamlessly switched between the data serial port function and the debugging serial port function simply and quickly; and according to the method, the integrity and correctness of the data on theserial port can be ensured in the switching process of the data serial port function and the debugging serial port function.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method, device and controller for multiplexing a debugging serial port and a data serial port. Background technique [0002] Embedded systems are widely used in industrial Internet, intelligent manufacturing, ubiquitous Internet of Things and other fields. Embedded systems are very sensitive to hardware resources due to their cost, size and other limitations. For example, the number of hardware serial devices and network port devices is very limited. Manufacturers of embedded products will maximize the use of hardware devices, such as selecting all hardware serial devices as data serial ports for data transmission. At the same time, debugging through hardware serial devices is the most important and even the only way for embedded Linux developers, testers and system maintainers to develop, test and maintain embedded systems. When all hardware serial ports on an embedded dev...

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/22G06F13/40G06F13/42
CPCG06F11/221G06F11/2273G06F13/4068G06F13/4282G06F2213/0002
Inventor 王大维张昆郑国玲
Owner 成都菁蓉联创科技有限公司
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
Try Eureka
PatSnap group products