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 Atmel ICE problems! (Read 10220 times)
Jcalduch
Newbies
*
Offline


Posts: 4
Joined: Jan 12th, 2015
Atmel ICE problems!
Jan 12th, 2015 at 9:51am
Print Post  
Hello everyone,

I have just recently got an Atmel ICE and I am trying to use it to program an arduino atmega2560.

After connecting to the ICSP port and setting Tools->Visual Micro -> Programmer -> AVR ISP


         System wide configuration file is .conf"

         Using Port                    : COM49
         Using Programmer         : stk500v1
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03....



I have tried a few more times and got:

        System wide configuration file is "C:\Program Files\Arduino\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\
         Using Programmer              : stk500v1
avrdude: ser_open(): can't open device "\\.\"



Should I configure the atmel ICE somewhere?

Using atmel's studio Tools->Device Programming lets me read all the fuses and device info. But when i try to program I get a "TimedOut error"

I am new at using programmers so any help would be really appreciated. Thank you  Smiley

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE problems!
Reply #1 - Jan 12th, 2015 at 12:33pm
Print Post  
Hi,

You can not use avr isp with your ice because they are different and also use different usb drivers

Arduino does not normally support the ice but visual micro does provide some programmers in the same list as the avr isp but with names that start with the word "Atmel"

Do you see an entry for the atmel ice in the list?

If not please post an image of the list you see 

Thanks

  
Back to top
IP Logged
 
Jcalduch
Newbies
*
Offline


Posts: 4
Joined: Jan 12th, 2015
Re: Atmel ICE problems!
Reply #2 - Jan 13th, 2015 at 11:50am
Print Post  
Hi,

Thank you for the reply.

I am using Atmel Studio with Visual Micro (arduino 1.0.x). 
If you are referring to the list at the Atmel Studio -> Tools -> Visual Micro -> Programmers , it only lists:

- AVR ISP
- AVR ISP mk2
- Tiny USB ISP
- USBasp
- Parallel Programmer
- Arduino as ISP


There is no entry for the ICE.

Thanks
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE problems!
Reply #3 - Jan 13th, 2015 at 11:55am
Print Post  
First of all please open a sketch and then look at the programmers menu. The menu is dependant on hardware which is not fully recognized until a sketch is opened. If the menu items are still missing then it's possibly a bug in visual micro when using 1.0.x Arduino ....

As an experiment please grab the latest beta of visual micro from our downloads page and then grab a zip of Arduino 1.5 from the arduino.cc downloads page. You can then register 1.5.x in Visual Micro without disturbing your 1.0.x install 

Then select the mega board from 1.5.x and you should see more menu items

Thanks

ps: you only need the latest vm beta if you have winavr installed. it prevents vm from com;iling arduino 1.5.x
  
Back to top
IP Logged
 
Jcalduch
Newbies
*
Offline


Posts: 4
Joined: Jan 12th, 2015
Re: Atmel ICE problems!
Reply #4 - Jan 13th, 2015 at 1:43pm
Print Post  
Thanks for the help so far.
Ok so I have done what you told me. Now I have atmel studio with both visual micro 1.0 and 1.5 and i can choose the Atmel ICE as a programmer.

When I select the board and the atmel ICE and do a Burn Bootloader I get the error shown in the first picture.
If I try to "Upload using the Programmer" I get the error shown on the second picture.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE problems!
Reply #5 - Jan 13th, 2015 at 1:52pm
Print Post  
Hi,

Sorry, we have not implemented burn bootloader with atmel yet only upload. 

You might be able to do it manually using the device programming tool in atmel studio.

The atmel ice options are new and currently being tested and extended by some of our users.

If you find the commands for burning a bootloader we can add them to vm

We can and do only guarantee that standard arduino features work which would require an AVRISP mkII or similar. 

Sorry
« Last Edit: Jan 13th, 2015 at 1:53pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Jcalduch
Newbies
*
Offline


Posts: 4
Joined: Jan 12th, 2015
Re: Atmel ICE problems!
Reply #6 - Jan 14th, 2015 at 8:26am
Print Post  
OK thanks a lot! I'll update this thread if I find the commands.

Is there any thread regarding amel ICE that I should check?
Thanks.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE problems!
Reply #7 - Jan 14th, 2015 at 12:43pm
Print Post  
No sorry it's very new but I can tell you that all it does it use the atprogram.exe that is supplied as part of atmel studio. atprogram is a command line tool, has help command and can be tried and tested via a cmd prompt.

If you find the commands and set fuses correctly then I can add it to vm or tell you how to do that

Thanks again, and yes you are now in guinea pig mode  Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint