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
Hot Topic (More than 8 Replies) Problem Uploading Programm to Arduino DUE (Read 2322 times)
ML
Newbies
*
Offline


Posts: 5
Joined: Jul 3rd, 2020
Problem Uploading Programm to Arduino DUE
Jul 3rd, 2020 at 11:19am
Print Post  
I have got a Problem uploading a Programm to Arduino DUE since i have updated vMicro for Visual Studio 2019 at 2th of July 2020.

Before the new Version of VMicro the Programm worked fine.

The IDE is telling me the following mistake:

The uploader returned an error
bossac.exe: extra arguments found
Try 'bossac.exe -h' or 'bossac.exe --help' for more information

Is der a solution for this issue?
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem Uploading Programm to Arduino DUE
Reply #1 - Jul 3rd, 2020 at 11:25am
Print Post  
Thanks for the info. Can you please also switch on vMicro>Uploader>Verbose so we can see the verbose upload command.

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


Posts: 2175
Joined: Feb 13th, 2019
Re: Problem Uploading Programm to Arduino DUE
Reply #2 - Jul 3rd, 2020 at 11:34am
Print Post  
Thanks for the report, and we implement a fix in the upcoming releases.

If you enable the vMicro > Uploader > Verify this should allow uploads to work again without an update.

The problem in the background is the {upload.verify} flag is not being given a value, which can be seen when enabling vMicro > Uploader > Verbose, and repeating the upload.
Code
Select All
\bossac.exe -i -d --port=COM47 -U false -e -w {upload.verify} -b C:\Users\Simon\AppData\Local\Temp\VMBuilds\SAM-DU~1\ARDUIN~2\Debug/SAM-DU~1.BIN -R
The uploader returned an error
bossac.exe: extra arguments found
Try 'bossac.exe -h' or 'bossac.exe --help' for more information 



An alternative workaround if you do not want to enable verify for uploads is to:-
1) Right click project in Solution Explorer
2) Add > Local Board.txt
3) Add the below line to the file, and save
Code
Select All
upload.verify= 


4) Try the upload again
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Problem Uploading Programm to Arduino DUE
Reply #3 - Jul 3rd, 2020 at 4:32pm
Print Post  
The fix is now included in the latest 20.06.30.2 Release of Visual Micro (shown at the top of the below board):-
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
 
IP Logged
 
ML
Newbies
*
Offline


Posts: 5
Joined: Jul 3rd, 2020
Re: Problem Uploading Programm to Arduino DUE
Reply #4 - Jul 6th, 2020 at 5:52am
Print Post  
Thank you very much for your answer. Now i get a differnet error (see the attaced text file)
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Problem Uploading Programm to Arduino DUE
Reply #5 - Jul 6th, 2020 at 9:17am
Print Post  
Thanks for the report, and it looks like your sketch wont compile due to an error in the code.

Please attach the full build log as shown at the top of the page in the yellow box, so we can see all settings and information.  If you can attach the sketch file as well it would be very useful.
  
Back to top
 
IP Logged
 
ML
Newbies
*
Offline


Posts: 5
Joined: Jul 3rd, 2020
Re: Problem Uploading Programm to Arduino DUE
Reply #6 - Jul 6th, 2020 at 11:12am
Print Post  
Thank you very much for your Answer.

but the Problem is that the code worked fine before the Update.

I have added the Logfile as well as the Code, which is just a test programm
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Problem Uploading Programm to Arduino DUE
Reply #7 - Jul 6th, 2020 at 11:45am
Print Post  
Thanks for the detail, and investigating further this is due to the path shortening fix in the last release.

To work around this for now, you can add the below entry to a Local Board.txt file (Right Click project in Solution Explorer > Add > Local board.txt)
Code
Select All
vm.build.compile-source-8dot3=false 



We will confirm back on this thread when an update with this in automatically is present.
  
Back to top
 
IP Logged
 
ML
Newbies
*
Offline


Posts: 5
Joined: Jul 3rd, 2020
Re: Problem Uploading Programm to Arduino DUE
Reply #8 - Jul 6th, 2020 at 1:23pm
Print Post  
Thank you very much for your support. Now the Programm works without any problem. I will update my IDE as soon as you confirm an update.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Problem Uploading Programm to Arduino DUE
Reply #9 - Jul 6th, 2020 at 1:26pm
Print Post  
The latest 20.06.30.4 Release of Visual Micro contains the fix for this and any other affected platforms (e.g ESP32).

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

Let us know if you have any further problems around this.
  
Back to top
 
IP Logged
 
ML
Newbies
*
Offline


Posts: 5
Joined: Jul 3rd, 2020
Re: Problem Uploading Programm to Arduino DUE
Reply #10 - Jul 7th, 2020 at 5:45am
Print Post  
Hello again thank you very much for providing the information about the latest update of the IDE.

After installing the new version of the software the upload works fine with using the local board.txt.

At the moment i do not have any other problems.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint