Intel Edison Tutorial 1 Introduction
Intel Edison Tutorial 1 Introduction
Intel Edison Tutorial 1 Introduction
Introduction
Table of Contents
Introduction..................................................................................................................... 3
Things Needed ................................................................................................................ 3
Edison Overview ............................................................................................................ 4
Assembling the Edison board with the Arduino Breakout Board ............................. 5
Updating Firmware ......................................................................................................... 8
Running an Arduino Sketch ........................................................................................ 13
Appendix: Firmware Update Troubleshooting .......................................................... 16
Reference ...................................................................................................................... 16
Revision history
Version
Date
Comment
1.0
9/16/2015
First Draft
1.1
9/23/2015
Initial Release
1.2
12/12/2015
1.3
1/5/2016
Introduction
In this tutorial, you will:
1. Go over a brief overview of the Intel Edison,
2. Assemble your Edison board with the Arduino breakout board,
3. Learn to update the firmware for the Intel Edison, and
4. Learn to upload Arduino sketches to the Intel Edison.
Things Needed
1. An Intel Edison with Arduino-compatible breakout
2. Two micro USB cables
3. A powered USB hub or an external power supply
4. A computer
Edison Overview
Key Features
High performance, dual-core CPU and single core micro-controller supports complex data
collection in a low power package
Integrated Wi-Fi, Bluetooth Low-Energy* (LE), memory, and storage simplifies
configuration and increases scalability
40 multiplexed GPIO interfaces with expansion board options for total project design and
flexibility
Managed online community for project ideas and engagement with other product users
Intel product expert support and open source community software tools
Access to device-to-device and device-to-cloud connectivity framework to enable cross
device communication and a cloud based, multi-tenant, time-series analytics service
Information taken from https://www-ssl.intel.com/content/www/us/en/do-ityourself/edison.html.
You may find inspiring Intel IoT (Internet-of-things) projects at
http://www.instructables.com/id/intel/.
5. Attach the corner placers with the screws on the four corners of the Arduino Breakout.
6. Now, the board is assembled! Lets look at some of ports and switch on the right side of the
breakout board.
Figure 6. Ports
Updating Firmware
Note: The method provided in this section may be different from Intels official method. Please
adhere to the steps described below to avoid problems. If you cannot finish this section
successfully, refer to Appendix for troubleshooting.
1. Toggle the switch (refer to Figure 6) to enable device mode.
2. Connect a micro USB cable to the multi-gadget micro USB port and follow either of two
computer and the USB cable to the USB hub. Otherwise, your Edison may not be
supplied with enough power and reboot occasionally.
2. If you are using an external power supply for your Edison, a powered USB hub may not
4. Unplug the USB cable from the Edison boards multi-gadget port and make sure the Edison
Windows
1. Follow the instruction on https://software.intel.com/en-us/get-started-edison-windows-32-
dison/downloads.
3. Extract the downloaded file to a folder.
4. Download dfu-util.exe at https://www.dropbox.com/sh/jhzwqm355guccj9/AACvh1Nrv69N
Kt-LZXWtCDyia?dl=0.
5. Put dfu-util.exe into the folder you extracted the image to.
6. Double-click on a Windows Batch file named flashall in the folder.
7. When you see a message Please plug and reboot the board, plug a USB cable into the multi
-gadget port and wait for a few second for your Edison to finish booting.
8. Do NOT unplug the cable while the installation process is running.
9. Once this process is successfully finished, your Edison now runs the latest firmware.
10. You are now ready to build systems on this platform!
Mac OS X
1. Download the latest Yocto complete image at https://software.intel.com/en-us/iot/hardware/e
dison/downloads.
2. Extract the downloaded file to a directory.
3. Open Terminal.
4. Navigate to the directory you extracted the image to. If you are not familiar with the comman
tall)"
6. $ brew install dfu-util coreutils gnu-getopt
7. $ sudo ./flashall.sh
8. Enter your Mac login password when you are asked for password.
9. If you get an error message permission denied, enter chmod +x flashall.sh and then
repeat Step 7.
10. When you see a message Please plug and reboot the board, plug a USB cable into the multi
-gadget port and wait for a few second for your Edison to finish booting.
11. Do NOT unplug the cable while the installation process is running.
10
12. Once this process is successfully finished, your Edison now runs the latest firmware.
13. You are now ready to build systems on this platform!
Linux (Ubuntu)
1. Download the latest Yocto complete image at https://software.intel.com/en-
us/iot/hardware/edison/downloads.
2. Extract the downloaded file to a directory.
3. Open Terminal.
4. Navigate to the directory you extracted the image to. If you are not familiar with the
repeat step 7.
11
9. When you see a message Please plug and reboot the board, plug a USB cable into the
multi-gadget port and wait for a few second for your Edison to finish booting.
10. Do NOT unplug the cable while the installation process is running.
11. Once this process is successfully finished, your Edison now runs the latest firmware.
12. You are now ready to build systems on this platform!
12
arduino-)
4. Open the Arduino software.
5. Choose Tools -> Board -> Boards Manager.
6. In the list of boards, choose Intel i686 Boards and install.
13
Windows: The port is likely to be COM3 or higher and named Intel Edison Virtual
COM Port.
https://software.intel.com/en-us/articles/intel-iot-platforms-blink-led-arduino-ide.
5. Go to File -> Examples -> 01.Basics -> Blink to open Blink sketch. This sketch writes
14
6. In the upper left corner, click on the icon with the check mark to verify the code and then,
click on the icon with right arrow to upload the sketch to the board.
8. If not, check the board selection and the port selection (steps 3 and 4).
9. You should see a blinking LED on your board.
15
References
1. https://software.intel.com/en-us/iot/library/edison-getting-started
2. https://software.intel.com/en-us/articles/flash-tool-lite-user-manual
3. https://software.intel.com/en-us/articles/install-arduino-ide-on-intel-iot-platforms
4. https://software.intel.com/en-us/articles/intel-iot-platforms-blink-led-arduino-ide
16