VSPD virtual serial port software installation and use


foreword

Sometimes we need to debug the serial port but there is no hardware device around us, then we can use the virtual serial port software to simulate the serial port to realize the data sending and receiving function. Function, convenient to save time when used later.


1. Software installation

1、Configure Virtual Serial Port Driver(VSPD)

①. First download the Configure Virtual Serial Port Driver (VSPD) software
link: https://pan.baidu.com/s/11aGc2aHGUew5QZ0XhaWXJw
Extraction code: rmd7

②. When installing, pay attention to select the path in the D drive, and select next for other steps.

③. Cracking: Copy vspdconfig.exe and vspdctl.dll in the Cracked directory to the VSPD software installation directory for replacement
insert image description here

2. Serial debugging assistant

Just download one from the app store
insert image description here

2. Use steps

1. Analog serial port

①. After installing VSPD, first select the port number you want to virtualize, and click "Add Port". Do not conflict with existing ports. When adding, it is added in pairs, because one is for receiving and the other is for sending
insert image description here
② After virtualizing the ports, you can see the newly virtualized COM8 and COM9 on the left. At this time, the two ports are not occupied and are inactive. state.
insert image description here

2. Configure the serial port

Open the two windows of the serial port debugging assistant, set the baud rate, parity bit, data bit, stop bit and other parameters of COM8 and COM9, and then click start to see the configured serial port parameters on the left.
insert image description here

3. Sending and receiving test

Here, send data through COM8, receive data through COM9, send data through COM9, receive data through COM8, and realize mutual sending and receiving between two ports.

①, COM8 (send) —> COM9 (receive)

Fill hello world! in the COM8 send buffer, and then click "Send", you can see the number of bytes sent, and you can see the data sent by COM8 in the COM9 receive buffer.
insert image description here

②, COM9 (send) —> COM8 (receive)

Fill in be the best!!! in the COM9 sending buffer, and then click "Send", you can see the number of bytes sent, and you can see the data sent by COM9 in the COM8 receiving buffer.
insert image description here

So far, the functions of using VSPD virtual serial port software to realize serial port sending and receiving have been verified.


My qq: 2442391036, welcome to communicate!


Guess you like

Origin blog.csdn.net/qq_41839588/article/details/131936554