Python-based serial port debugging method and debugging system
A debugging system and serial port debugging technology, which is applied in the direction of faulty hardware testing methods, faulty computer hardware, instruments, etc., can solve the problems of unintuitive data viewing and low debugging efficiency, and achieve short software development cycle, simple connection, Highly scalable effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] This embodiment proposes a method for debugging serial ports based on Python, such as figure 1 As shown, the host computer is used to provide power to the communication protocol conversion module through the USB interface, and then the product to be debugged is connected to the communication protocol conversion module through the communication interface, and the received communication data of the product to be debugged is processed by the communication protocol conversion module. conversion, and then send it to the communication protocol conversion module through the USB interface; use Python to write the human-computer interaction interface on the host computer, and when the host computer receives the communication data sent by the communication protocol conversion module, the communication data is analyzed and analyzed through the human-computer interaction interface. Visual display.
[0029] Principle of work: the above-mentioned purpose of the present invention can ...
Embodiment 2
[0031] This embodiment also proposes a debugging system, such as figure 1 , Figure 4 The above-mentioned Python-based serial port debugging method is used to debug the product to be debugged. The debugging system includes a communication protocol conversion module and a host computer connected to each other, and data is transmitted between the communication protocol conversion module and the host computer through a USB interface. Communication connection; the communication protocol conversion module is connected with the product to be debugged. The specific debugging effect is as follows Figure 4 shown.
Embodiment 3
[0033] This embodiment is based on the above-mentioned embodiment 2, in order to better realize the present invention, further, as figure 2 As shown, the communication protocol conversion module includes a single-chip microcomputer chip PL2303HX.
[0034] Other parts of this embodiment are the same as those of Embodiment 2 above, so details are not repeated here.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com