I’ve installed the sparkfun artemis board using the instructions Sparkfun provided. I’ve written a short ‘hello world’ program for the bare artemis module, but when I hit upload, I get his message:
Arduino: 1.8.9 (Windows 10), Board: "SparkFun Artemis Module, 115200, SparkFun Variable Loader (Recommended)"
Sketch uses 7524 bytes (0%) of program storage space. Maximum is 960000 bytes.
java.io.IOException: Cannot run program "C:\Users\me\AppData\Local\Arduino15\packages\SparkFun\hardware\apollo3\1.0.16/tools/artemis/windows/artemis_svl.exe": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2070)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 9 more
An error occurred while uploading the sketch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I get this error regardless of whether the uploader is plugged in.
It looks like something went wrong during the board definition installation process.
What you’re going to want to do is uninstall the Artemis boards through the board manager and then reinstall them.
It’s also possible if you have virus protection installed on your computer that it’s giving a false positive on the Artemis board files during installation and deleting some of them. You could try temporarily disabling protection while installing the board files and then compiling and see if that works. We’re still looking for a workaround on the false positive situation.
I have the Artemis ATP. I am having intermittent issues with uploading using the Arduino IDE. Often I get the error :
COM7 is currently open. Please close any other terminal programs that may be using COM7 and try again.
I just uploaded blinky twice, the third time I got the error. The forth time was fine. The fifth had the error and the sixth did not. It is very unreliable and annoying as the builds take soo long. I have updated the serial port driver, disabled and re-enabled, power cycled the board, reset the board. Nothing seems to make the issue go away. I just uploaded an eighth, ninth, and tenth time and they all failed.
I upgraded my OS from Win7 to Win10 64b. When the boards are powered up the programs are still operating correctly.
With Win 7, I was able to upload my two SparkFun Artemis Red board (Dev-15444), but now I can’t. I get this error message:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x99
I have checked baud rate, reinstalled the CH340 driver, switched boards, switched com ports, and tried to follow the many threads and tips, but I still can’t get it to work. I haven’t been able to verify which board and Programmer I should select under tools/ but I have selected Auduino Uno and AVRISP mkll.
@juhan FTDI programming is possible, check out this rather old post on the previous incarnation of the forum (there may be some others useful for you too): viewtopic.php?f=165&t=50764
I have been selecting the ATP board instead of the Module in Tools->Board because the module selection caused some problems a couple of versions ago and I haven’t gone back because “ain’t broke, don’t fix”, etc.
Just want to chime in about stephenf’s use of the ATP… that’s generally a fine idea. The ATP has direct pad->pin mapping as well as all the default peripherals you would expect (Serial, Serial1, SPI, Wire…). The Artemis module definition is more of a bare-bones template. The idea is that you would copy it, rename the variant however you like for your hardware, and then start adding the peripherals you want. (Say you want SPI to appear on a different set of pins…) So long story short the Artemis Module variant in the arduino core is a stripped-back nonfunctional template.
Makes me wonder if we should hide it? Or is the utility as a template worth the potential confusion?
Oh that’s interesting - I’d say it’s a bit pointless having it that way unless it’s well documented, somewhere that prospective developers will see it.
Even then, I would imagine that almost all developers (especially those using the Arduino IDE) would start with the working full-function ATP variant and change that file to suit their purposes, making the Artemis Module variant redundant. Certainly, that’s what I’d do.
Anything non-functional in the Arduino IDE seems at odds with the spirit of the thing.
stephenf: @allisoes, you might want to read one of the Artemis basic tutorials a bit closer:
Under… Tools → Board you should select Artemis Redboard (not Arduino Uno)
Under… Tools → Programmer you should select Ambiq Secure Bootloader
Both of these will stop your upload working
Thank you. I found out that since I did not see anything related to Artemis in IDE, that I failed to install additional boards Manage URL under preferences and therefore could not select the correct board.
Thanks again. Sometimes even the simple response triggers a way to resolution.