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


Posts: 2
Joined: Aug 2nd, 2019
debugging for samd21 with bossac
Aug 2nd, 2019 at 7:45pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: debugging for samd21 with bossac
Reply #1 - Aug 3rd, 2019 at 10:07am
Print Post  
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
Joined: Aug 2nd, 2019
Re: debugging for samd21 with bossac
Reply #2 - Aug 8th, 2019 at 12:43am
Print Post  
How do you use bossac to upload with visual studio?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: debugging for samd21 with bossac
Reply #3 - Aug 8th, 2019 at 10:57am
Print Post  
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 TopicPrint