Comments: Artemis Development with Arduino
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.
If you've found an issue with this tutorial content, please send us your feedback!
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?
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.
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.
We will look into that ASAP. Thank you for the heads up!
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
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!
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.
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!
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.
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).
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.
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
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.
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).
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:
Let's move this discussion to GitHub. https://github.com/sparkfun/Arduino_Apollo3/issues/4
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.