Working with multiple instances of Studio 6

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

Hi all!

I have the following problem:
I'm working on a board including two different controllers. An AT32UC3A0512 and an ATXMega32A4. The AT32 is programmed with a JTAGICEMKII, the ATXMega with a AVR ONE!. I have two instances of the AVR Studio 6 opened, to see both project at the same time. The two controllers have to communicate to each other, as well as to other external devices, so it is an interactive process to write both codes. So far, so good.
What's driving me nuts is the programming of the devices, because the programming dialog seems to have only one instance. So I have always to change all the device and path fields when "switch" to the "other" device.
Isn't there a better way!?

regards,
Thomas

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

You could work with debugging on one board that should work.

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

Yes, it is a pain the the rectum. Atmel should fix it so that each project remembers the settings for the programming. Good luck convincing Atmel that it's a good idea, considering they believe the programming tool MUST be modal.

I am experimenting with using Debug->Start Without Debugging as a shortcut. I have assigned the key sequence of Ctrl-Shift-Backspace as a quick way to program. I haven't fully tested what happens when switching projects, but it may work.

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

I know it's a bit extreme but you could use VirtualBox to run a separate virtual machine with another copy of Windows then it'd be like you had to PCs on the one piece of hardware. You will need a Windows installation disk to achieve this though.

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

Can't you use atprogram on one of them?

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

Surely he wants to debug them not just program them? Otherwise why not just program them sequentially?

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

clawson wrote:
Surely he wants to debug them not just program them? Otherwise why not just program them sequentially?

It seems he wants to program them both. Debugging in multiple instances is no problem AFAIK while it is not possible to open more than one programming window(had that problem aswell)

Last Edited: Mon. Aug 13, 2012 - 05:41 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

jkuusama wrote:
Can't you use atprogram on one of them?

Oh! This could be a good idea. I could define a program command for one of the cotrollers.
I will check it out tomorrow.

regards,
Thomas

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

clawson wrote:
Surely he wants to debug them not just program them? Otherwise why not just program them sequentially?

You mean in a jtag chain? Normally it's a good idea, but the ATXMega32A4 has no jtag interface. Only PDI.

regards,
Thomas

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

Hi all!

So, I solved my problem. Yes, the good old command line. I use "atprogram" and the "External Tools" feature of AS6. Works smart and fast. And it could be much smarter if there are some more argument variables like $(ProjectDevice), and if $(ProjectFileName) without name extention. But I know, I cann't have all ;-)

regards,
Thomas

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

tom_schaefer wrote:
Hi all!

So, I solved my problem. Yes, the good old command line. I use "atprogram" and the "External Tools" feature of AS6. Works smart and fast. And it could be much smarter if there are some more argument variables like $(ProjectDevice), and if $(ProjectFileName) without name extention. But I know, I cann't have all ;-)

regards,
Thomas

Feel free to raise a bug for improvements that could be valuable to others aswell here: http://asf.atmel.com/bugzilla

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

MannImMond wrote:
tom_schaefer wrote:
Hi all!

So, I solved my problem. Yes, the good old command line. I use "atprogram" and the "External Tools" feature of AS6. Works smart and fast. And it could be much smarter if there are some more argument variables like $(ProjectDevice), and if $(ProjectFileName) without name extention. But I know, I cann't have all ;-)

regards,
Thomas

Feel free to raise a bug for improvements that could be valuable to others aswell here: http://asf.atmel.com/bugzilla

There are already bugs on this, http://asf.atmel.com/bugzilla/sh... , and the studio teams are aware of this...

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)