My 24 hours-intel Galileo Gen 2 Getting Started

Source: Internet
Author: User

Intel Galileo Gen 2 Machine Road

In fact, the first time I heard to make this board when I was refused, because, you can not let me, I immediately go to engage, the first I want to try, because I do not want to put some special stunt up, board "crashed" a bit, very good, very good, so that people will scold me, there is no such board, To prove that the Intel board is fake. Later I also confirmed that they are really good, I used about a day, I feel good, and then I was engaged in the time also asked not to add stunts, because I want to let others see, I finished after this looks like, you finish after it will be like this!

Well, no kidding, the above is a joke, the following into the topic:

Probably the night before, from the seniors there got the board, exactly, this is my first contact with the development version of this kind of things, although has been in the school's embedded laboratory, but also has not contacted such things. In the afternoon has been playing Arduino, has not been introduced to get the Intel Galileo Gen 2, Baidu a bit, seems to be a very cow board, suddenly aroused interest, also want to take this opportunity to contact the embedded things.
then there's the 24-hour Intel Galileo Gen 2 Primer.

?

"My 24-hour-intel Galileo Gen 2 Primer"

Say, for me a person who has not had a board experience, the introduction is really difficult, the process is very rough and hard, the process is generally as follows:

    • Environment on Windows (failed)
    • Environment on Mac (failed)
    • Install Ubuntu (unfortunately blew up windows)
    • Environment on Linux (success)
    • Use the Arduino IDE on Ubuntu to swipe into sketch
    • Using FT232 to connect your computer to start debugging

There are many reasons for failure, but also very wonderful, including the USB cable is broken (I debug for several hours, changed a USB cable immediately after success, this feeling is like 10,000 grass mud horse in the heart Pentium and past), below I will talk about the process of success

To build the environment for Ubuntu download the required materials:
    • Arduino IDE
      32-bit Linux:
      Http://downloadmirror.intel.com/24783/eng/IntelArduino-1.6.0-Linux32.txz
      64-bit Linux:
      Http://downloadmirror.intel.com/24783/eng/IntelArduino-1.6.0-Linux64.txz
Install and start the Arduino IDE:
    • Unzip the downloaded installation package
    • Open terminal, CD to this directory
    • ./arduino (may also be required before, sudo chmod 777 Arduino)
    • The Arduino IDE is already open
Connect the Intel Galileo Gen 2 to your computer
    • Be sure to connect the power cord first!!!
    • Then connect the USB cable
Configuring the Arduino IDE
    • Open the Arduino IDE
    • Tools > Boards > Intel Galileo Gen2
    • Tools > Ports > Find the corresponding port (my is TTY.) ACM0)
Brush into Sketch
    • Select Blink in the sample program provided by the Arduino IDE
    • Then upload
    • Then you'll find permission denied debug information in the console.
    • Well, then open the terminal sudo chmod 777/dev/tty. ACM0 (meaning you know)
    • Again upload, success
    • And then you'll see, the L on the board, and so on, flashing.
Download the system image and extract it to the micro SD card by swiping the custom Linux into the board (Yocto)

    • http://downloadmirror.intel.com/24355/eng/SDCard.1.0.4.tar.bz2
    • Unzip to micro SD card, about 300 m
Booting Intel Galileo Gen 2 from SD card
    • Insert the micro SD card into the board and connect the power supply
    • If the SD light on the board is flashing, it is booting from the SD card, and the whole process takes less than a minute
Debug the board to prepare the material via serial port
    • FT232RL Serial to USB
    • Screen command: sudo apt-get install screen
Connecting boards and Computers via FT232
    • Wiring (ETC)
    • to power the board.
Start debugging
    • Execute command: sudo chmod 777/dev/tty.usb0 (find the corresponding device on your computer)
    • sudo screen/dev/tty.usb0 115200
    • This is what you will find in the terminal, the system boot information will appear, after the boot is completed will let you log in,
      Default login User: Root
      Default login Password: root
    • The system is logged into the board.
More:

Next article talk about how to swipe into the Debian system to Intel Galileo Gen 2

My 24 hours-intel Galileo Gen 2 Getting Started

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.