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 Visual Micro Download Arduino 101 program failed, Arduino IDE ok (Read 3731 times)
linggang
Newbies
*
Offline


Posts: 5
Joined: Apr 25th, 2017
Visual Micro Download Arduino 101 program failed, Arduino IDE ok
May 5th, 2017 at 8:30am
Print Post  
I have encountered this problem some time ago, then do not know why this problem did not appear. Today, we encounter this problem, Visual Studio compilation and download debugging information uploaded in the annex

Arduino Firmware Version 2.0.2

Hope to get help, thank you very much!
  

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: Visual Micro Download Arduino 101 program failed, Arduino IDE ok
Reply #1 - May 5th, 2017 at 11:10am
Print Post  
Hi,

Thanks for the output. The issue is that the dfu-util.path has not been resolved. This path is normally automatically discovered from the installed board manager core.

You can see this in your .txt output, normally you should not see {} but in the output we see {runtime.tools.dfu-util.path}

\arduino101load "-dfu={runtime.tools.dfu-util.path}" "-

Please open visual micro explorer > board manager in visual micro then click Rescan to see if the problem is resolved.

If the problem is not resolved then please turn on "vmicro>compiler>show build properties", then upload and post the .txt again.

Thanks
« Last Edit: May 6th, 2017 at 2:29pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
linggang
Newbies
*
Offline


Posts: 5
Joined: Apr 25th, 2017
Re: Visual Micro Download Arduino 101 program failed, Arduino IDE ok
Reply #2 - May 8th, 2017 at 2:32am
Print Post  
Hi
Thank you for your help, but the problem is still unresolved!
  

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


Posts: 5
Joined: Apr 25th, 2017
Re: Visual Micro Download Arduino 101 program failed, Arduino IDE ok
Reply #3 - May 8th, 2017 at 8:51am
Print Post  
Hi
I found a solution to this problem:

Add the file dfu-util in the Arduino IDE compilation path:
C: \ Users \ XXX \ AppData \ Local \ Arduino15 \ packages \ Intel \ tools

The file dfu-util can be found in the Intel sibling directory
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro Download Arduino 101 program failed, Arduino IDE ok
Reply #4 - May 8th, 2017 at 7:11pm
Print Post  
Thanks that is useful.

Visual Micro scans the folders to find whatever is installed. It looks like the dfu-util for intel is being overridden the discovery of dfu in another app. 

1)
In your first/previous report the dfu-util path was not found at all. 

It should be in C:\Users\[name]\AppData\Local\arduino15\packages\arduino\tools\dfu-util\0.9.0-arduino1

Does the folder exist and contain the dfu-util?

2)

In the arduino ide, please switch on file>preferences>verbose upload and verbose compile 

Then build/upload with arduino and post the output as a .txt



Thanks
« Last Edit: May 8th, 2017 at 7:12pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint