Advertisement

Quick Links

Galileo Getting Started Guide
learn.sparkfun.com tutorial
Available online at:
Contents
Introduction
Introduction
The
Galileo
is Intel's toe-dip into the Arduino waters. It features their
a relatively new, x86-based, low-power embedded system-on-a-chip. The 32-bit processor can run
at up to 400MHz, and it has 512 KB SRAM built-in. The Galileo board supports the Quark with a
wide range of external peripherals.
http://sfe.io/t157
Page 1 of 20
a
Quark SoC X1000
processor -

Advertisement

Table of Contents
loading

Summary of Contents for Galileo Quark SoC X1000

  • Page 1: Table Of Contents

    – a relatively new, x86-based, low-power embedded system-on-a-chip. The 32-bit processor can run at up to 400MHz, and it has 512 KB SRAM built-in. The Galileo board supports the Quark with a wide range of external peripherals. Page 1 of 20...
  • Page 2 As far as memory goes, the Galileo has a lot of it. There’s 8MB Flash (to store firmware), an 11KB EEPROM (non-volatile memory), and a µSD socket (which supports up to 32GB µSD cards). In addition to the memory, there are all sorts of peripherals: 10/100Mb Ethernet, USB 2.0 host and device ports, an RS-232 port, and a mini PCI Express (mPCIE) socket.
  • Page 3: Board Overview

    What is an Arduino? Serial Terminal Basics Voltage, Current, Resistance, and Ohm’s Law What is a Circuit? Board Overview Here’s an overview of the connectors and parts surrounding the Quark processor to form the Galileo board: Page 3 of 20...
  • Page 4 Reboot Button – Pressing this button will reboot the entire Galileo – Linux included. Boot time is about 30 seconds, so don’t press this accidentally! Pin 13 LED – As with most Arduinos, the Galileo ties a small, on-board LED to pin 13. Great for the Blink sketch! Arduino Reset Button –...
  • Page 5 Flip the Galileo over to find the one highlight on the bottom side of the board: the mini PCIe (Peripheral Component Interconnect Express) socket. This socket is most useful for attaching WiFi cards to give your Galileo easy, wireless network access.
  • Page 6: Software Download/Setup

    The Arduino Galileo is so wildly different from any other Arduino platform – it’s x86-based, and most commands are sent via the Linux terminal. As such, an entirely re-purposed version of the software is required to upload an Arduino sketch to the board. Click the link below to download the Galileo- ized Arduino IDE:...
  • Page 7 (arduino-1.5.3), or rename it to something descriptive, just make sure there are no spaces in the name of the directory. Examples Windows directory structure. The Arduino Galileo 1.5.3 software is installed at the top level (C:/) of the drive.
  • Page 8: Driver Installation

    This process differs on each operation system, follow the directions below that pertain to your OS: Windows Mac OS X Linux Windows Driver Install 1. Connect a 5V power supply to the Galileo. (The USB port alone cannot supply enough power to run the Galileo.) Page 8 of 20...
  • Page 9 2. Connect a micro-B USB cable from the Galileo’s USB Client port to an available USB socket on your computer. 3. Upon connecting the board, Windows will automatically attempt to install the driver and, unsurprisingly, it will fail. We’ll have to manually install the driver.
  • Page 10 Mac OS X Driver Install Mac has built-in driver support for the Galileo, so this setup should be easy. Follow the steps below to install the board on your machine: 1. Begin by connecting 5V power to the Galileo.
  • Page 11: Linux Driver Install

    4. You can also check under the Network tab to find the Device Name of your Galileo. It should be something like usbmodemXXXX. Keep that name in mind as we go to the next step, updating firmware. Linux Driver Install Like Mac, drivers are not necessary to use the Galileo with Linux.
  • Page 12 /dev/cu.usbmodemXXXX (make sure it’s the cu option) that matched what you found in the System Information panel. Board Selection Under the Tools > Board menu, make sure Intel ® Galileo is selected. (Not that you have any other choice.) Step 3: Firmware Update...
  • Page 13: Uploading Blink

    While the progress bar zooms across your screen, make sure you don’t unplug either power or USB from the Galileo. As the pop-up says, the update procedure will take about five minutes. A Target Firmware Upgraded Successfully pop-up will appear after the update completes.
  • Page 14: Troubleshooting

    In general, if you’re having any trouble, try rebooting your Galileo (unplug everything, wait a few seconds, plug back in, wait for the boot-up to complete) to see if it fixes it. If that doesn’t work, try rebooting your computer.
  • Page 15: Using The Terminal

    Using the Terminal What makes the Galileo truly unique is the fact that it has Linux running under the hood. You can interact with the Linux OS through the terminal, executing simple commands through a command- line interface.
  • Page 16 Once that’s uploaded, you’ll need to open up a separate serial terminal program (not the Serial Monitor). Set the serial port to the same as your Galileo, and set the baud rate to 115200. See the below section for help using Linux.
  • Page 17: Bigger" Linux Image

    "Bigger" Linux Image With the on-board flash memory, the Galileo has a limited amount of space to store its Linux kernel. As such, the default Linux image is a bit gimped in terms of extra features. But with an SD card, we...
  • Page 18 Extract the contents of the 7z file to the top level of your SD card. Once unzipped, this is what your SD directory structure should look like. Power down your Galileo (remove both USB and 5V power), and plug in the µSD card. Then power it back up.
  • Page 19: Resources And Going Further

    Doing a bit of math and printing with Python. Python and the other utilities enabled by the bigger image allow the Galileo to do some really neat stuff. There are all sorts of applications where Python fits right in. Check out our...
  • Page 20 Raspberry Pi Twitter Monitor – This is a project that could easily be ported over to the Galileo – a Python-running, Twitter-reading, LED blinker. Getting Started with Raspberry Pi: Setting Up Raspbian –...

Table of Contents