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 Upload error with SAMD21 & Atmel-ICE (Read 1621 times)
Roy Zahor
Newbies
*
Offline


Posts: 3
Joined: Apr 13th, 2021
Upload error with SAMD21 & Atmel-ICE
Apr 13th, 2021 at 2:30pm
Print Post  
Hi,

I'm trying to upload (an empty) Arduino project to SparkFun RebBoard Turbo board (SAMd21) with Atmel-ICE.

I'm getting the following error:
Code
Select All
Error: couldn't open edBoard_Turbo\Debug/ItamarArduino.ino.elf}
embedded:startup.tcl:477: Error: ** Programming Failed ** 


but the file exists in this location.

Full error log is attached.

Did someone encountered this error before? Or has any ideas for a solution?

Thanks,
Roy
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Roy Zahor
Newbies
*
Offline


Posts: 3
Joined: Apr 13th, 2021
Re: Upload error with SAMD21 & Atmel-ICE
Reply #1 - Apr 13th, 2021 at 2:35pm
Print Post  
P.S.

I can see a similar problem in this post:
https://forum.arduino.cc/t/upload-problems-with-windows-8-1-10-and-ide-1-8-9/597...
but in my case, the file path looks OK except a single '/' instead of '\' in the path, is it important?
Is it a SAMD core problem or Visual Micro?
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Upload error with SAMD21 & Atmel-ICE
Reply #2 - Apr 13th, 2021 at 2:47pm
Print Post  
Thanks for the report.

From the log the same upload option  for Atmel-ICE should be available in the Arduino IDE as it is the standard programmer included with the board package.  Would it be possible to try/test the same "upload using programmer" via that route?

The link you have referenced suggests rolling the SAMD Core back, which should be simple enough to try as well if using the Arduino IDE doesn't alter anything.
« Last Edit: Apr 13th, 2021 at 5:16pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Roy Zahor
Newbies
*
Offline


Posts: 3
Joined: Apr 13th, 2021
Re: Upload error with SAMD21 & Atmel-ICE
Reply #3 - Apr 19th, 2021 at 6:59am
Print Post  
Dear Simon,

Thanks for your message, and sorry for my late response.

I guess the problem is in the SAMD Core. I have managed to overcome this error by completely deleting "platform.txt" for this core. It's super weird, but it is working.

Roy
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Upload error with SAMD21 & Atmel-ICE
Reply #4 - Apr 19th, 2021 at 1:37pm
Print Post  
Thanks for the update on what has resolved the issue.

Whilst investigating another issue it revealed why deleting the platform.txt would resolve the problem, and we will update when a fix is available in the next release.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Upload error with SAMD21 & Atmel-ICE
Reply #5 - Apr 19th, 2021 at 4:51pm
Print Post  
Please try the latest release (21.01.06.18) from the top of the below board, this should resolve the issue without the need for modifications:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint