Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) Does visual micro support programming with Atmel ICE? (Read 6543 times)
IanS
Junior Member
**
Offline


Posts: 14
Joined: Jun 29th, 2016
Does visual micro support programming with Atmel ICE?
Aug 5th, 2016 at 3:53pm
Print Post  
Hi all,

I was wondering if anyone knew whether visual micro in atmel studio supported programming an arduino using an atmel ICE debugger/programmer? I am looking at purchasing one so that I can properly debug my software using atmel studio, but want to continue to use visual micro for its code completion and easy compilation.

Thanks in advance
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Does visual micro support programming with Atmel ICE?
Reply #1 - Aug 5th, 2016 at 3:55pm
Print Post  
Hi,

After you build with Visual Micro you can click File>Open object file for debugging

That is an Atmel studio function that ill open a new read-only solution allowing atmel tools to be used to debug

However if you have an Arduino Zero there is an easier solution in Visual Studio.

Make sense?
  
Back to top
WWW  
IP Logged
 
IanS
Junior Member
**
Offline


Posts: 14
Joined: Jun 29th, 2016
Re: Does visual micro support programming with Atmel ICE?
Reply #2 - Aug 5th, 2016 at 4:02pm
Print Post  
I think so! Would I only have visual micro build and not actually upload? Then, I would open my object for debugging(what VM just built) and it would upload and start debugging? 

Currently I will be using an arduino pro mini so no wonderful built in debugging /: But, since the ICE programmer is so cheap it really isnt much of a problem. 

I just want to make sure that in adding debugging support that I don't make writing, compiling and uploading my sketches cumbersome!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Does visual micro support programming with Atmel ICE?
Reply #3 - Aug 5th, 2016 at 4:10pm
Print Post  
I can't recall if it does the upload.

You can compile with visual micro as normal. If it doesn't do the upload then use visual micro as normal.
  
Back to top
WWW  
IP Logged
 
IanS
Junior Member
**
Offline


Posts: 14
Joined: Jun 29th, 2016
Re: Does visual micro support programming with Atmel ICE?
Reply #4 - Aug 5th, 2016 at 4:12pm
Print Post  
Awesome! Does VM support the Atmel-ICE as a programmer natively? I see lots of other programmer options but not the ICE. Would it just be a standard ISP programmer?
« Last Edit: Aug 5th, 2016 at 4:25pm by IanS »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Does visual micro support programming with Atmel ICE?
Reply #5 - Aug 5th, 2016 at 4:18pm
Print Post  
Which version of atmel studio?
  
Back to top
WWW  
IP Logged
 
IanS
Junior Member
**
Offline


Posts: 14
Joined: Jun 29th, 2016
Re: Does visual micro support programming with Atmel ICE?
Reply #6 - Aug 5th, 2016 at 4:24pm
Print Post  
Preferably the latest, 7. But, if needed I could downgrade to 6.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Does visual micro support programming with Atmel ICE?
Reply #7 - Aug 5th, 2016 at 4:26pm
Print Post  
I thought there was an ice option that a user supplied. I will try to look into it but you can follow arduino guides to add hardware to the avr programmers.txt
  
Back to top
WWW  
IP Logged
 
IanS
Junior Member
**
Offline


Posts: 14
Joined: Jun 29th, 2016
Re: Does visual micro support programming with Atmel ICE?
Reply #8 - Aug 5th, 2016 at 4:50pm
Print Post  
awesome, thanks for your help. In searching for how to add the Atmel Ice programmer I did find this http://forum.arduino.cc/index.php?topic=390155.0 thread that seems to show how to do it...can't test yet because I don't have the ICE myself yet.

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Does visual micro support programming with Atmel ICE?
Reply #9 - Aug 6th, 2016 at 3:09pm
Print Post  
I'm a bit pushed but will look into it when I can.

The forum search might produce something but don't forget to alter the time span to "all" or it only searches the last couple of weeks.

If you add this to arduinoide/hardware/arduino/avr/programmers.txt an AVR dragon programmer will appear in the list. The default programmer makes uses of avrdude so these are avrdude params we are defining and I guess the ICE won't be that much different.

Code
Select All
dragon.name=AVR Dragon as ISP
dragon.communication=usb
dragon.protocol=dragon_isp
dragon.program.tool=avrdude
 


  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint