Virtual Serial Port
A virtual serial port is a serial port simulated by a computer through software. When other design software uses the serial port, you can call the virtual serial port to simulate and check the correctness of the design. First, you need to install the software for setting the virtual serial port. There are many software for setting virtual serial ports on the Internet. I use VSPD, which can be tried for 1 month. After the trial period, the software will not be usable, but don't worry, the virtual serial port you set will not disappear and you can continue to use it.
Settings interface:
I set COM3 and COM4. The software can only be set in pairs, mainly because one party can monitor the other party during communication. If only one virtual serial port is set, if you use COM3 to send and receive data, you can't verify the correctness and source of what you send and receive. This is the cleverness of the software. When setting up the software, connect the two virtual serial ports, so that the sending and receiving can be monitored. You can see from the device manager
Two virtual serial port connection methods:
In this way, you can use the serial port debugging assistant to debug serial port communication. From the figure below, you can see that the data sent by COM3 reaches the receiving area of COM4, and the data sent by COM4 reaches the receiving area of COM3, thus realizing the interconnection between COM3 and COM4.
At this point, the virtual serial port has been set up. For other design software, there is no difference between the virtual serial port and the ordinary serial port. For example, the serial port debugging assistant uses the virtual serial port in the same way as the ordinary serial port.
Previous article:The use of microcontroller virtual serial port in Proteus
Next article:How to learn MCU? Steps to learn MCU
Recommended ReadingLatest update time:2024-11-17 02:50
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- [NXP Rapid IoT Review] In the second week, I can finally open Rapid IoT Studio!
- I can't see the comments since yesterday.
- Siemens Industrial Automation Data Collection (September 20, 2019)
- FPGA realizes pipeline structure FFT processor
- Multicast Network Design Based on C6000 DSP NDK
- Help: Cost-saving replacement for two touch switches
- CC2640R2: A brief analysis of BLE pairing mechanism and implementation of custom pairing password
- Compatibility of common peripherals of CH32F103 and STM32 peripheral programs
- Solution to the problem that STM32G474 DAC does not output using DMA
- Calling Matlab Data in CCS