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
Normal Topic Upload with Atmel-ICE fails with error (Read 5548 times)
Arecon
Junior Member
**
Offline


Posts: 53
Joined: Apr 2nd, 2017
Upload with Atmel-ICE fails with error
Apr 17th, 2017 at 9:42pm
Print Post  
Hi
I have set-up a fresh new installation of Atmel Studio 8 with the latest version of Visual Micro and everything else on Windows 8.1.
When I try to use my Atmel ICE (latest firmware) to upload something I get the following Output:

Compiling debug version of 'ATtiny828_001' for 'ATtiny828 (No bootloader)'
Program size: 3.332 bytes (used 41% of a 8.192 byte maximum) (1,64 secs)
Minimum Memory Usage: 291 bytes (57% of a 512 byte maximum)
 
Uploading 'ATtiny828_001' to 'ATtiny828 (No bootloader)' using 'atmel_ice'
Error during upload using programmer
The uploader process failed

The uploader process failed
The uploader returned an error
avrdude: Can't find programmer id "atmelice_isp"
Valid programmers are:
  2232HIO          = FT2232H based generic programmer
  4232h            = FT4232H based generic programmer
  89isp            = Atmel at89isp cable
  abcmini          = ABCmini Board, aka Dick Smith HOTCHIP
  alf              = Nightshade ALF-PgmAVR, http://nightshade.homeip.net/
  arduino          = Arduino
  arduino-ft232r   = Arduino: FT232R connected to ISP
  arduinoisp       =  
  atisp            = AT-ISP V1.1 programming cable for AVR-SDK1 from <http://micro-research.co.th/> ;
  avr109           = Atmel AppNote AVR109 Boot Loader
  avr910           = Atmel Low Cost Serial Programmer
  avr911           = Atmel AppNote AVR911 AVROSP
  avrftdi          = FT2232D based generic programmer
  avrisp           = Atmel AVR ISP
  avrisp2          = Atmel AVR ISP mkII
  avrispmkII       = Atmel AVR ISP mkII
  avrispv2         = Atmel AVR ISP V2
  bascom           = Bascom SAMPLE programming cable
[...]


I also tried setting "Atmel Studio Device Programming" instead of "Atmel-ICE (AVR)" as tool. This seems to get me a step further. I have to try that in depth...

Best Regards
Michael
« Last Edit: Apr 17th, 2017 at 10:18pm by Arecon »  
Back to top
 
IP Logged
 
Arecon
Junior Member
**
Offline


Posts: 53
Joined: Apr 2nd, 2017
Re: Upload with Atmel-ICE fails with error
Reply #1 - Apr 17th, 2017 at 11:48pm
Print Post  
Uploading via Atmel ICE and the Atmel Dialog now works. But it is a bit more tedious than with Arduino. Maybe the upload could be simplified after the first upload was successful?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload with Atmel-ICE fails with error
Reply #2 - Apr 18th, 2017 at 9:49am
Print Post  
Hi,

When you install atmel studio it overrides the driver that the arduino ide installs. This is a long running issue between the two ide's unlrelated to visual micro.

So if you have atmel installed it is best to you use atmel device programming.

If you have looked at the atmel studio page on visualmicro.com you will see some useful tips that show how to tell visual micro to use atmel studi device programming instead of an arduino programmer..

http://www.visualmicro.com/page/Arduino-for-Atmel-Studio-7.aspx

Does this now make sense?
  
Back to top
WWW  
IP Logged
 
Arecon
Junior Member
**
Offline


Posts: 53
Joined: Apr 2nd, 2017
Re: Upload with Atmel-ICE fails with error
Reply #3 - Apr 29th, 2017 at 3:54pm
Print Post  
For the moment it works. Thanks.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload with Atmel-ICE fails with error
Reply #4 - May 2nd, 2017 at 6:20pm
Print Post  
Thanks for the update. I think device programming is a good way to work however I looked into this issue and the wrong programmers were removed from As7. 

The latest release of visual micro has the atmel/avr programmers reinstated.

Thanks for the report.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint