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....
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Atmel Ice - upload - Feather M0 - problem (Read 512 times)
FrankC
Ex Member
*



Atmel Ice - upload - Feather M0 - problem
Feb 8th, 2020 at 2:35pm
 
Best,

I use Atmel studio, Atmel Ice and an adafruit feather M0.
Via Atmel Ice I can make a connection via SWD, device programming, so this connection works.

But when I select the Atmel SAM-Ice in 'micro programmer toolbar options', click 'Enable Programmer' and then click 'build and upload' I get the following error:

Compiling 'Blink' for 'Adafruit Feather M0'
Program size: 10.624 bytes (used 4% of a 262.144 byte maximum) (0,47 secs)

Uploading 'Blink' to 'Adafruit Feather M0' using 'sam_ice'
Open On-Chip Debugger 0.10.0+dev-gf0767a31 (2018-06-11-13:36)
Licensed under GNU GPL v2
     The upload process has finished.
For bug reports, read
     http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
Error: Debug adapter does not support any transports? Check config file order.
Error: unable to select a session transport. Can't continue.
shutdown command invoked


What could be the problem?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10893
United Kingdom
Re: Atmel Ice - upload - Feather M0 - problem
Reply #1 - Feb 8th, 2020 at 2:43pm
 
In As7, Use the special programmer called "Atmel Studio Device Programming".

Why? Atmel and arduino often have a usb driver clash. Therefore, if you have atmel device programming speaking to your board correctly then tell visual micro to use atmel studio device programming for uploads.
Back to top
« Last Edit: Feb 8th, 2020 at 2:44pm by Visual Micro »  

Tim Leek
home
WWW  
IP Logged
 
FrankC
Ex Member
*



Re: Atmel Ice - upload - Feather M0 - problem
Reply #2 - Feb 8th, 2020 at 8:53pm
 
Thks,

Has the bootloader then been overwritten?
Can I avoid this in 'Device programming'?

And how to do it in VS2019 ?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10893
United Kingdom
Re: Atmel Ice - upload - Feather M0 - problem
Reply #3 - Feb 9th, 2020 at 9:40pm
 
Normally when any programmer is used it automatically overrites the bootloader use for serial upload. However some of the 32 bit boards don't suffer the same issue. It's a question for the manufacturer in this case Atmel.

We usually recommend standard upload (serial) with ICE just for debug. You don't have to upload wit the ICE to use it for debug.
Back to top
« Last Edit: Feb 9th, 2020 at 9:41pm by Visual Micro »  

Tim Leek
home
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print