Page 1 of 1

Serial Port Issues

Posted: 25. Jun 2013, 10:46
by ptoddy
Hi

Hoping someone can help.

I have identical machines setup, one as vmware and one as virtual box. I am trying to use a piece of Siemens software to communicate with a serial device via the serial port. Using the vmware machine it works perfectly but using the virtualbox it doesn't work at all. I have attached a serial monitor dump for both machines to see if anyone can tell me if it is possible to change any settings on the virtual box to make it work.

Virtual box version 4.2.12 with Windows XP SP2 installed and serial port enabled, Port Number - COM1, Port Mode - Host Device, Port/File Path - COM1.

Thanks in advance for any advice

Kind regards,

Paul

Re: Serial Port Issues

Posted: 25. Jun 2013, 13:01
by mpack
Your two dumps show different baud rates and parity. RS232 does not auto-adapt, you must manually configure both ends of the channel identically. Besides having a different bit rate, your VBox config is set for 7 data bits and no parity, which in my experience is highly unlikely to be correct. Your VMWare config is set for 8 data bits no parity, which is usually the correct setting unless the spec says otherwise.

Re: Serial Port Issues

Posted: 25. Jun 2013, 13:41
by ptoddy
thanks for the reply mpack. If you look further down the serial dump for the Virtual Box you will see it changes to 8, None, 1