VS Arduino
>> >> Atmel Ice - upload - Feather M0 - problem
https://www.visualmicro.com/forums/YaBB.pl?num=1581172539

Message started by FrankC on Feb 8th, 2020 at 2:35pm

Title: Atmel Ice - upload - Feather M0 - problem
Post by FrankC on 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?

Title: Re: Atmel Ice - upload - Feather M0 - problem
Post by Visual Micro on 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.

Title: Re: Atmel Ice - upload - Feather M0 - problem
Post by FrankC on 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 ?

Title: Re: Atmel Ice - upload - Feather M0 - problem
Post by Visual Micro on 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.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.