Hi everyone,
I’m getting a very strange and quite vague error here that I’ve never seen before. When I attempt to either compile or upload a sketch (any sketch, even blink), the following happens:
The first time I upload or compile, the sketch is able to compile or successfully upload to the board as evidenced by my first uploading a blank sketch and then uploading blink.
The second time I press upload, I get the following error output from my console (verbose):
C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\hardware -hardware C:\Users\h366217\AppData\Local\Arduino15\packages -tools C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\tools-builder -tools C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr -tools C:\Users\h366217\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\libraries -libraries C:\Users\h366217\Documents\Arduino\libraries -fqbn=SparkFun:apollo3:amap3redboard:svl_baud=921600,loader=sparkfun_svl -vid-pid=1A86_7523 -ide-version=10812 -build-path C:\Users\h366217\AppData\Local\Temp\arduino_build_398506 -warnings=none -build-cache C:\Users\h366217\AppData\Local\Temp\arduino_cache_270339 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\h366217\AppData\Local\Arduino15\packages\SparkFun\tools\arm-none-eabi-gcc\8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=C:\Users\h366217\AppData\Local\Arduino15\packages\SparkFun\tools\arm-none-eabi-gcc\8-2018-q4-major -verbose C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\examples\01.Basics\Blink\Blink.ino
C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\arduino-builder -compile -logger=machine -hardware C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\hardware -hardware C:\Users\h366217\AppData\Local\Arduino15\packages -tools C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\tools-builder -tools C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr -tools C:\Users\h366217\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\libraries -libraries C:\Users\h366217\Documents\Arduino\libraries -fqbn=SparkFun:apollo3:amap3redboard:svl_baud=921600,loader=sparkfun_svl -vid-pid=1A86_7523 -ide-version=10812 -build-path C:\Users\h366217\AppData\Local\Temp\arduino_build_398506 -warnings=none -build-cache C:\Users\h366217\AppData\Local\Temp\arduino_cache_270339 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\h366217\AppData\Local\Arduino15\packages\SparkFun\tools\arm-none-eabi-gcc\8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=C:\Users\h366217\AppData\Local\Arduino15\packages\SparkFun\tools\arm-none-eabi-gcc\8-2018-q4-major -verbose C:\Users\h366217\Documents\arduino-1.8.12-windows\arduino-1.8.12\examples\01.Basics\Blink\Blink.ino
Using board 'amap3redboard' from platform in folder: C:\Users\h366217\AppData\Local\Arduino15\packages\SparkFun\hardware\apollo3\1.0.29
Using core 'arduino' from platform in folder: C:\Users\h366217\AppData\Local\Arduino15\packages\SparkFun\hardware\apollo3\1.0.29
Detecting libraries used...
Error compiling for board SparkFun RedBoard Artemis.
If I then change, say, to a different COM port, or reduce the baud rate, I am again able to upload the first time but not on subsequent attempts in the same manner as above.
What I have attempted thus far:
Restarting my PC after reinstalling the Arduino IDE after deleting my Arduino15 folder in appdata\local
Using the portable version of the IDE.
Attempting the previous process with both a second Sparkfun Artemis Redboard, and also with a regular Arduino Uno. The results have been identical so far as I can tell.
I am running Arduino in the following environment:
Windows 10 x64 with 32 GB RAM
Arduino IDE version 1.8.12
Has anyone else ever encountered this error before and dealt with it successfully? At this point I am suspecting interference from some other program installed on my work PC.
Thanks for any and all assistance.