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) New Atmel Ice debugger troubles... (Read 9967 times)
Paddy
Newbies
*
Offline


Posts: 6
Joined: Aug 12th, 2014
New Atmel Ice debugger troubles...
Aug 12th, 2014 at 11:36am
Print Post  
Hi all,

I am quite new to visual micro and I am liking it quite a lot! Having a bit of trouble getting my new atmel ice debugger to work (http://uk.farnell.com/atmel/atatmel-ice/debugger-atmel-arm-avr-full-kit/dp/24071...).

The debugger shows up in the programmer tools as a device but does not show up in the visual micro part, any ideas that might be able to help me??

Thanks
Paddy

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New Atmel Ice debugger troubles...
Reply #1 - Aug 12th, 2014 at 11:42am
Print Post  
Hi Paddy,

Good to hear that thanks.

Visual Micro uses a different system to the Atmel UI (for Arduino compatibility reasons) so the two are unconnected in this respect.

In Visual Micro you need to use Arduino 1.5 as the backend Ide (1.5.x) then the additional programmers should appear.

The ICE is new, the AVR entry was created and tested by a user. The SAM entry has not yet been tested but should appear on the menu. I don't expect any problems for the SAM entry, but any problems and I can tell you what to tweak then we can re-publish in the next release.

I hope this makes sense.

Any problems please confirm your visual micro version from tools>options>visual micro>version>version

Thanks
« Last Edit: Aug 12th, 2014 at 11:42am by Tim@Visual Micro »  
Back to top
IP Logged
 
Paddy
Newbies
*
Offline


Posts: 6
Joined: Aug 12th, 2014
Re: New Atmel Ice debugger troubles...
Reply #2 - Aug 12th, 2014 at 11:46am
Print Post  
Thats probably where I was going wrong, going to install version 1.5 now! Hopefully it will be plain sailing from here... Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New Atmel Ice debugger troubles...
Reply #3 - Aug 12th, 2014 at 11:47am
Print Post  
yes it should be okay
« Last Edit: Aug 12th, 2014 at 11:48am by Tim@Visual Micro »  
Back to top
IP Logged
 
Paddy
Newbies
*
Offline


Posts: 6
Joined: Aug 12th, 2014
Re: New Atmel Ice debugger troubles...
Reply #4 - Aug 12th, 2014 at 12:28pm
Print Post  
I have installed v1.5 of arduino, and set the ide settings within atmel studio but everything is greyed out, and when i go back into the ide settings it has always reverted back to v1.0 rather than 1.5.

I have included an image as well
  

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New Atmel Ice debugger troubles...
Reply #5 - Aug 12th, 2014 at 12:31pm
Print Post  
Thanks for the image. 

You need to select 1.5.x then set the path. Visual Micro allows multiple Arduino Ide's to be active at the same time so you set a path for each.

So for one ide, you can either clear the path from 1.0.x and then select 1.5.x and set a path or install 1.5 into a different folder using the zip on the arduino web site and configure both paths in Visual Micro. For each project you will then be able to choose between 1.0.x and 1.5.x.

+

You need to open or create a sketch project. This is because the programmers list changes based upon the selected architecture which is mainly stored with each project. Currently the list is only refreshed if a project is open.

EDIT: The boards list will be empty if you have 1.5 installed in a location you have configured to be 1.0.x in visual Micro. Just open the ide config dialog and clear the 1.0.x path then select 1.5.x and set the path.
« Last Edit: Aug 12th, 2014 at 12:36pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Paddy
Newbies
*
Offline


Posts: 6
Joined: Aug 12th, 2014
Re: New Atmel Ice debugger troubles...
Reply #6 - Aug 12th, 2014 at 12:36pm
Print Post  
Thanks a lot, just managed to program using my new ice!  Cheesy
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New Atmel Ice debugger troubles...
Reply #7 - Aug 12th, 2014 at 12:38pm
Print Post  
Great, thanks for the update
  
Back to top
IP Logged
 
Paddy
Newbies
*
Offline


Posts: 6
Joined: Aug 12th, 2014
Re: New Atmel Ice debugger troubles...
Reply #8 - Aug 13th, 2014 at 3:30pm
Print Post  
is there any way of getting a serial monitor using the ice rather than a serial port?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New Atmel Ice debugger troubles...
Reply #9 - Aug 13th, 2014 at 4:38pm
Print Post  
Hi Paddy,

Sorry the Arduino and the programmers do not support serial but if you have an issue using the serial port you can use the SoftwareSerial debugger option with 1 digital pin for trace and 1 if break/pause is required.

I realize that you might not want the additional overhead of anything other than the ICE but thought this info might be useful just in case.
  
Back to top
IP Logged
 
Paddy
Newbies
*
Offline


Posts: 6
Joined: Aug 12th, 2014
Re: New Atmel Ice debugger troubles...
Reply #10 - Aug 13th, 2014 at 6:13pm
Print Post  
thats ok, I have done a DIY mega with the avr2560, was going to use the serial port straight to an ethernet converter, then try and read it using a server with python! Im sure I can figure out another way of making sure the arduino is spitting out everything it should be.

Thanks for all your help
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New Atmel Ice debugger troubles...
Reply #11 - Aug 13th, 2014 at 6:42pm
Print Post  
Oh I see that sounds cool. 

With a 2560 you have many serial ports? You can set the RemotePort to Serial1 and use that for debug instead of the main serial or if you have used all the serial ports/pins then RemoteTransport=SoftwareSerial will work very well with a tx and optional rx pin. 

All you need is an FTDI cable or adapter and a couple of wires.

Here is the doc of how to configure.

http://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging-With-Different-Por...
« Last Edit: Aug 13th, 2014 at 6:49pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint