VirtualBox

Opened 13 years ago

Closed 8 years ago

Last modified 7 years ago

#8964 closed defect (obsolete)

Software problem with serial port

Reported by: Nike_spb Owned by:
Component: uart Version: VirtualBox 4.0.6
Keywords: serial port Cc:
Guest type: Windows Host type: Windows

Description (last modified by aeichner)

Hello! My host is Win 7 64b, Intel Core i5 2400 3.1 GHz, 4 Gb RAM. I have successfully set up serial port on my vm (Win XP 32b) as described in different topics: Port1: Checked Port Number: COM1 (also tried COM2, COM3, COM4) Port Mode: Host Device Port/File Path: COM1 (tried others, see further)

The problem is in connecting to devices via com port. It's not a physical problem, because I've tried to use pci2com controller, usb-rs232 adapter and on-board com port. Settings are: 9600 / 8 / odd / 1 / no flow control. I have to use a monitoring program to log what's happening with com port (see all attachments, except vbox.log). I have used 2 different programs OIL-DS 1.3, T-PDS32 for Windows 2.21. OIL-DS 1.3 always works fine. T-PDS32 doesn't work.

Why is this a virtualbox problem?

1) T-PDS32 works great on any other PC (not virtual)

2) T-PDS32 establishes a connection with a PLC after the settings of the com port have been reset by downloading (or trying to) something via this port by another software - OIL-DS. My guess is that it somehow resets port's parameters and after that T-PDS can work for some time. After reconnecting - again connection problem. See the log file tpds_oil_tpds.txt - there I've tried to connect using T-PDS (no success), then OIL-DS, then T-PDS again (successfully).

3) I've tried to establish the connection with com port using OIL-DS both on host and on vm using exactly the same settings. The behaviour is different (see host_log and vm_log files).

In whole I think that means:

1) it's a software problem

2) virtualbox somehow modifyes the data which is send to com port (and in result some programs can work unstable)

Looking forward to your help. Thank you.

Attachments (4)

VBox.log (74.9 KB ) - added by Nike_spb 13 years ago.
vbox log
tpds_oil_tpds.txt (60.4 KB ) - added by Nike_spb 13 years ago.
Trying to connect using T-PDS - OIL-DS - T-PDS
host_log.txt (2.9 KB ) - added by Nike_spb 13 years ago.
OIL-DS standart connecting on host
vm_log.txt (13.4 KB ) - added by Nike_spb 13 years ago.
OIL-DS standart connecting on vm

Download all attachments as: .zip

Change History (7)

by Nike_spb, 13 years ago

Attachment: VBox.log added

vbox log

by Nike_spb, 13 years ago

Attachment: tpds_oil_tpds.txt added

Trying to connect using T-PDS - OIL-DS - T-PDS

by Nike_spb, 13 years ago

Attachment: host_log.txt added

OIL-DS standart connecting on host

by Nike_spb, 13 years ago

Attachment: vm_log.txt added

OIL-DS standart connecting on vm

comment:1 by Nike_spb, 13 years ago

Anyone here?

comment:2 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if this is still relevant with a recent VirtualBox release.

comment:3 by joho68, 7 years ago

This, unfortunately, is still a major issue running VirtualBox 5.x under Windows 10 (64). Data is lost and/or stuck, and the "COM port" handling is sensitive to XON/XOFF (software flow control). All applications in the chain are requesting ONLY hardware flow control (CTS/RTS) and the machine is way powerful. Running the exact same set-up under VMware Workstation Player 12 works great. Windows 10 Host, FreeDOS Guest, FOSSIL (COM) driver in FreeDOS, NetSerial (Virtual Modem) in Windows.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use