EmbeddedRelated.com
Forums

Windows 7 32-bit and IAR MSP430 workbench IDE

Started by one00100100 October 22, 2012
Peter,

Thanks for the reply. My last job was on linux but that was 12 years ago and since I'm now 62, I doubt if I will ever go back.
Now I code embedded devices in c and c++ and am forced to develop configuration and testing programs in a Windows environment.
I must admit that I still miss Emacs sometimes.....

Thanks again,
Mike Raines

________________________________
From: m... [mailto:m...] On Behalf Of Peter Johansson
Sent: Tuesday, October 23, 2012 3:00 PM
To: m...
Subject: Re: [msp430] Windows 7 32-bit and IAR MSP430 workbench IDE

On Tue, Oct 23, 2012 at 8:59 AM, Joe Radomski > wrote:

> I have found the best way to run a virtual machine with real hardware is to use VMware and run a virtual XP session... it works great with all sorts of USB drivers that seem to have trouble on win 7 and other virtual machines.. Be warned that VMware must take over exclusive use of the USB ports while running..

I am a Unix (primarily OSX) person and prefer to do things natively in
a Unix environment. But when Windows is the only option, I have had
the best results running Windows XP in a VM. I use VMware as well,
but I hear that both Parallels and VirtualBox are viable options.

I use a pre-patched and stripped installer made with nLite to produce
a lightweight base install. I then fork this base image and install
only the tools required for a particular toolset of project. Every
toolset/project gets its own isolated VM.

I have found that this approach leads to a *drastic* reduction in the
number of headaches.

-p.



Beginning Microcontrollers with the MSP430

"I have found USB with VirtualBox running on a Windows host to be a bit
flaky"

IAR works fine with USB connection into VirtualBox for Windows host.
Tested with SEGGER clone and TI ARM launchpad. Both OK.

On 10/23/12, David Brown wrote:
> On 23/10/12 22:42, Joe Radomski wrote:
>> I am not a mac owner so I havent tried parallels, overall virtual box is
>> a good product but found it doesn't do well with providing real access
>> to the USB ports. I have some hardrive recovery hardware that the only
>> way I can get it to work is to use VMware on xp SP3 (or a real xp box)
>>
>> vmware (at least on a windows box) allows you to take over a port..
>> I have found USB with VirtualBox running on a Windows host to be a bit
> flaky - but I haven't tried it for a while, and there have been many big
> improvements in VB since I last used it on Windows.
>
> Running on a Linux host, I have had no problems with USB in VirtualBox.
> I use it daily, with both Linux and Windows guests.
>
> It is a long time since I've tried VMWare, so I can't judge it - but I
> started using VB with about version 2, and haven't looked back.
>
> (I haven't used IAR tools, and my msp430 tools are all quite old, so I
> have no experience at this particular setup.)
On 24/10/2012 03:21, Alex Belov wrote:
> "I have found USB with VirtualBox running on a Windows host to be a bit
> flaky"
>
> IAR works fine with USB connection into VirtualBox for Windows host.
> Tested with SEGGER clone and TI ARM launchpad. Both OK.
>

My point is just that problems with USB to VB on a Windows host are not
unknown - either to me or to others - but I have never had any trouble
when using Linux as the host.

My experience with VB on a Windows host is that if you use a USB device
that has no drivers or programs associated with it on the host, then it
usually works perfectly. But if there are drivers installed in the host
system, then the Windows host can get confused when passing it over to
VB as it has to switch from the host drivers to the VB passthrough
drivers. So if you are planning on using devices within VB machines
(and this probably applies to VMWare too), you minimise the chances of
problems if you avoid installing drivers in the host system.

But if you are building a new machine as a host for virtual machines,
and you have the choice, then I strongly recommend Linux as the host
machine.
> On 10/23/12, David Brown > > wrote:
> > On 23/10/12 22:42, Joe Radomski wrote:
> >> I am not a mac owner so I havent tried parallels, overall virtual box is
> >> a good product but found it doesn't do well with providing real access
> >> to the USB ports. I have some hardrive recovery hardware that the only
> >> way I can get it to work is to use VMware on xp SP3 (or a real xp box)
> >>
> >> vmware (at least on a windows box) allows you to take over a port..
> >>
> >
> > I have found USB with VirtualBox running on a Windows host to be a bit
> > flaky - but I haven't tried it for a while, and there have been many big
> > improvements in VB since I last used it on Windows.
> >
> > Running on a Linux host, I have had no problems with USB in VirtualBox.
> > I use it daily, with both Linux and Windows guests.
> >
> > It is a long time since I've tried VMWare, so I can't judge it - but I
> > started using VB with about version 2, and haven't looked back.
> >
> > (I haven't used IAR tools, and my msp430 tools are all quite old, so I
> > have no experience at this particular setup.)
> >
>

On Tue, Oct 23, 2012 at 4:42 PM, Joe Radomski wrote:

> I am not a mac owner so I havent tried parallels, overall virtual box is a good product but found it doesn't do well with providing real access to the USB ports.

This was definitely the case with older versions of VirtualBox, but I
hear things have gotten much better with the latest versions.

VMWare was the first to provide solid USB passthrough capabilities so
that is what I used when I was first making the migration to OSX a
number of years back. I have been happy with VMware so I have stuck
with it.

I generally recommend VirtualBox to people just getting started with
virtualization. If it gets the job done there is generally no need to
pop for a commercial implementation.

-p.
FYI with a windows host, the free versions of vmware products are all that most people need.  In fact I have a friend that works for them and he told me they purposedly do it this way as they test new features on the free versions and then move them to the premium version once its stable...
as to virtualbox I'll have to give it another look as well... Overall it seemed to work well with the exception of the USB passthrough..
 

>________________________________
>From: Peter Johansson
>To: m...
>Sent: Wednesday, October 24, 2012 12:59 PM
>Subject: Re: [msp430] Windows 7 32-bit and IAR MSP430 workbench IDE
>

>On Tue, Oct 23, 2012 at 4:42 PM, Joe Radomski wrote:
>
>> I am not a mac owner so I havent tried parallels, overall virtual box is a good product but found it doesn't do well with providing real access to the USB ports.
>
>This was definitely the case with older versions of VirtualBox, but I
>hear things have gotten much better with the latest versions.
>
>VMWare was the first to provide solid USB passthrough capabilities so
>that is what I used when I was first making the migration to OSX a
>number of years back. I have been happy with VMware so I have stuck
>with it.
>
>I generally recommend VirtualBox to people just getting started with
>virtualization. If it gets the job done there is generally no need to
>pop for a commercial implementation.
>
>-p.