Altera Forum






Threads: 19,055
Posts: 77,931
Members: 29,419
Welcome to our newest member, The_General
User
Reputation
9142
7620
5941
4200
3030
2197
2056
1706
1388
1300




 
Register
Quick Search
 
  Altera Forums > Device and Tools Related > Quartus II and EDA Tools Discussion

Quartus in a virtual machine

Reply
 
Thread Tools Display Modes
  #1  
Old June 7th, 2008, 07:45 PM
alt1000's Avatar
alt1000 alt1000 is offline
Altera Teacher
 
Join Date: Oct 2007
Posts: 73
Rep Power: 1182
alt1000 has a spectacular aura aboutalt1000 has a spectacular aura about
Default Quartus in a virtual machine

Hi, I have quartus web edition running on my linux machine using a window xp virtual machine. The VM that I am using is VirtualBox. I was able to get the usbblaster to "bridge" and be recognized enough by windows to request and install the usb blaster drivers. However when I try to do an auto detect on my cyclone 3 starter board I just get a messagebox window with "Unable to scan device chain. Can't scan JTAG chain". Quartus on the VM does seem to find the USB blaster, but seems unable to use it. Does anyone have any insight? Maybe I could just build sof files on the virtual machine and download to the cyclone 3 with some linux utility ? Any insight appreciated.
Reply With Quote
  #2  
Old June 9th, 2008, 09:10 AM
moemar26 moemar26 is offline
Altera Beginner
 
Join Date: Jun 2008
Posts: 3
Rep Power: 834
moemar26 is on a distinguished road
Default Re: Quartus in a virtual machine

I've had decent luck with usb devices using VMWare Workstation (or player if you just need to run virtual machines). Also, a linux version of quartus would probably solve your problems.
Reply With Quote
  #3  
Old June 9th, 2008, 06:29 PM
alex_dubinsky alex_dubinsky is offline
Altera Scholar
 
Join Date: Jun 2008
Posts: 24
Rep Power: 848
alex_dubinsky is on a distinguished road
Default Re: Quartus in a virtual machine

yes, you can use the command-line programmer under linux without a quartus license. I'm using this to do the reverse of you, running the nios II IDE in a linux guest on a vista host. USB connection is working fine for me inside virtualbox. (in fact if windows sees and installs the driver, it's most probably your quartus settings that are off)
Reply With Quote
  #4  
Old June 9th, 2008, 06:42 PM
alex_dubinsky alex_dubinsky is offline
Altera Scholar
 
Join Date: Jun 2008
Posts: 24
Rep Power: 848
alex_dubinsky is on a distinguished road
Default Re: Quartus in a virtual machine

the tool is quartus_pgm, inside /opt/altera8.0/quartus/bin/

its man file is a bit nonstandard. make sure to take a look at:
quartus_pgm --help
quartus_pgm --help=mode
quartus_pgm --help=operation
Reply With Quote
  #5  
Old June 10th, 2008, 11:31 PM
tommythorn tommythorn is offline
Altera Scholar
 
Join Date: Jun 2007
Posts: 49
Rep Power: 1219
tommythorn is an unknown at this point
Default Re: Quartus in a virtual machine

I've run every version of Quartus since version 6 in a VMware VM, and since version 7 on VMware Fusion on Mac OS X which any problem at all, including SignalTap etc.

I suspect that VirtualBox simply doesn't have a good enough USB handling.

I tried to get Quartus running under CrossOver (a commercial version of Wine), but it basically didn't work for me.

Tommy
Reply With Quote
  #6  
Old July 26th, 2008, 06:36 PM
hans_wurst hans_wurst is offline
Altera Beginner
 
Join Date: Jul 2008
Posts: 2
Rep Power: 782
hans_wurst is on a distinguished road
Default Re: Quartus in a virtual machine

at the moment i'm having the same problem running the quartus II 8.0 programmer in a windows XP virtualbox guest-OS. in an other VM which runs a ubuntu 7.10 (yeah i konw, pretty old) the USB bridge works well. therefor i think it's more likely that winXP resp. quartus II has a problem with the bridged usb-interface.

Last edited by hans_wurst : July 26th, 2008 at 06:41 PM.
Reply With Quote
  #7  
Old July 29th, 2008, 08:23 PM
alex_dubinsky alex_dubinsky is offline
Altera Scholar
 
Join Date: Jun 2008
Posts: 24
Rep Power: 848
alex_dubinsky is on a distinguished road
Default Re: Quartus in a virtual machine

The virtualbox USB driver definately does suck, but I've never had windows/quartus detect the Blaster but not be able to use it. The problem's always that the USB Blaster somehow disappears (I think the screensaver sets this off) and then i have to disconnect inside VB, disconnect the cable, reconnect the cable, and reconnect inside VB. Ugh. I should switch to vmware but VB is so damn good otherwise...
Reply With Quote
  #8  
Old July 30th, 2008, 01:23 AM
vjAlter vjAlter is offline
Altera Guru
 
Join Date: Jan 2008
Posts: 225
Rep Power: 1248
vjAlter is pretty smartvjAlter is pretty smartvjAlter is pretty smartvjAlter is pretty smart
Default Re: Quartus in a virtual machine

I find it much easier to use the standalone programmer on a physical host. And connect from the Quartus virtual machine to the jtag server using TCP/IP. Like this you don't install any USB drivers on the virtual machine at all.
Reply With Quote
  #9  
Old July 30th, 2008, 05:29 AM
hans_wurst hans_wurst is offline
Altera Beginner
 
Join Date: Jul 2008
Posts: 2
Rep Power: 782
hans_wurst is on a distinguished road
Default Re: Quartus in a virtual machine

i agree with you alex! VB is indeed a pretty good tool but what does the procedure you explained do? are you able to use the usb blaster after this procedure? @vjAlter: thats a quite a good idea, is there any tutorial available which shows how to setup a standalone programmer with JTAG-server in linux?
Reply With Quote
  #10  
Old July 30th, 2008, 10:56 AM
alex_dubinsky alex_dubinsky is offline
Altera Scholar
 
Join Date: Jun 2008
Posts: 24
Rep Power: 848
alex_dubinsky is on a distinguished road
Default Re: Quartus in a virtual machine

Yes, I'm able to use it again. If I don't follow this procedure, if I just try to disconnect/reconnect the USB Blaster inside VirtualBox's Devices menu to try to get the VM to detect it again it doesn't work and VB throws some sort of error dialog related to USB. After that, I must restart the whole computer to get it to stop throwing that dialog. This is on a 32bit Vista SP1 host. On Vista 64bit I get a BSOD when I try USB.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual pins in Quartus baldur Quartus II and EDA Tools Discussion 3 January 13th, 2010 09:41 AM
Can't display state machine states -- register holding state machine bit "|c mikedsouze General Altera Discussion 4 January 7th, 2010 06:44 AM
"Could not create the java virtual machine" error trieutan Quartus II and EDA Tools Discussion 3 October 20th, 2009 05:07 PM
virtual FPGA mik General Altera Discussion 0 April 9th, 2008 10:24 AM
Quartus State Machine Editor joe306 Quartus II and EDA Tools Discussion 0 February 20th, 2008 12:11 PM


All times are GMT -8. The time now is 11:45 AM.