Arduino IDE issues
An Arduino example fails to build
Verify that all required libraries are installed and up to date, and check the Arduino integrated development environment (IDE) configuration. To verify installation of current required libraries- In the Arduino IDE, from the Sketch menu, click Include Library.
- Click Manage Libraries.
- In the Type box, choose Installed.
- In the list, verify that DeviceKit appears. DeviceKit is the Alexa Connect Kit library that you install when you run
arduino.batorarduino.sh. - In the Type list, choose Updatable.
- If a library appears in the list, next to the library, click Update to update to the latest version.
- Board is set to Arduino/Genuino Zero (Programming Port).
- Programmer is set to AVRISP mkII.
- Port is set to the port where you connected your Arduino Zero. For Mac OS and Linux, the port is
"/dev/cu.usb..."or"/dev/ttyUSBn". For Windows, the port is"COMn". - USB is connected to the programming port on the Arduino Zero. If you see the error “No valid JTAG Interface configured”, the USB cable might be plugged into the native port instead of the programming port. For more information, see Arduino Zero.
An Arduino IDE error shows invalid library
An error might occur if you unzipCeilingFanWithLight.zip to the Arduino libraries folder.
Instead, unzip CeilingFanWithLight.zip to a folder of your choice. Then, to export the example file to the Arduino IDE, use the setup.py script.
An error shows no valid JTAG interface configured
When you try to upload a sketch, you receive the following error message.- You’re using a power-only USB cable. To solve this problem, replace the power-only USB cable with a data-transfer USB cable. For details, see Arduino support.
- Your USB cable might be plugged in to the Arduino Zero native port instead of the programming port. For details, see Step 2: Physically Connect the Boards.
- In the Arduino IDE, click Tools.
- Click Port.
- Look for a COM port that contains the text Arduino Zero (Programming Port).
An error while uploading a sketch shows an unexpected command line argument
When you try to upload a sketch, you receive the following error message.An error occurs while uploading a sketch (Linux only)
If you’re a Linux user, the following error might occur when you attempt to upload the sketch to the Arduino Zero, even if you successfully compiled the code.arduino-linux-setup.sh bash script that comes in the Linux Arduino IDE install package. Then log out of your computer, and log back in.
You can’t find the Arduino examples
Make sure that you run thesetup.py script, which copies the project files to a location accessible by the Arduino IDE. If you run the script and can’t find the examples, close and then reopen the Arduino IDE.
General development kit issues
You can’t tell which registered device corresponds to your development kit
Verify that the registered device shown in the Alexa app has the same serial number as your hardware development board. To check the serial number of your registered device- Open the Alexa app.
- On the main menu, choose Settings.
- Choose Device Settings.
- Find the name of your device.
- In the list of device settings, choose About.
- View the serial number of your device.
The development board is on, and the status LED is off
When you connect the development board to the Arduino Zero, you must power the development board through the Arduino Zero. In other words, the combined development kit must be powered through the Arduino Zero. For debugging, you can optionally connect a USB cable to the debug port on the development board.You see an error message when you run the setup.py script
If you see an error message like the following when you runsetup.py, use the --targetroot argument to specify the Arduino Document library location.
setup.py is unable to find the Arduino Documents directory.
Use --targetroot to tell the setup.py script where the Arduino Documents library is. Specify the location as a --targetroot argument.
When you tell Alexa to turn on your device, the LED flashes or is off
Verify that the LED is connected correctly. For details, see Control the Smart Light and Development Kit Components.After connecting Alexa to your device, the device is unresponsive
If using an ACK module with Espressif chipset, take the following steps.- Use the Module Utility to update the firware to the current version.
- Verify that you have the most up-to-date ACK device SDK. If you don’t, download it and then re-upload your example program to your Arduino.

