Running TWO instances of avr studio and two jtags?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is it possible to run two instances of avr studio with two jtags on the same computer? (usb interfaced MKII jtags). I'm working on a project that has several mega avr processors (communicating via spi or ethernet) and we might need to set breakpoints on more than one cpu at a time. We could always just use two computers and a kvm to handle the issue, but it would be cleaner to just have two copies of avr studio run. Anybody ever try this?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Is it possible to run two instances of avr studio with two jtags on the same computer?
Wow.... A person who really enjoys pain :D Many people have enogh trouble trying to get 1 copy running without thinking about suicide....

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's possible to run several AVR Studio instances on the same machine, you can also use two JTAGICE mkIIs this way. You might have some problems with having the preferences stored though, depending on which Studio instance you quit first, but I don't think that should be a big problem.

If AVR Studio detects two JTAGICE mkIIs, you will be asked which one (serial number, see under the ICE) to use.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As an alternative, if you don't want the hassle of dealing with more than one copy on the same machine and you don't want extra hardware I'd investigate VMWARE. It allows virtual machines to be run (in this case simple win98 boxes would be usefull) and you could run a handfull of them on the same machine. (If you had enough serial ports) Vmware workstation costs around 190 dollars and will virtualize as many operating systems as you have the processor and memory for. If I'm not mistaken they're even to the point of being able to share USB ports, and entire virtual ethernet networks can be setup on a single machine.
http://www.vmware.com

-Curiosity may have killed the cat
-But that's why they have nine lives

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

tolsen2 wrote:
It's possible to run several AVR Studio instances on the same machine, you can also use two JTAGICE mkIIs this way. You might have some problems with having the preferences stored though, depending on which Studio instance you quit first, but I don't think that should be a big problem.

If AVR Studio detects two JTAGICE mkIIs, you will be asked which one (serial number, see under the ICE) to use.


Or, you can connect the mkIIs to two serial ports. It will start with the lowest numbered serial port, and then the next, etc.

If you want to be real contrary, how about one mkII on USB and another on RS232?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You know, I just tried this a few seconds ago thinking it was too simple to work, but it did.... Just run the program twice. Doesn't seem to have any problems at all Using AVR Studio 4.10.356 All you have to do is set the programmer detection to AUTO select and then sequentually start the debug modes in each copy of AVRStudio running. Once you're connected to the programmer that port is not available so the next AVRStudio you start debuggin with will go to the next serial port. The only limit to this is the number of serial ports addressable by AVR Studio you have.

-Curiosity may have killed the cat
-But that's why they have nine lives

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oooo yeah, we do that all the time here! :) It's rough on the system resources, but it does work!

John Holcomb