Summary of Contents for Intel IoT Gateway Development KitDK200 Series
Page 1
® Intel IoT Gateway Development Kit DK200 Series Getting Started Guide April 2015 Order No.: 330295-004...
Page 2
By using this document, in addition to any agreements you have with Intel, you accept the terms set forth below. You may not use or facilitate the use of this document in connection with any infringement or other legal analysis concerning Intel products described herein.
Quick Power-On—Intel IoT Gateway Development Kit DK200 Series Quick Power-On The following terms are used in these steps: ® • Target Device refers to the Intel IoT Gateway - DK200 Series. • Host System refers to a Linux system that you provide.
Intel IoT Gateway Development Kit DK200 Series —Revision History Revision History Date Revision Description April 2015 Changed information related to recommended development hosts Updated errata ® February 2015 First Intel IoT Gateway 2.1 release Modified Workbench steps Added Triage Tool appendix to aid in debugging...
Contents—Intel IoT Gateway Development Kit DK200 Series Contents Quick Power-On........................3 Revision History........................4 1.0 Introduction......................... 9 ® 1.1 About the Intel IoT Gateway Development Kit DK200 Series........9 ® 1.2 Intel IoT Gateway Development Kit DK200 Series Kit Contents......... 10 1.3 About this Guide....................11 1.4 Reference Documents....................12...
Page 6
Intel IoT Gateway Development Kit DK200 Series —Figures Figures Software Stack......................10 ® Intel IoT Gateway Development Kit DK200 Series Cables Connected......11 Sample "You Are Here".....................12 Target Device Boot Menu..................19 Register a Product....................25 Create Support User Account..................26 Wind River License Key Request Confirmation............. 26 Logged Into Intel Registration Center.................
Page 7
Figures—Intel IoT Gateway Development Kit DK200 Series PuTTY Configuration Screen..................76 Change to Serial with Speed of 115200..............77 Change Flow Control....................78 Change to SCO Function Keys................... 79 Save Settings......................80 Update Session with Correct tty Port................81 ® Intel...
Page 8
Intel IoT Gateway Development Kit DK200 Series —Tables Tables Reference Documents....................12 Items to Obtain.......................14 Recommended Development Hosts................15 Login IDs and Passwords..................15 Target Device Errata....................82 ® Intel IoT Gateway Development Kit DK200 Series Getting Started Guide April 2015...
Introduction—Intel IoT Gateway Development Kit DK200 Series Introduction ® About the Intel IoT Gateway Development Kit DK200 Series ® The Intel IoT Gateways provide pre-integrated hardware and software building blocks. The gateways connect legacy and new systems, and enable seamless and secure data flows between edge devices and the cloud.
Intel IoT Gateway Development Kit DK200 Series —Introduction Blank line. Do not delete. Blank line. Do not delete. Blank line. Do not delete. Blank line. Do not delete. The following diagram illustrates the software components that are included in the ®...
— Using the Wind River Workbench to perform a Project Export / Import. — Using the Triage Tool to aid in debugging. ® For help with typing commands to your Linux terminal, use Intel IoT Gateway Development Kit DK200 Series - Getting Started Guide Commands at https:// downloadcenter.intel.com/Detail_Desc.aspx?
The Host System is not included in this kit. ® ™ The examples in this publication use a Host System that has an Intel Core second generation processor and Ubuntu* Desktop 14.04 distribution software. If you are using a different operating system, substitute the instructions in this publication with instructions that are appropriate for your system.
Page 13
Introduction—Intel IoT Gateway Development Kit DK200 Series Title Link Description ® Wind River Linux 5.0.1 - https://www-ssl.intel.com/ • Wind River Linux Overview Users Guide content/www/us/en/embedded/design- • Development & Build tools/evaluation-platforms/gateway- Environment solutions/wind-river-linux-user-guide.html • Configuration and Build • Layers & Recipes •...
Intel IoT Gateway Development Kit DK200 Series —Introduction Before you Begin Before you Connect Prepare Host Register Target Install Linux Build Runtime Put Runtime Install Runtime Update SPI Begin Hardware / System for Device and Wind River on Host Software on...
Introduction—Intel IoT Gateway Development Kit DK200 Series Recommended Development Hosts The following recommended development host distributions have been tested by Wind River to run Wind River Linux 5.0 / 5.0.1. Intel recommends the Ubuntu Desktop 14.04 (base version) 64-bit OS for your Host System. Table 3.
Page 16
Intel IoT Gateway Development Kit DK200 Series —Introduction To submit a support request using Intel Premier Support, go to https:// businessportal.intel.com. Click the Product Support Tab -> Intel Premier Support Home. Submit your issue using one of these product names: ®...
Connect the Hardware—Intel IoT Gateway Development Kit DK200 Series Connect the Hardware Connect Before you Prepare Host Register Target Install Linux Build Runtime Put Runtime Install Runtime Update SPI Hardware / Begin System for Device and Wind River on Host...
Intel IoT Gateway Development Kit DK200 Series —Connect the Target Device to a Host System Connect the Target Device to a Host System Connect Before you Prepare Host Register Target Install Linux Build Runtime Put Runtime Install Runtime Update SPI...
Connect the Target Device to a Host System—Intel IoT Gateway Development Kit DK200 Series Figure 4. Target Device Boot Menu It will take about 3 minutes for the device to boot. 10. At the login prompt, use for both the login ID and the password.
Intel IoT Gateway Development Kit DK200 Series —Connect the Target Device to a Host System 5. On the Host System (not in the PuTTY Virtual Terminal), select the System Settings icon. 6. Click the Network icon. 7. Click Wireless. 8. Click the dropdown arrow next to Network Name and then click the SSID that you wrote down.
Page 21
Connect the Target Device to a Host System—Intel IoT Gateway Development Kit DK200 Series 2. Be sure both Host System and the Target Device return an IP address and the subnet addresses match. For example, the following addresses are valid and they...
Intel IoT Gateway Development Kit DK200 Series —Prepare to Build Your Runtime Image Prepare to Build Your Runtime Image The first part of this publication got you up and running with a sample runtime image that you used to explore some of the Target Device features. This part of the document guides you through creating your own runtime image.
Prepare to Build Your Runtime Image—Intel IoT Gateway Development Kit DK200 Series Done Task Section Estimated Completion Time Register your Development Kit to obtain a Register Your 10 minutes to register. Wind River SW license. A license is Development Kit...
Page 24
Intel IoT Gateway Development Kit DK200 Series —Prepare to Build Your Runtime Image • - The project directory in which you will develop your Intelligent $HOME/Project Device Platform XT-based solution. The build requires approximately 20 GB of free space in this directory.
You will use the login ID and password that you create or use in these steps to access the Intel Registration Center. On the Intel Registration Center you can see a list of licensed products and download the installers for those software products.
Intel IoT Gateway Development Kit DK200 Series —Register Your Development Kit 2. In the box for your email address, select the appropriate option for your email address: ® • IMPORTANT: If you have an Intel Premier Support account, use the email ®...
Register Your Development Kit—Intel IoT Gateway Development Kit DK200 Series 7. Type your user name and password to sign into the Intel Registration Center. 8. Once you have signed in, your list of subscribed products is displayed. See the example below.
Center." Save these messages for future reference. ® • One message is titled, "Intel Premier Support Registration Successfully Completed". You can use Intel Premier Support for technical support of this Development Kit". See the sample message below. ® Figure 10. Email Message: Intel Premier Support Registration Successfully Completed ®...
Page 29
Register Your Development Kit—Intel IoT Gateway Development Kit DK200 Series Under the text indicates that you will receive a license SOFTWARE LICENSE KEY key from Wind River. You will need this license key when you install the Wind River Components on the Host System in...
Intel IoT Gateway Development Kit DK200 Series —Install Linux Packages and Wind River Linux Host Tools on the Host System Install Linux Packages and Wind River Linux Host Tools on the Host System Install Linux Build Runtime Put Runtime Install Runtime...
Install Linux Packages and Wind River Linux Host Tools on the Host System—Intel IoT Gateway Development Kit DK200 Series Note: You may have used different directory names when you created directories in Create Directories and Confirm Disk Space on page 23. If you used different names, replace the directory names in the following steps with the names of the directories that you created.
Page 32
Intel IoT Gateway Development Kit DK200 Series —Install Linux Packages and Wind River Linux Host Tools on the Host System Figure 13. Online Update Settings, Part 1 6. On the next Online Updates Settings page, leave the defaults selected, as shown: Figure 14.
Install Linux Packages and Wind River Linux Host Tools on the Host System—Intel IoT Gateway Development Kit DK200 Series The Wind River Installer checks for updates. This takes about 2 minutes. 7. On the page Install or Download, choose between installing right away from the internet, or to copy the product files to the Host System and perform the installation later.
Intel IoT Gateway Development Kit DK200 Series —Install Linux Packages and Wind River Linux Host Tools on the Host System Figure 16. License Authorization Code Location 11. Click Next. A progress bar displays while the installer contacts Wind River to verify your Wind River License Authorization Code and register your Host System.
Install Linux Packages and Wind River Linux Host Tools on the Host System—Intel IoT Gateway Development Kit DK200 Series Figure 17. Choose Installation Filters 13. On the Select Products page, keep the default selections. Your screen will look similar to the following.
Intel IoT Gateway Development Kit DK200 Series —Install Linux Packages and Wind River Linux Host Tools on the Host System 14. Click Next. The License Agreement displays. Review it, and then click I ACCEPT if you agree to the terms of the agreement.
Page 37
Install Linux Packages and Wind River Linux Host Tools on the Host System—Intel IoT Gateway Development Kit DK200 Series Verify All Required Linux Packages Are Installed These steps verify that all Linux operating system packages required for using the Wind River Host Tools are present. If any are not present, this section guides you through installing them.
Intel IoT Gateway Development Kit DK200 Series —Build Intelligent Device Platform XT Runtime Software Build Intelligent Device Platform XT Runtime Software Build Runtime Put Runtime Install Runtime Update SPI Before you Connect Connect Target Register Target Install Linux and on Host...
Page 39
Build Intelligent Device Platform XT Runtime Software—Intel IoT Gateway Development Kit DK200 Series Note: By default the runtime operating system is built with the latest version of the Wind River Host Tools that you installed on your Host System. To use an earlier version, specify the desired "RCPL"...
Target System from the USB flash drive. You will begin these steps on your Host System terminal. Note: The runtime software can be booted from the USB flash drive, but Intel recommends installing the runtime components on the Target Device's hard drive. 1. From the Host System...
Page 41
Put Intelligent Device Platform XT Runtime Image onto USB Flash Drive—Intel IoT Gateway Development Kit DK200 Series accidentally include the partition in the command, you will receive an error message: ERROR: Device mode should be set to -d option. e.g.: /dev/sdb Warning: The following command will overwrite all contents on your USB flash drive.
Page 42
Intel IoT Gateway Development Kit DK200 Series —Put Intelligent Device Platform XT Runtime Image onto USB Flash Drive 4. When the process completes, remove the USB flash drive and re-insert it into the Host System. The USB flash drive mounts as /media/<username>/...
Host System. $HOME Note: The runtime software can be booted from the USB flash drive, but Intel recommends installing the runtime components on the Target Device's hard drive. What you need to do 1. To install the Intelligent Device Platform XT from the USB flash drive to the Target...
® community knowledge forum is available for the Intel IoT Gateway Development Kit. The forum is located at https://ask.intel.windriver.com. On this forum, you can ask ® how-to questions and search for answers related to Wind River Linux and the Wind River development tools.
® Intel IoT Gateway Knowledge Forum—Intel IoT Gateway Development Kit DK200 Series Using the Forum After you are registered and logged in, you can use the forum to ask questions and search for topics of interest. Submitted questions are posted on the forum and are accessible to all forum users.
Hardware, such as board, processor SKU, memory, I/O etc. 4. Categorize your question. Add IOT-Gateway as a tag in addition to specific ® product tags. This will allow the support team to track issues related to Intel Gateway See the following figure. Figure 25.
® Intel IoT Gateway Knowledge Forum—Intel IoT Gateway Development Kit DK200 Series Your selected tags display in a list. You can add or remove tags as necessary. See the following figure. Figure 26. Tagged Question 5. Click Ask Your Question to submit the question. See the red box in the following figure.
® Intel IoT Gateway Development Kit DK200 Series —Intel IoT Gateway Knowledge Forum Subscribing to Tags You can choose to subscribe to specific tags to receive email alerts for issues and updates to questions related to that tag/category. Use the following steps.
Use Wind River WebIF to Configure the Target Device (Optional)—Intel IoT Gateway Development Kit DK200 Series Appendix B Use Wind River WebIF to Configure the Target Device (Optional) This appendix guides you through using the Wind River WebIF application. WebIF is a web-based interface used to manage wired, wireless, and 3G connectivity on Intelligent Device Platform XT Target Devices.
Intel IoT Gateway Development Kit DK200 Series —Use Wind River WebIF to Configure the Target Device (Optional) ® 4. Login with user name: and password: . The Wind River Intelligent admin admin Device Platform XT 2.0 Web Interface (WebIF) console opens. See the figure below.
® Building an Intelligent Device Platform Project Using Wind River Workbench—Intel IoT Gateway Development Kit DK200 Series Appendix C Building an Intelligent Device Platform ® Project Using Wind River Workbench This appendix provides step-by-step instructions to build a Wind River Intelligent Device Platform project using Wind River Workbench.
Intel IoT Gateway Development Kit DK200 Series —Building an Intelligent Device Platform ® Project Using Wind River Workbench The application launches. 3. From the main menu, click File > New > Wind River Workbench Project, as shown: Figure 32. Create a New Workbench Project 4.
® Building an Intelligent Device Platform Project Using Wind River Workbench—Intel IoT Gateway Development Kit DK200 Series 5. Select Platform as the build type as shown, and then click Next. Figure 34. Select Build Type 6. Type a name for your project, and then click Next.
Intel IoT Gateway Development Kit DK200 Series —Building an Intelligent Device Platform ® Project Using Wind River Workbench 7. Click Add and select as shown below. -enable-addons=[yes|no|addon[…] Figure 36. Enable Addons ® Intel IoT Gateway Development Kit DK200 Series Getting Started Guide April 2015 Order No.: 330295-004...
® Building an Intelligent Device Platform Project Using Wind River Workbench—Intel IoT Gateway Development Kit DK200 Series 8. Edit the Value field near the bottom of the screen to add wr-idp, and then click the Reload button. See the following figure.
Intel IoT Gateway Development Kit DK200 Series —Building an Intelligent Device Platform ® Project Using Wind River Workbench 9. For RootFS, select glibc_idp as shown: Figure 38. glib_idp Option Available 10. For Board, select the board type appropriate for your Target Device. if your ®...
® Building an Intelligent Device Platform Project Using Wind River Workbench—Intel IoT Gateway Development Kit DK200 Series 12. You are ready to add layers. Click Add… as shown below. Figure 39. Add Layers ® Intel IoT Gateway Development Kit DK200 Series...
Intel IoT Gateway Development Kit DK200 Series —Building an Intelligent Device Platform ® Project Using Wind River Workbench 13. Select wr-intel-support as shown below, and then click Reload. Figure 40. Add wr-intel-support ® Intel IoT Gateway Development Kit DK200 Series...
® Building an Intelligent Device Platform Project Using Wind River Workbench—Intel IoT Gateway Development Kit DK200 Series 14. Select to add the wr-mcafee layer as shown: Figure 41. Add wr-mcafee Layer 15. Add additional layers as needed. 16. Click the Add button in the Option group as shown in figure below: Figure 42.
Intel IoT Gateway Development Kit DK200 Series —Building an Intelligent Device Platform ® Project Using Wind River Workbench 17. Add an option to , as shown below. Then click OK. -enable-jobs=50 Figure 43. enable jobs=50 ® Intel IoT Gateway Development Kit DK200 Series...
® Building an Intelligent Device Platform Project Using Wind River Workbench—Intel IoT Gateway Development Kit DK200 Series 18. Click Add in the Option group again. 19. Add an option to , where -enable-parallel-pkgbuilds=<number of CPUs> is the number of CPUs in your system. See the following <number of CPUs>...
Intel IoT Gateway Development Kit DK200 Series —Building an Intelligent Device Platform ® Project Using Wind River Workbench 20. Click Finish to finalize your configuration. Figure 45. Finalize Configuration ® Intel IoT Gateway Development Kit DK200 Series Getting Started Guide April 2015 Order No.: 330295-004...
® Building an Intelligent Device Platform Project Using Wind River Workbench—Intel IoT Gateway Development Kit DK200 Series The configuration script will show a progress screen similar to the following while it executes. Execution will take a few minutes. Figure 46.
Intel IoT Gateway Development Kit DK200 Series —Building an Intelligent Device Platform ® Project Using Wind River Workbench Upon completion you will see a summary screen similar to the following: Figure 47. Build Configuration Completed You are ready to build your project. Follow the steps in the next section.
2 to 4 hours to build your project. The build ® ™ took approximately 4 hours on a test system that was running an Intel Core ® i7-4900 processor at 2.8 GHz with Intel Hyper-Threading technology, and 8 GB RAM.
Intel IoT Gateway Development Kit DK200 Series —Building an Intelligent Device Platform ® Project Using Wind River Workbench The project build begins and the progress displays as follows: Figure 49. Build Project Progress Window 2. Optional: Open a terminal window to examine the config file generated by Workbench.
® Building an Intelligent Device Platform Project Using Wind River Workbench—Intel IoT Gateway Development Kit DK200 Series Upon completion, the Build Console displays as follows: Figure 51. Build Console Displaying Project Completion 3. Deploy your project to your Target Device.
Intel IoT Gateway Development Kit DK200 Series —Installing and Using CAN Appendix D Installing and Using CAN The Target Device provides two CAN ports that connect to the vehicle bus and enable the collection and monitoring of in-vehicle data. To test low speed CAN, use the low- or high-speed CAN-connecting DB-9 cable to connect to the CAN network.
Installing and Using CAN—Intel IoT Gateway Development Kit DK200 Series Termination is achieved by placing a 120Ω resistor between CAN_H and CAN_L wires of the bus, as shown below. Figure 54. CAN Termination More information on termination is in CAN Physical Layer and Termination Guide White Paper from National Instruments at http://www.ni.com/white-paper/9759/en/...
Page 70
Intel IoT Gateway Development Kit DK200 Series —Installing and Using CAN ifconfig slcan0 up cansniffer slcan0 4. Ensure the slcan interface is up on a third terminal, and on this terminal, invoke to generate CAN traffic and send at 100 ms intervals. Use the following...
Using Bluetooth* Functionality—Intel IoT Gateway Development Kit DK200 Series Appendix E Using Bluetooth* Functionality Bluetooth functionality is provided by a mini-PCIe card connected to the mini-PCIe slot. The following steps are performed from your PuTTY terminal. 1. Load the Bluetooth driver. Use the following command:...
Intel IoT Gateway Development Kit DK200 Series —Enabling Audio Components Appendix F Enabling Audio Components The audio control driver (intel_qrk_audio_ctrl) provides a user-space interface via sysfs to allow selecting one of the supported audio switch configurations to interconnect the interfaces.
Page 73
Enabling Audio Components—Intel IoT Gateway Development Kit DK200 Series • Set a bi-directional audio path between the CPU and external speaker output port. This option is suitable for playback/record for a wav file or another audio format to an external speaker and microphone, such as in a vehicle. Configure...
Intel IoT Gateway Development Kit DK200 Series —Using the Accelerometer Appendix G Using the Accelerometer A low-power three axes linear accelerometer is presented as an I2C* device at bus address 0x18. The accelerometer provides data on the x, y, and z axes for the raw and scaled values detailed below.
Intel IoT Gateway Development Kit DK200 Series —Installing and Configuring PuTTY Appendix I Installing and Configuring PuTTY This section guides you through installing and configuring a Secured Shell (SSH) / Telnet network protocol utility, named PuTTY. PuTTY is an open source virtual terminal that is available in the Ubuntu 14.04 release.
Installing and Configuring PuTTY—Intel IoT Gateway Development Kit DK200 Series 2. Make the following changes on this screen: • Change Connection type to Serial. See number 1 in the following figure. • Change Speed to 115200. This option will be available after you change the Connection type to Serial.
Intel IoT Gateway Development Kit DK200 Series —Installing and Configuring PuTTY 3. Under the Category menu on the left side of your screen, select Serial and change the Flow control to None. See number 1 and 2 in the following figure: Figure 57.
Installing and Configuring PuTTY—Intel IoT Gateway Development Kit DK200 Series 4. Under the Category menu on the left side of your screen, select Keyboard and change the Function keys and keypad to SCO. See number 1 and 2 in the following figure: Figure 58.
1. Under the Category menu on the left side of your screen, select Session. Name your session as Intel IoT Gateway, and then click Save. Your session name will be displayed in the Saved Sessions list. See the numbered items in the following figure.
1. Click Intel IoT Gateway under Saved Sessions. See number 1 in the following figure. 2. Click Load to display the Intel IoT Gateway settings. See number 2 in the figure. 3. Change the Serial line to /dev/ttyUSB0 and then click Save. See numbers 3 and 4 in the figure.
Intel IoT Gateway Development Kit DK200 Series —Troubleshooting Appendix J Troubleshooting The errata for this version of the platform are shown in the following table. Table 5. Target Device Errata Errata Description Workaround ® The Wi-Fi Access Point or Ethernet WAN interface...