Accessing a Prolific USB-to-Serial cable
Posted: 28. Dec 2012, 00:50
Hello,
I'm trying hard to set up an embedded development environment which expect a Ubuntu as a host(dev) computer.
Its workflow requires an RS-232C communication. So, I would like to make VirtualBox to recognize a Prolific USB-to-Serial cable.
On a Mac host, the Prolific cable is recognized as /dev/tty.usbserial. On a Mac, I tried a ZTerm to connect to a target board through the cable and worked. So, there is no question that /dev/tty.usbserial works.
However, when I tried to make the VirtualBox recognize it, it doesn't seem to work.
On "Ports" setting of a virtual machine, the Serial Ports tab presents "Enable Serial Port"
Under it, there are Port Number, IRQ and I/O Port, Port Mode and Port/File Path.
For Port Mode, I chose "Host Device", because I would like to utilize the actual H/W.
In POrt/file path, I typed /dev/tty.usbserial.
But then, if the virtual machine is launched, it hangs at launching the virtual machine.
Do you think the setting is correct?
For obvious settings like IRQ = 4 and i/O Port 0x3F8 are not the ones which need to be checked.
Or.. can't we just use Prolific USB to Serial?
I tried with Windows version of VirtualBox also, but it didn't seem to work either.
I put COM6 in that case, because the Prolific cable is recognized as or tied with COM6.
If there are any people who successfully use Prolific USB to Serial cable with VirtualBox, can you explain the right setting?
Thank you.
I'm trying hard to set up an embedded development environment which expect a Ubuntu as a host(dev) computer.
Its workflow requires an RS-232C communication. So, I would like to make VirtualBox to recognize a Prolific USB-to-Serial cable.
On a Mac host, the Prolific cable is recognized as /dev/tty.usbserial. On a Mac, I tried a ZTerm to connect to a target board through the cable and worked. So, there is no question that /dev/tty.usbserial works.
However, when I tried to make the VirtualBox recognize it, it doesn't seem to work.
On "Ports" setting of a virtual machine, the Serial Ports tab presents "Enable Serial Port"
Under it, there are Port Number, IRQ and I/O Port, Port Mode and Port/File Path.
For Port Mode, I chose "Host Device", because I would like to utilize the actual H/W.
In POrt/file path, I typed /dev/tty.usbserial.
But then, if the virtual machine is launched, it hangs at launching the virtual machine.
Do you think the setting is correct?
For obvious settings like IRQ = 4 and i/O Port 0x3F8 are not the ones which need to be checked.
Or.. can't we just use Prolific USB to Serial?
I tried with Windows version of VirtualBox also, but it didn't seem to work either.
I put COM6 in that case, because the Prolific cable is recognized as or tied with COM6.
If there are any people who successfully use Prolific USB to Serial cable with VirtualBox, can you explain the right setting?
Thank you.