Berlin roadshow eclipse session final

Post on 06-Aug-2015

140 views 6 download

Tags:

Transcript of Berlin roadshow eclipse session final

Intel Confidential — Do Not Forward

Eclipse/ C C++ breakout session

2Intel Confidential — Do Not Forward

Intel® Edison Setup

Intel Confidential — Do Not Forward

Main steps to go through

Assemble your Edison board

Connect to your Edison board to :

• configure the board

• get the board online

Install your IDE of choice on your development PC

Run a ( blinking LED ) sample application

4Intel Confidential — Do Not ForwardClick icon to add picture

Full Bleed Image Example

Intel Confidential — Do Not Forward

Intel Confidential — Do Not Forward5

Connect to your Edison boardPrerequisite for windows development systems

Install FTDI serial & USB drivers

Intel Confidential — Do Not Forward

Assemble your Edison board

Intel Confidential — Do Not Forward7

Connect to your Edison board

Intel Confidential — Do Not Forward8

Connect to your Edison boardPrerequisite for windows development systems

Install FTDI serial & USB drivers

IntelEdisonDriverSetup1.2.1.exeCDM v2.12.00 WHQL Certified.exe

Intel Confidential — Do Not Forward9

Setup Edison … here at the Roadshow

Flash firmware onto Edison :

Unzip firmware

into

Edison drive ( e.g. D: )

edison-image-ww05-15.zip7z920-x64.msi

Intel Confidential — Do Not Forward10

Setup Edison … here at the Roadshow

OS X caveat :

Right-click the Edison partition and check if it is formatted as FAT16.

If NOT FAT 16 OK

Else

Open Disk Utility

click CD Gadget Media drive

repartition it as one MS-DOS (FAT)

This changes the partition to FAT32 format.

Intel Confidential — Do Not Forward

Setup Edison…at home…and for now…only Windows

Intel Confidential — Do Not Forward12

Setup Edison … here at the Roadshow

Intel Confidential — Do Not Forward

Connect via serial e.g. using PuTTy*, goSerial* or minicom* resp

User: root, no password

* Other names and brands may be claimed as the property of others.

Intel Confidential — Do Not Forward14

‘ configure_edison --setup ‘

14

Intel Confidential — Do Not Forward15

Done …

Intel Confidential — Do Not Forward

Final check• Find IP address ( ip a ) and write down – need it to connect to IDEs

• Ping between PC and Edison to check connectivity

17Intel Confidential — Do Not Forward

Eclipse IDE Setup & Walkthrough

Click icon to add picture

Intel Confidential — Do Not Forward18

Setup Eclipse

• Install Eclipse on host & launch

• Setup Project workspace

• Select your type of project (e.g. C++ IoT)

• Setup ip of edison to transfer binaries to board (Edison will need a password for SSH!)

• Success

Intel Confidential — Do Not Forward19

Extract (.7z .tgz .zip)

• Extract file to desired location (e.g. C:\)

• Launch „devkit-launcher.bat“ (or appropriate for your OS)

• Set your workspace

Intel Confidential — Do Not Forward20

Set up Environment

• Select create new C++ IoT project

• Choose project type & name

• Click „next“ to set up SSH connection

• Enter ip address of Edison

Intel Confidential — Do Not Forward21

Sending Program to Edison

• Compile and Run program

• Send to Edison

• Confirm authenticity of token etc...

Intel Confidential — Do Not Forward22

Success

• Success?

• If not, please ask!

• There are sample projects for the Grove Kit in Eclipse

• There is also sample code for extra sensors on IDZ

• https://software.intel.com/en-us/iot/sensors

Intel Confidential — Do Not Forward