Visual Studio Ide for Arduino
https://www.visualmicro.com/forums/YaBB.pl
Visual Micro >> Atmel Studio 7.0 >> debugging for samd21 with bossac
https://www.visualmicro.com/forums/YaBB.pl?num=1564775136

Message started by ahgu888 on Aug 2nd, 2019 at 8:45pm

Title: debugging for samd21 with bossac
Post by ahgu888 on 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.


Title: Re: debugging for samd21 with bossac
Post by Visual Micro on 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.




Title: Re: debugging for samd21 with bossac
Post by ahgu888 on Aug 8th, 2019 at 1:43am
How do you use bossac to upload with visual studio?

Title: Re: debugging for samd21 with bossac
Post by Visual Micro on 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.


Visual Studio Ide for Arduino » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2019. All Rights Reserved.