Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Getting started with IGEP COM MODULE

3,824 bytes removed, 09:57, 6 April 2018
no edit summary
__NOTOC__{{Table/IGEP Technology Devices|Tech_Family={{#lst:Template:Links|IGEP_COM_MODULE_Tech_Family}}|Tech_ID={{#lst:Template:Links|IGEP_COM_MODULE_Tech_ID}}|Name={{#lst:Template:Links|IGEP_COM_MODULE_Name}}|Image={{#lst:Template:Links|IGEP_COM_MODULE_Image}}|ISEE_MainPage={{#lst:Template:Links|IGEP_COM_MODULE_ISEE_MainPage}}|ISEE_Hardware={{#lst:Template:Links|IGEP_COM_MODULE_ISEE_Hardware}}}}
{{Navigation/IGEP Technology Guides|device=IGEP0030}}__TOC__
{| cellspacing="0" cellpaddingOverview="5" border="1" align="center" width="100%" style="text-align: left;"|-| bgcolor="#cccccc" |'''Getting started with IGEP0030'''|-|'''This page is a starting point for all products the 1/3 chapter of the IGEP0030 family such Getting Started with IGEP COM MODULETutorial Guide.'''|}In this first chapter, we will learn :
* Boot the board and touring the default firmware.
* Connect and log into.
{| cellspacing="0" cellpadding="5" border="1" align="center" style="text-align: left;"|-| bgcolor="#cccccc" colspan="3" | '''Overview'''|-| [[Image:Igep0030.jpg|250px|center|link=Category:IGEP0030]] |-|1) '''Connect USB OTG cable Upon completion, you will be ready to a PC'''|-|continue with chapter 2) '''Log into IGEP0030 via USB Ethernet Gadget'''|-|/3) '''Log into IGEP0030 via Wifi'''|}that explains more advanced tasks.
We HIGHLY RECOMMEND THAT YOU UPDATE YOUR FIRMWARE IMAGE TO A RECENT RELEASE to ensure you have the latest features and bug fixes. Please see the article on [[IGEP_firmware_Yocto | IGEP YOCTO Firmware]].
This first chapter describes '''how to boot IGEP030''' and also gives some '''basic instructions''' about how to connect some peripherals.
=== Setting up ===
----
In the first chapter of this tutorial we are going to use:
* an USB A type plug =Requirements=In this tutorial we are going to mini B type plug* a computer with Windows or Linux installed on ituse the following peripherals:
Do NOT power up your board yet* IGEP COM MODULE* USB Standard-A to Mini-B type cable* Powered USB HUB 2.0* PC
=Getting started=
<div style="text-align: center;">
{{#ev:youtube|mXwt-2E4USE|500}}
</div>
{| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"
|-
| bgcolor="#cccccc" |'''Power up via USB OTG connector'''
|-
|'''Connect IGEP0030 to a computer via USB OTG'''
|-
|}
==Power up==The on-board '''HS can be powered though USB OTG portconnector. It''' is used as s recomended use an external USB hub. Connect the USB Standard-A to Mini-B type cable between the board and the default '''power input for IGEP0030 standalone''' operating modeUSB hub.
First of all, connect IGEP0030 to your machine via the on-board USB OTG port with '''a USB cable''' (USB A type plug to mini B type plug)[[Image:IGEP_COM_MODULE_with_HUB.JPG|center|200px]]
Connect {{Message/Information Message|title=USB OTG power is not available on newer IGEP COM MODULE devices|message='''NOTE''': Newer IGEP COM MODULE devices (IGEP0030 to your machine. It will -RFxx version since 2016 year) don't allow power updevices using USB OTG connector.You should be used an expansion board (as example [[IGEP_NEW_YORK|IGEP NEW YORK]])}}
==Booting==
With the board powered, you'll see a few lights flash, after a few seconds may light up a fixed green led. The sequence will be different based on software version.
=== Connect to IGEP0030 via USB OTG connector ===
----
{| cellspacing="0Under the hood" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"|-| bgcolor="#cccccc" |'''Overview'''|-| 1) '''Install a SSH client such PuTTy''the bootloader is preparing to load the linux kernel. The linux kernel loads and initializes the hardware and mounts the root file system. Finally, you'll be able access to the board using the USB Ethernet Gadget.
2) '''Connect ==Remote connection via USB Ethernet Gadget=={{Message/RNDIS driver''Information Message|title=|message=If you aren't using a Linux operating system, SSHuse [http: root@192//labs.168isee.7biz/index.2|php/IGEP_SDK_Virtual_Machine IGEP SDK Virtual Machine] to connect to the board.}}
You can log into IGEP0030 via many '''interfaces with network connectivity'''In your Host Machine, such wifi, usb-ethernet gadget.. open a terminal session and many others (when connected connect to an IGEP Expansion Board).the board using the SSH protocol:
In this section of this tutorial we are going to '''connect via USB Ethernet gadget''' $ ssh root@192. This feature allows you to have an IP connection over USB168. 7.1
IGEP0030 uses this functionality An empty password for root user should work to allow users access to log via SSHthe shell prompt.If you're experiencing some problems connecting to the board try with following guide : [[Using USB ethernet gadget to communicate]]
You can use this feature to interact with the {{Navigation/IGEP Processor operating system [host] by typing commands in a client machine (your PC, for example) to perform specific tasks in IGEP0030. You can communicate and open a debug session via many other interfaces such Serial port, Ethernet, Wifi, USB Ethernet Gadget, etc. (if available in an IGEP Expansion Board, for example).Technology Guides/Getting Started/Ending|Next_Step={{#lst:Template:Links|IGEP_COM_MODULE_Community_Guides_2}}}}
Therefore, you will be able to access IGEP0030 from your client device (for example, a PC with Linux, Windows, etc.)  The pre-installed software in IGEP0030 configures the USB interface with a static IP: 192.168.7.2''Note: You will be able to change it later'' Now, pick the right section, depending on the Operating System you are using:  ==== Linux Configuration ==== You should have the usbnet module available for your Linux kernel. On most distributions, this is the case by default. If this is not the case for your distribution, you will need to enable USB networking support in the kernel. If you build your own kernel then you want 'CDC Ethernet support' in USB Network adaptors.  *'''Ubuntu 10.04 LTS Lucid Lynx''' In the file /etc/network/interfaces, you should add a section which looks like this:   auto usb0 iface usb0 inet static address 192.168.7.1 network 192.168.7.0 netmask 255.255.255.0 broadcast 192.168.7.255 gateway 192.168.7.1 Connect to the board using ssh   ssh -l root 192.168.7.2  ==== Windows configuration ====  *'''Windows 7''' Follow this tutorial: http://robosavvy.com/forum/viewtopic.php?p=28788  *'''Windows XP''' 1. During the first seconds the module is recognized as OMAP3430. Avoid the installation of this device and wait until ''RNDIS/Ethernet gadget'' is detected by the operating system.  2. The following driver INF file from the Gumstix Project works under Windows XP. [http://www.davehylands.com/linux/gumstix/usbnet/linux.inf <span class="s1">http://www.davehylands.com/linux/gumstix/usbnet/linux.inf</span>]  3. In ''Control Panel/Network Connections'' and after driver installation set up the TCP/IP properties of the ''Local Network Connection'' (''Linux USB Ethernet/RNDIS Gadget'') as follow:<br> <pre>IP address 192.168.7.1 Netmask 255.255.255.0 Gateway 192.168.7.1 </pre>  '''''Thanks to Iñigo Lazkanotegi from Tecnalia (Donostia - San Sebastián) for this contribution.''''' Now you must run any serial console that allows SSH such PuTTy (Linux, Windows). You can download it from its official page at: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Then, run the '''SSH client''' and start a SSH session to connect to the host (IGEP0030) from the client (your PC): [[Image:Putty ssh.png|center]]  # Select the '''SSH''' at connection type.# Next insert the '''IP address of the target'''. In this case, the IGEP0030 default IP (192.168.7.2).# Ensure that the port is set to '''22''', the default for SSH communications.# Finally, push the '''Open button''' to start the SSH session.  If everything goes right, you will be able to access to an IGEP0030 console from your PC via USB Ethernet gadget.  === Connect to IGEP0030 via Wifi ===---- {| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"|-| bgcolor="#cccccc" |'''Overview'''|-|'''Connect via wireless connection''', ESSID: WLAN_IGEP, SSH: root@192.168.6.1|} By default, '''the pre-installed software in IGEP0030 enables the wifi interface''' and creates an Ad-Hoc network, with '''WLAN_IGEP as ESSID''' and a '''static IP address: 192.168.6.1'''. If you have successfully followed the previous section of the tutorial, you might have used PuTTy to connect to IGEP0030 via USB Ethernet Gadget. In this section we will '''connect to your board using wifi'''. Therefore, follow this instructions: 1. '''Connect to the WLAN_IGEP wireless network''' from IGEP0030 with a wireless adaptor 2. '''Set a static IP''' within the subnet to your wireless adapter (for exampleCategory: 192.168.6.2) 3. '''Open a PuTTy session''' and select SSH, 192.168.6.1 as target IP address. 4. '''Log into IGEP0030''' with login: root and empty password (press return)  You now have logged into IGEP0030 via its wireless connection.  '''Other references''' *[[Using USB ethernet gadget to communicate]] *[[Using IGEP WLAN to communicate]]  {{Navigation/IGEP Technology Devices Guides/Getting Started/Ending|device=IGEP0030}} [[Category:IGEP0030]][[Category:Tutorials]][[Category:Work in progress]]
560
edits