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) Re: New ATMEL-ICE (Read 13315 times)
testato
Junior Member
**
Offline


Posts: 48
Joined: Feb 11th, 2014
Re: New ATMEL-ICE
Jul 2nd, 2014 at 4:56pm
Print Post  
is there news for support the new Atmel-Ice programmer ?
It is possible using it for debug in Jtag or only for programming in ISP ?

This is the result, but the old ICE3 that visual micro support is completely different from the new "Atmel-ICE"

Code
Select All
Uploading to I/O board using 'Atmel Studio JTAG Ice3 (ISP)'
Uploader started for board Arduino Leonardo
Uploader sometimes uses programmer name: atprogram_ice3_isp
Uploader will attempt to use programmer name: atprogram_ice3_isp
C:\Program Files (x86)\Atmel\Atmel Studio 6.2\atbackend\atprogram -d atmega32u4 -v -t jtagice3 -i ISP program -c -f "C:\Users\win7\AppData\Local\VMicro\Arduino\xxxxxxxxxx"
Upload failed. Did you select the correct upload method for this board?
System.Exception: Error during upload using programmer
[DEBUG] Starting execution of "program"
[DEBUG] Starting process 'C:\Program Files (x86)\Atmel\Atmel Studio 6.2\atbackend\atbackend.exe'
[DEBUG] Connecting to TCP:127.0.0.1:64382
[INFO] Could not find tool. Retrying...
[INFO] Could not find tool. Retrying...
[INFO] Could not find tool. Retrying...
[INFO] Could not find tool. Retrying...
[INFO] Could not find tool. Retrying...
[ERROR] Could not find tool.

   at processing.app.debug.AvrdudeUploader.uploadUsingProgrammer15(MCUPreferencesMap prog_prefs, String buildPath, String className)
   at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(String buildPath, String className, Boolean verbose, Boolean ProgrammerUploadUsing, String mcuProgrammerOverrideName)
   at processing.app.SketchEditor.Upload(Boolean verbose)
 

« Last Edit: Jul 2nd, 2014 at 5:04pm by testato »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New ATMEL-ICE
Reply #1 - Jul 2nd, 2014 at 5:05pm
Print Post  
Hi,

Yes it is supported. It might be that the hardware you are using needs a small file copied into its folder. I assume you are not using Arduino 1.5 and a standard board such as Uno?

So please confirm which Arduino ide version you are using and which board you are using. 

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New ATMEL-ICE
Reply #2 - Jul 2nd, 2014 at 5:09pm
Print Post  
Okay I split the post because you jumped into another thread. It is best to create your threads

I missed the fact you have a new ICE. You can add an entry to the programmers.atmel.txt in 

C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\arduino15x\hardware\avr

Then re-start the ide or click tools>visual micro>reload tool chains

Thanks
« Last Edit: Jul 2nd, 2014 at 5:23pm by Tim@Visual Micro »  
Back to top
IP Logged
 
testato
Junior Member
**
Offline


Posts: 48
Joined: Feb 11th, 2014
Re: New ATMEL-ICE
Reply #3 - Jul 2nd, 2014 at 5:13pm
Print Post  
sorry but i do not understand, 
I have a new kind of programmers, that the Atmel create this year. It is different from the ICE3, it's name is "ATMEL-ICE" and support the AVR and the SAM.

VisualMicro support this kind of programmers ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New ATMEL-ICE
Reply #4 - Jul 2nd, 2014 at 5:22pm
Print Post  
Hi

Sorry to not be clear. Visual Micro has a flexible configuration system allowing you to add new programmers and tools.

You will see in the txt file listed previously that the ICE3 is configured to use the Atmel Studio atprogram.exe command tool.

You can copy the entries for the ice3 and then change them to be whatever you need. This means you can create/register your own "programmer" for the tools>visual micro>programmers menu. 

If you do this please post the configuration so that we can include it in future releases of Visual Micro.

You might need to use windows explorer>properties on the .txt file to switch off the read-only property which is applied during installation you might also need admin rights to change the .txt file

I hope this makes sense, the format of the file is the standard arduino 1.5 format which should be easy to read. If not please let me know which atmel command tool supports the new ICE and what the commands are to use ISP upload from the window command prompt. Then I can give you an example of the syntax to enter into the .txt file

Thanks

« Last Edit: Jul 2nd, 2014 at 5:23pm by Tim@Visual Micro »  
Back to top
IP Logged
 
testato
Junior Member
**
Offline


Posts: 48
Joined: Feb 11th, 2014
Re: New ATMEL-ICE
Reply #5 - Jul 2nd, 2014 at 5:33pm
Print Post  
ok now it is clear, thanks.
I will check if the atprogram support the ATMEL-ICE or if is there a new tool.
I will write here the result.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New ATMEL-ICE
Reply #6 - Jul 2nd, 2014 at 5:34pm
Print Post  
Excellent thanks very much

I forgot to say that if you are using the Due then you can make/copy a version of the .txt file with just the one entry for SAM in:-

C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\arduino15x\hardware\SAM
« Last Edit: Jul 2nd, 2014 at 5:36pm by Tim@Visual Micro »  
Back to top
IP Logged
 
testato
Junior Member
**
Offline


Posts: 48
Joined: Feb 11th, 2014
Re: New ATMEL-ICE
Reply #7 - Jul 2nd, 2014 at 5:53pm
Print Post  
Yep it work  Wink

Code
Select All
atprogram_atmelice_isp.name=Atmel Studio ATMEL-ICE (ISP)
atprogram_atmelice_isp.program.tool=atprogram
atprogram_atmelice_isp.program.extra_params=-t atmelice -i ISP
atprogram_atmelice_isp.help=Connect the programmer to the ICSP port 

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New ATMEL-ICE
Reply #8 - Jul 2nd, 2014 at 6:30pm
Print Post  
That's great thanks. I will include for sam and avr in the next release.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint