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 for samd21 with bossac (Read 259 times)
ahgu888
Newbies
*
Offline



Posts: 2
debugging for samd21 with bossac
Aug 2nd, 2019 at 8:45pm
 
Does this software support bossac,
It open the serial port at 1200 baud to reset the chip to go to bossac bootloader.

How do I set it up for debugging in such environment
SAMD21
Bossac as bootloader
arduino project required debugging with ATMEL ICE.

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



Posts: 10565
United Kingdom
Re: debugging for samd21 with bossac
Reply #1 - Aug 3rd, 2019 at 11:07am
 
I have to say that you will find less constraints and a more obvious config if you use Visual Micro in VS2017

If you want to make use of atmel studio device tools then please follow the guide in red on our atmel page

https://www.visualmicro.com/page/Arduino-for-Atmel-Studio-7.aspx

In short, for upload, see that there is a programmer in the visual micro programmers list called "Use atmel studio debug programming". Then upload will prompt or use the standard atmel project properties and tools to manage the upload. Visual Micro steps out of the equation but primes atmel with the correct program (.elf) location.

For debug there is "vMicro>Use atmel studio debugging" which again hands over to atmel studio to do whatever it does when you click F5 or Debug attach etc.



Back to top
 
WWW  
IP Logged
 
ahgu888
Newbies
*
Offline



Posts: 2
Re: debugging for samd21 with bossac
Reply #2 - Aug 8th, 2019 at 1:43am
 
How do you use bossac to upload with visual studio?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10565
United Kingdom
Re: debugging for samd21 with bossac
Reply #3 - Aug 8th, 2019 at 11:57am
 
Is there standard upload guide for arduino? if so then follow the guide.

1200 baud upload trigger is defined in boards.txt which is installed with each arduino core. If you have an arduino samd core then standard upload uses 1200 baud trigger and serial.

If you have a hardware programmer then it will be in the vMicro>Uploader>Programmers list

Anything else you have to learn more about arduino. This forum is just to support what you see on our menus.

Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print