Comments: Artemis Development with Arduino

Pages

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #810078 / about 4 years ago / 1

    Can two Artemis Nanos be programmed to operate as a master\slave pair, communicating only with each other? If so, are there any guides to setup the bluetooth master\slave link and then send test signals between two Artemis Nano boards?

    • Ell C / about 4 years ago * / 1

      Well, if you're looking for master/slave hardware comm protocols, it's possible, but not currently supported by Arduino via SPI or I2C. You could likely do two way communication with Serial though. If you're asking about BLE specifically, the AmbiqSuite SDK has two examples that work together to demonstrate that kind of capability. They are called 'ble_freertos_amdtpc' and 'ble_freertos_amdtps' for client and server respectively. Those examples are located underneath the 'apollo3_evb' board from Ambiq. It will take a little more effort than using Arduino but those are a good place to begin.

      If you need more technical help, try the forums - specifically the Artemis Forums.

  • Just so you know, installing the tiny branch for the Atto84 (as per your instructions) will cause Arduino IDE 1.8.10 to overwrite the file that contains artemis board definitions with a file that doesn't contain them.

    • Liquid Soulder / about 4 years ago / 2

      We have a temporary fix in place - you should be able to get both packages simultaneously now. Use the new link for the Atto84 package index JSON file. In the future we might adopt a more permanent solution so check back occasionally.

    • Ell C / about 4 years ago / 2

      We will look into that ASAP. Thank you for the heads up!

  • Member #101669 / about 5 years ago * / 1

    Connecting Artemis Nano to arduino gave an error that the port was already open.

    Artemis SVL Bootloader

    phase: setup cleared startup blip /dev/ttyUSB0 is currently open. Please close any other terminal programs that may be using /dev/ttyUSB0 and try again. Sketch uses 7348 bytes (0%) of program storage space. Maximum is 960000 bytes. /home/chris/.arduino15/packages/SparkFun/hardware/apollo3/1.0.4/tools/artemis/linux/artemis_svl /dev/ttyUSB0 -f /tmp/arduino_build_995052/Blink.ino.bin -b 921600 -v

    Artemis SVL Bootloader

    phase: setup cleared startup blip /dev/ttyUSB0 is currently open. Please close any other terminal programs that may be using /dev/ttyUSB0 and try again.

    However.... If I open the serial monitor and switch to 9600 baud it shows this. T⸮⸮Test Artemis Nano Failed pin 15 Failed pin 13 Failed pin 11 Failed pin 9 Failed pin 7 Failed pin 5 Failed pin 3 Failed pin 1

    • Ell C / about 5 years ago / 1

      Hi!

      The bootloader has been a tricky subject, and since this feedback section is for explicit issues in the tutorial documentation, can I recommend that you try posting a topic in our forums?

      There's a link in the banner at the top of the troubleshooting section. Thisis the best way to get hold of our technical support team - they can get more information and will do their best to assist you.

      Thank you!

  • Member #885302 / about 5 years ago * / 1

    I too am getting the same exact error messages as member 1529870 when trying to run Blink on my MacBook Pro with the Blackboard Artemis ATP. An Arduino Uno and a Mega 2560 both work fine. Works fine on windows.

    • Liquid Soulder / about 5 years ago / 1

      Thanks for the report. This should be fixed in version v1.0.1 of the Arduino Core. Update with the Boards Manager and let us know if that fixes it!

      • Member #449929 / about 4 years ago / 1

        I just got an Artemis Nano and I can't upload Example1_Blink because of a very similar error: Sketch uses 7396 bytes (0%) of program storage space. Maximum is 960000 bytes.

        Artemis SVL Bootloader COM3 is currently open. Please close any other terminal programs that may be using COM3 and try again.

        I'm running Windows 10 Pro, Arduino 1.8.8, and SparkFun Apollo3 1.0.17.

        • santaimpersonator / about 4 years ago / 1

          Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Our technical support team will do their best to assist you.

          Double check that you have the driver installed for the CH340 (or whatever USB to serial converter chip you are using).

  • Member #1529870 / about 5 years ago * / 1

    I am getting some major errors after recently purchasing a Blackboard Artemis and following the steps to install the boards. Any help? I am trying to run Blink but am unable and get this.

    Arduino: 1.8.9 (Mac OS X), Board: "SparkFun Artemis Module, 921600, SparkFun Variable Loader (Recommended)"
    Sketch uses 7164 bytes (0%) of program storage space. Maximum is 960000 bytes.
    java.io.IOException: Cannot run program "/Users/***/Library/Arduino15/packages/SparkFun/hardware/apollo3/1.0.0/tools/ambiq/macosx/artemis_svl/artemis_svl": error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
        at java.lang.Runtime.exec(Runtime.java:620)
        at java.lang.Runtime.exec(Runtime.java:485)
        at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)
        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: error=2, No such file or directory
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
        at java.lang.ProcessImpl.start(ProcessImpl.java:134)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        ... 11 more
    An error occurred while uploading the sketch
    Invalid library found in /Users/***/Library/Arduino15/packages/SparkFun/hardware/apollo3/1.0.0/libraries/CoreTesting: no headers files (.h) found in /Users/***/Library/Arduino15/packages/SparkFun/hardware/apollo3/1.0.0/libraries/CoreTesting
    Invalid library found in /Users/***/Library/Arduino15/packages/SparkFun/hardware/apollo3/1.0.0/libraries/CoreTesting: no headers files (.h) found in /Users/***/Library/Arduino15/packages/SparkFun/hardware/apollo3/1.0.0/libraries/CoreTesting
    

    I think this might be because I'm on mac actually. It works on windows. I'm gonna leave this up incase anyone else has this problem

    • Liquid Soulder / about 5 years ago / 1

      Thanks for letting us know about this, there was a mistake in a filepath to the uploader tool for Mac and Linux. It should fixed in version 1.0.1 of the Arduino core which is now available (just update through the Boards Manager). Please let us know if this fixes the problem for you.

  • TomWS / about 5 years ago * / 1

    Yeah, thanks for the steps. Unfortunately the steps didn't work on my Ubuntu 16.04, Arduino IDE 1.8.5 configuration. After purging anything related to Sparkfun (in IDE preferences), restarting with a fresh copy of the above referenced JSON file, and selecting the Apollo3 install, I finally got to the message (paraphrasing) "Sorry, we don't have the tool chain for your installation"

    Actually, the error message is: "Tool arm-none-eabi-gcc is not available for your operating system." Which is really curious since I've been using this tool chain for all my nrf52832 development.

    UPDATE: I discovered one problem is that I had another Sparkfun entry in the preferences file, https://raw.githubusercontent.com/sparkfun/Arduino_Boards/nrf5/IDE_Board_Manager/package_sparkfun_index.json and this was overwriting the update with the Apollo3 boards (I didn't noticed that the target file had the same name). Also, I was able to install the tool chain on my Windows7 system, so it must be unique to Ubuntu (maybe a version issue?)

    Second and final UPDATE: I spoke too soon about the installation, as soon as I selected the Artemis ATP board I got a slew of error messages: "Invalid library found in C:\Users*****\AppData\Local\Arduino15\packages\SparkFun\hardware\apollo3\1.0.0\libraries\CoreTesting: no headers files (.h) found in C:\Users*******\AppData\Local\Arduino15\packages\SparkFun\hardware\apollo3\1.0.0\libraries\CoreTesting" Then, when I built the basic Blink example (none of the Artemis specific examples show up) I got a bunch of errors related to files not found (this is most likely due to the fact that my user name has a space in it - I've seen this before with other build scripts).

    • Liquid Soulder / about 5 years ago / 1

      Hi TomWS,

      The errors about the invalid library are expected for now and should have no impact on performance.

      The toolchain problem is good to hear about - thanks. With the Apollo3 core we are trying to transition from the 2014 arm-none-eabi-gcc tools (which are used in many Arduino cores such as SAMD21 and perhaps NRF) to the 2018 tools. I think there are a couple possible snagging points:

      1. Perhaps there is a path name conflict between the two versions of the tools since they both go under directories called 'arm-none-eabi-gcc' at some point. However the 2018 tools installed by SparkFun's package should be under 'packages/SparkFun' instead of 'packages/arduino'
      2. In the JSON file we've provided these tools for the host types "i386-apple-darwin11," "i686-linux-gnu," and "i686-mingw32." If Arduino detects your host type as something other than these options I would expect to see an error along the lines of what you presented ("Sorry, we don't have the tool chain for your installation"). We could add copies of the tools with different host names - but we would need verification that they work.
      3. The JSON link you were using is based on the 'nrf5' branch of the Arduino_Boards repo, which I don't think is maintained... Or at least I am not sure right now what it is used for. (I.e. can you get both BRF5 and Apollo3 packages from the master branch of the repo?)
      4. Can you provide more specifics about which files aren't found when you build 'Blink?'

      Let's move this discussion to GitHub. https://github.com/sparkfun/Arduino_Apollo3/issues/4

    • santaimpersonator / about 5 years ago / 1

      Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above or the steps in the troubleshooting section, to get started with posting a topic in our forums. We have additionally created a forum section dedicated to questions on the Artemis. Once you have created a post, our technical support team will do their best to assist you.


If you've found an issue with this tutorial content, please send us your feedback!