Hello,
I'm currently running into a problem after taking a break from working on my Arduino projects. I can build and deploy code with no issues from Arduino IDE, but in Visual Studio 2017 + Visual Micro Arduino Plugin I have issues getting things to work. The build seems to work correctly, but when I try uploading to my Arduino 101 I get the folllowing output:
Compiling 'MyProject' for 'Arduino/Genuino 101'
Program size: 88,192 bytes (used 57% of a 155,648 byte maximum) (2.36 secs)
Uploading 'MyProject' to 'Arduino/Genuino 101' using 'COM7'
Uploader started for board Arduino/Genuino 101
Upload method will be: bootloader
Uploading via Bootloader
0.1\arduino101load "-dfu={runtime.tools.dfu-util.path}" yProject.ino.bin" -port=COM7 "-v" -ble_fw_str="ATP1BLE00R-1631C4439" -ble_fw_pos=169984 -rtos_fw_str="" -rtos_fw_pos=0 -core=2.0.0
arduino101load 2.0.1 - compiled with go1.7.5
arduino101load 2.0.1 - compiled with go1.7.5
Starting download script...
Serial Port: COM7
BIN FILE ct.ino.bin
Waiting for device...
exec: not started
After comparing the output to Arduino's output, I can insert arduino1 in place of {runtime.tools.dfu-util.path} and the command works correctly, leading me to believe that visual micro can't properly find that util in my packages folder. (one thing maybe to note is that the arc-elf32-g++ compiler is under packages\Intel and the dfu util is under packages\arduino in this case - but when I installed the board set from visual micro board manager that folder seems to have also copied to the packages\Intel folder, too. Not sure if that's a significant detail, but maybe worth mentioning)
I've seen a couple other topics here about this util, and the only suggestion I've seen is to try uninstalling and reinstalling the Curie board set in the board manager, and I've tried doing that in some different combinations of:
* Reinstalling just the package only
* Deleting the package before reinstalling
* Deleting the package and cached download before reinstalling
* Installing from the Arduino IDE board manager
* Installing from the Visual Micro board manager
None of these options seem to work. For now my only workaround is to copy that command into command prompt and manually insert the path into the command
Question is: Is this a known issue? How can I get visual micro to properly find and insert {runtime.tools.dfu-util.path} into the load command?
Thanks,
Harrison