Closed
Description
Issue
First time I tried to compile & upload example Example8_BLE_LED
after installing SF Apollo core via the Arduino IDE:
CreateProcess error=225, Operation did not complete successfully because the file contains a virus or potentially unwanted software at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
Then Windows removesd the file from the system. When I tried to run again it failed to locate the file:
java.io.IOException: Cannot run program "C:\Users\lordbunson\AppData\Local\Arduino15\packages\SparkFun\hardware\apollo3\1.0.15/tools/artemis/windows/artemis_svl.exe": CreateProcess error=2, The system cannot find the file specified
Details
- Platform: Windows 10 Pro Version 1809 OS build 17763.805
- Device: Artemis Nano
- How is device wired: USB C to USB C
- How is everything being powered? USB C
- Are there any additional details that may help us help you?
- Only antivirus is Windows Defender.
- I believe I was able to upload
Example1_Blink
once from 1.0.15 before this happened, but now it triggers on any Artemis example. - If you try to click on the file after a fresh install a dialog pops up with the original error, then the file is removed from the system.
- This happens regardless of whether you install via the official
package_sparkfun_index.json
via boards manager or by cloning from GH. It also does not seem to matter what branch I am on. - Rerpo'd with 1.0.15, 1.0.14 and core-ble branch.
Repro
From git bash or WSL:
# backup Arduino installed board
mv ~/AppData/Local/Arduino15/packages/SparkFun/hardware/apollo3/1.0.15 1.0.15.bak
# clone from GH
git clone https://github.com/sparkfun/Arduino_Apollo3.git ~/AppData/Local/Arduino15/packages/SparkFun/hardware/apollo3/1.0.15
Press Win+R
to open up run, enter %userprofile%/AppData/Local/Arduino15/packages/SparkFun/hardware/apollo3/1.0.15/tools/artemis/windows/
to open the directory in explorer.
Now you can double click the file to see the error dialog watch it get deleted in real time.
It's easy to rinse and repeat by simply running a git checkout tools
to bring the exe back.
Metadata
Metadata
Assignees
Labels
No labels