EmbeddedRelated.com
Forums

Rowley Crossworks, LPT port and VMware?

Started by mjames_doveridge June 20, 2009
Anyone out there tried running Crossworks in a VMware Workstation VM with a parallel-port JTAG? My new development machine has no LPT port, but I have a PCI LPT card in one of my old boxes in the 'machine graveyard' at the back of the shed. I could fit this and try to map it to the VM and run the JTAG, but the VMware documentation says that its parallel-port mapping is not fully implemented:

********************************************************
Currently, Workstation provides only partial emulation of PS/2 hardware. Interrupts that a device connected to the physical port requests are not passed to the virtual machine. Also, the guest operating system cannot use DMA (direct memory access) to move data to or from the port. For this reason, not all devices that attach to the parallel port are guaranteed to work correctly. Do not use parallel port storage devices in a virtual machine.
********************************************************

So, before I start couplng and screwing , anyone tried this combo?

Rgds,
Martin

An Engineer's Guide to the LPC2100 Series

> So, before I start couplng and screwing , anyone tried this combo?

I spent a fair amount of time a year or so ago trying to get VMWare working with LPT1 for my desktop CNC (since I could only get Mach3 to run properly in XP), and eventually gave up on it. Perhaps you'll have more success, but I think this combination doesn't work.

Kevin

Kevin Townsend wrote:
>> So, before I start couplng and screwing , anyone tried this combo?
>>
>
> I spent a fair amount of time a year or so ago trying to get VMWare working with LPT1 for my desktop CNC (since I could only get Mach3 to run properly in XP), and eventually gave up on it. Perhaps you'll have more success, but I think this combination doesn't work.
>
>
If it helps: USB devices are well supported in Vmware: they generally
work. Sometimes after some twiddling, and not always at the highest
speed. So my personal bet would be a USB-to-Parallel converter. Attach
it (logically) to the VM and it might work unless the driver tries to
access it via direct register access.

I had a good experience using Xen (instead of VMWare) with PCI cards.
Xen allows PCI-pass-through, so the virtual machine can use its usual
drivers to access the PCI device.

That all being said, I'd say a not-parallel-port JTAG device is probably
easier to make work.

Harald

The jtag will need to access the parallel port interface directly. The
USB-Parallel converter will not be a solution. Also, to implement the jtag
interface the software needs to switch the bits on the parallel port very
fast so I dont know if the vmware added delay will allow such use.

If the vmware parallel interface doesnt work, a native usb jtag interface
would be a better option.

On Sat, Jun 20, 2009 at 10:52 AM, Harald Kubota wrote:

> Kevin Townsend wrote:
> >> So, before I start couplng and screwing , anyone tried this combo?
> >>
> >
> > I spent a fair amount of time a year or so ago trying to get VMWare
> working with LPT1 for my desktop CNC (since I could only get Mach3 to run
> properly in XP), and eventually gave up on it. Perhaps you'll have more
> success, but I think this combination doesn't work.
> >
> > If it helps: USB devices are well supported in Vmware: they generally
> work. Sometimes after some twiddling, and not always at the highest
> speed. So my personal bet would be a USB-to-Parallel converter. Attach
> it (logically) to the VM and it might work unless the driver tries to
> access it via direct register access.
>
> I had a good experience using Xen (instead of VMWare) with PCI cards.
> Xen allows PCI-pass-through, so the virtual machine can use its usual
> drivers to access the PCI device.
>
> That all being said, I'd say a not-parallel-port JTAG device is probably
> easier to make work.
>
> Harald
>
>
>