Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Debugging SAMD21 in Visual Studio with Visual Micro plugin and Atmel ICE (Read 170 times)
crk
Newbies
*
Offline



Posts: 1
Debugging SAMD21 in Visual Studio with Visual Micro plugin and Atmel ICE
Jul 25th, 2019 at 2:02pm
 
Hi everyone, i'm new here.
I searched a bit on the internet on how to solve my problem:
I have an arduino MKRZERO and i'm trying to program it in Visual Studio 2017 with Visual Micro plugin and Arduino 1.8.9;
i bought Atmel ICE programmer,
but when uploading it gives "error at91samd21g18.cpu clearing lockup after double fault"
Uploading bootloader works, and the strange thing is that after trying to upload my program and failing and loading bootloader, the previous program starts running!  Shocked
I wish to get full debugging on this setup, for example i even don't know what to choose under vMicro>Debugger menu, is first of all supported?
Thank you
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Online



Posts: 10550
United Kingdom
Re: Debugging SAMD21 in Visual Studio with Visual Micro plugin and Atmel ICE
Reply #1 - Jul 25th, 2019 at 5:02pm
 
Please post the info requested in yellow above so that we can see more clearly what you are trying to do and with which settings enabled.

Upload

Thanks, currently the Arduino definitions do not come with a reliable ICE programmer for upload. We will be releasing a version of visual micro over the comming few days that extends the Arduino programmers list with a full range of programmers. There are also some new tool bar options to make this quick and easy to select.

Debug
You would simply pick the ICE debugger from the Debugger menu or tool bar and also probably set Optimization to "No Project or Libraries"

So for now use normal serial/bootloader upload along alongside ICE debug and enable notifications in the Releases section of this forum so that you get to hear about the new release over next few days.
Back to top
« Last Edit: Jul 25th, 2019 at 9:33pm by Visual Micro »  
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print