Simple use of virtual serial port software and serial debugging assistant

Source: Internet
Author: User
Tags port number

In order to solve the limitation of the number of physical serial ports, the virtual serial port software should be used as far as possible in serial debugging experiment. VSPD (Virtual Serial Ports Driver) is a virtual serial port software designed by Eltima software company, which is easy to use and stable. At the same time, the use of virtual serial port is also a good way to avoid risk, especially for the novice, should now be the virtual serial environment to debug their code, after successful connection to the physical serial port, link physical serial port before you must check the connection is correct, and the universal table to detect whether there is a short circuit, otherwise very easy to burn the serial

This example uses the Serial debugging tool download address: http://www.darkwood.me/serialport/download/

The virtual serial port software can download the trial version on the official website of Eltima.

Install the above two software first, the same way as the general Windows software.

After the installation is complete, open the virtual serial port software vspd, as shown in the following figure:


VSPD will automatically recognize that the computer has several physical serial ports, such as the machine has only one physical serial port COM1. In the right-side port management paging, add the virtual port. Virtual port must be in pairs appear, such as CMO2 and COM3, its number by VSPD automatic detection of local physical serial port resources, automatically for the virtual serial port automatic arranging. Click the "Add Pair" button to add a virtual serial port to your computer, as shown in the following figure:


You can see the successful addition of the virtual serial port on the right side of vspd, and then open the Serial Debugging window to change the window number to COM2, as shown in the following figure,


Then open a Serial debugging window (you can open multiple serial debugging windows at the same time), change the port number to COM3, as shown in the following figure:


Two Serial port debugging window of the serial port settings to maintain the default settings, accept settings and send settings selected in ASCII format to send and accept, at this time two serial port is closed, click on the right of the "open" button, open COM2 and COM3 serial port, start communication.

In the COM2 port, enter "123456789A" in the Send field, and then click Send, in the receiving area of the COM3 Port can successfully receive the data from the COM2 port, as shown in the following figure:


Similarly, the COM3 can also be sent COM2 receive, as shown in the following figure:


After the test stop sending off the serial port, develop good habits. COM2 and COM3 Port if all can achieve data transmission, indicating that the entire experimental environment installed correctly, you can enter a higher level of experiments.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.