Click here to Skip to main content
15,886,873 members
Articles / Internet of Things / Arduino
Article

Arduino for Intel® IoT Platforms Troubleshooting and FAQ

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
13 Apr 2015CPOL2 min read 7.4K   1  
This guide contains troubleshooting information and answers to common questions about programming your Intel® Galileo or Intel® Edison board using the Arduino* IDE.

This article is a sponsored article. Articles such as these are intended to provide you with information on products and services that we consider useful and of value to developers

1- Retry 0: Got TIMEOUT when trying to connect using the Intel Arduino IDE

One solution:

log in via SSH, or serial, and delete or rename /sketch/sketch.elf file, and then reboot, or at minimum kill the existing running sketch.elf process. Its particularly an issue with porting over a simple Arduino example, or running the AnalogReadSerial, or DigitalReadSerial examples from the IDE. The Intel IoT platforms share the USB connection with the Serial Monitor, unlike a standard Arduino.

Another solution:

This is for OSX specifically, Windows may have a similar issue if you are accidentally using the wrong COM port.

If you are using Intel Arduino IDE with either Intel Galileo or Intel Edison and you are getting the following error: Retry 0: Got TIMEOUT – it is likely that your IDE has automatically selected the wrong serial port by default.

Click Tools -> Serial Port -> /dev/cu.usbmodemXXXX. There may be several, try a couple of them with the Blink sketch to find the proper one.

Note: Don’t try to use the serial port with naming convention /dev/cu.usbmodel-XXXXXXX (8 characters and a dash).

This may also help for Retry 0: Timeout on pathname and Transfer Incomplete. This error may occur if you plug in two Micro-USB cables into the Arduino breakout board. The first cable (when plugged into the middle micro-USB port) will reveal a number of ports specifically for use with Arduino. If you plug in a second cable, you will get two more which are useful for getting terminal access to Edison but will confuse Arduino IDE.

2- Unable to deploy code using with the Arduino IDE in Windows

  • Be sure to select the Virtial COM Port and NOT the standard COM Port in the port dropdown
  • If you are using a 12V adapter to power your board, be sure that your micro-USB cable is connected to middle USB port
  • You can follow this step-by-step tutorial for proper setup

3- Failed to initialise Arduino board TriState

If you are getting "Intel Edison Failed to initialise Arduino board TriState, check i2c devices! FATAL," your copy of libMRAA is out of date or simply not installed.

Run the following commands:

Get access to the new Intel® IoT Developer Kit, a complete hardware and software solution that allows developers to create exciting new solutions with the Intel® Galileo and Intel® Edison boards. Visit the Intel® Developer Zone for IoT.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
You may know us for our processors. But we do so much more. Intel invents at the boundaries of technology to make amazing experiences possible for business and society, and for every person on Earth.

Harnessing the capability of the cloud, the ubiquity of the Internet of Things, the latest advances in memory and programmable solutions, and the promise of always-on 5G connectivity, Intel is disrupting industries and solving global challenges. Leading on policy, diversity, inclusion, education and sustainability, we create value for our stockholders, customers and society.
This is a Organisation

42 members

Comments and Discussions

 
-- There are no messages in this forum --