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 Fails, can't find file (Read 1236 times)
Dave Leddon
Junior Member
**
Offline


Posts: 17
Location: Danville, CA
Joined: Jun 11th, 2014
Upload Fails, can't find file
Nov 8th, 2019 at 2:37am
Print Post  
Somehow I managed to get two Visual Micro add-ins in my copy of Visual Studio 2013 which screwed up the Arduino IDE path names.  Using the system Control Panel I uninstalled the second add-in and now I can build and link.

But during the upload phase I get the following error:

The system cannot find the file specified

I would guess that either path name is still wrong or the missing file was never created.
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload Fails, can't find file
Reply #1 - Nov 8th, 2019 at 11:27am
Print Post  
Your output contains only half of the requested info. We can see that the tool chain can't be resolved {runtime.tools.bossac.path}

I suggest using board manager in the arduino ide to reinstall the Due/SAM tools. Uninstall then reinstall then restart vs.
« Last Edit: Nov 8th, 2019 at 11:34am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Dave Leddon
Junior Member
**
Offline


Posts: 17
Location: Danville, CA
Joined: Jun 11th, 2014
Re: Upload Fails, can't find file
Reply #2 - Nov 8th, 2019 at 4:25pm
Print Post  
I reinstalled the Due/SAM tools and now get a different error:
bossac.exe: extra arguments found

I can load the Blink demo to this same board directly from the Arduino IDE.
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload Fails, can't find file
Reply #3 - Nov 8th, 2019 at 7:30pm
Print Post  
Please make sure you switch on the other setting described above (show build properties) then post the output again.
  
Back to top
WWW  
IP Logged
 
Dave Leddon
Junior Member
**
Offline


Posts: 17
Location: Danville, CA
Joined: Jun 11th, 2014
Re: Upload Fails, can't find file
Reply #4 - Nov 9th, 2019 at 5:26am
Print Post  
I've looked but I can't locate "Show Build Properties" in Visual Micro.  This is an older version so perhaps it's called something else.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload Fails, can't find file
Reply #5 - Nov 9th, 2019 at 2:22pm
Print Post  
I now see that you are using visual micro in vs2013 alongside arduino 1.6 but you have installed the latest sam toolchain via board manager. It's not easy for us to support changes in toolchains for older versions of visual micro.

I can see in your latest report that the variable {upload.verify} is a new variable since the version for 2013 was release.

If your version of visual micro (you can see this in tools>extensions and updates) supports a local board.txt then you can add a workaround yourself.

On the Visual Micro "Add Code" menu there is an option to add a text file called board.txt to the project. You can also add one manually.

Put this one line in it and click save. Then try the upload again.

Code
Select All
upload.verify= 



  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint