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) Amtel Ice not appearing as a debugger option in Vs2019 (Read 3121 times)
Pmb
Newbies
*
Offline


Posts: 5
Joined: Mar 14th, 2021
Amtel Ice not appearing as a debugger option in Vs2019
Mar 15th, 2021 at 10:41pm
Print Post  
Hi,  I just got an Atmel ice.  I have Microchip studio installed and it does show up there, but not in the visual micro menus in VS2019, see attached image.  Can someone please point me to a guide/video so i can understand what steps i'm missing?

Thanks
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #1 - Mar 15th, 2021 at 10:43pm
Print Post  
Thanks for the report. That debug menu should not be showing it is for Visual Studio.

Please follow the guide on this page

https://www.visualmicro.com/page/Arduino-for-Atmel-Studio-7.aspx
  
Back to top
WWW  
IP Logged
 
Pmb
Newbies
*
Offline


Posts: 5
Joined: Mar 14th, 2021
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #2 - Mar 15th, 2021 at 10:51pm
Print Post  
Wow, thanks for the quick reply.  Sorry for the confusion.  That is Visual Studio 2019.  I mentioned Micro Studio, because i assumed that would install all the drivers i'd need... but i dont want to use micro studio, at least not at the moment.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #3 - Mar 15th, 2021 at 11:22pm
Print Post  
Did the ICE debug work in Atmel Studio with the Arduino Micro?
  
Back to top
WWW  
IP Logged
 
Pmb
Newbies
*
Offline


Posts: 5
Joined: Mar 14th, 2021
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #4 - Mar 16th, 2021 at 8:49pm
Print Post  
tada
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #5 - Mar 16th, 2021 at 9:08pm
Print Post  
You are looking at the debugger menu not the programmers menu. The ICE will be listed as a programmer but not as a debugger. The smaller atmel chips can be destroyed enabling the debugger. 

Confirm you will not have been able to use the ICE for debug in atmel studio even though it is listed?


  
Back to top
WWW  
IP Logged
 
Pmb
Newbies
*
Offline


Posts: 5
Joined: Mar 14th, 2021
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #6 - Mar 16th, 2021 at 10:02pm
Print Post  
Are you saying i cant do AVR hardware debugging with the Amtel Ice in Visual Studio?

What do you mean by "the smaller atmel chips".  Do you mean the package, like pdip vs mfl?

I have not tried debugging via Atmel Studio, i've been avoiding it because it doesnt work very well on my 4k laptop screen, plus it's an old enough version of VS to be irritating to use (I used VS2019 at work) and they've tweaked the keyboard shortcuts.

I was also under the impression I might be able to program via the serial usb, but debug via the atmel ice (i do have my doubts this is possible), so have been avoiding wiping out the bootloader. Although i've used arduino on and off for a while, i'm not really experienced with microprocessors.

I got the atmel ice because the serial debugging caused VS to freeze up, it was slow, but it also slowed down the serial console too much. (even when in release mode).  I really like vsmicro in vs2019 so was hoping to stick with it while i finished off some atmega projects.

I take it'd work fine with ARM chips? like shown here: https://www.visualmicro.com/page/SAM-Debugging.aspx
« Last Edit: Mar 16th, 2021 at 10:04pm by Pmb »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #7 - Mar 16th, 2021 at 10:32pm
Print Post  
Yes SAM/Arm boards are fine. If you used the atmel debugger for the Micro in Atmel studio then we can add the debugger to VS. Currently we classed the Micro similar to the Uno which is a no no.

fyi: Serial debug can be slow if you put a trace point in fast loops. In that case the breakpoint has an option called "conditons"  which allows you to report breakpoints every 250ms for example. The breakpoint conditions can also be used to report based on code/variable values, which avoids a zillion messages. If you configured the debugger to work along side the main serial port and your code also send serial messages then it becomes slow unless your own code uses serial.println() when a packet is completed.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #8 - Mar 17th, 2021 at 7:34pm
Print Post  
Can you confirm that you has to set a fuse in atmel studio before you were able to debug the Arduino Micro?
  
Back to top
WWW  
IP Logged
 
Pmb
Newbies
*
Offline


Posts: 5
Joined: Mar 14th, 2021
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #9 - Mar 17th, 2021 at 9:56pm
Print Post  
I didnt get that far, as i said, i wasn't ready to wipe the arduino bootloader.

I've since got a Atmega xplained board to play with and i'm having some success.  I'll come back to this once i've improved my knowledge. Thanks again for the help
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #10 - Mar 17th, 2021 at 10:01pm
Print Post  
Ah great, yes we reviewed the Micro and it needs fuse setting for debug. There are a few small AVR chips that need that, we don't provide facility for that because it leads too many people to break their board. 

Bootloader is easily replacable and often zapped by upload using a programmer but incorrect fuse settings means the board will be destroyed for most.

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Amtel Ice not appearing as a debugger option in Vs2019
Reply #11 - Mar 17th, 2021 at 11:26pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint