Difference between revisions of "Getting started with IGEP COM MODULE"

From IGEP - ISEE Wiki

Jump to: navigation, search
Line 3: Line 3:
 
{| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"
 
{| cellspacing="0" cellpadding="5" border="1" align="center" width="100%" style="text-align: left;"
 
|-
 
|-
| bgcolor="#cccccc" |'''Getting started with IGEP0030'''
+
| bgcolor="#cccccc" |'''Getting started with IGEP COM MODULE'''
 
|-
 
|-
|'''This page is a starting point for all products of the IGEP0030 family such IGEP COM MODULE.'''
+
|'''This page is a starting point for IGEP COM MODULE.'''
 
|}
 
|}
  
Line 24: Line 24:
 
| bgcolor="#cccccc" colspan="3" | '''Overview'''
 
| bgcolor="#cccccc" colspan="3" | '''Overview'''
 
|-
 
|-
| [[Image:Igep0030.jpg|250px|center|link=Category:IGEP0030]]  
+
| [[Image:{{#lst:Template:Links|IGEP_COM_MODULE_Image}}|250px|center|link={{#lst:Template:Links|IGEP_COM_MODULE_Community_MainPage}}]]  
 
|-
 
|-
 
|1) '''Connect USB OTG cable to a PC'''
 
|1) '''Connect USB OTG cable to a PC'''
 
|-
 
|-
|2) '''Log into IGEP0030 via USB Ethernet Gadget'''
+
|2) '''Log into IGEP COM MODULE via USB Ethernet Gadget'''
 
|-
 
|-
|3) '''Log into IGEP0030 via Wifi'''
+
|3) '''Log into IGEP COM MODULE via Wifi'''
 
|}
 
|}
  
  
This first chapter describes '''how to boot IGEP030''' and also gives some '''basic instructions''' about how to connect some peripherals.
+
This first chapter describes '''how to boot IGEP COM MODULE''' and also gives some '''basic instructions''' about how to connect some peripherals.
  
  
Line 52: Line 52:
 
| bgcolor="#cccccc" |'''Power up via USB OTG connector'''
 
| bgcolor="#cccccc" |'''Power up via USB OTG connector'''
 
|-
 
|-
|'''Connect IGEP0030 to a computer via USB OTG'''
+
|'''Connect IGEP COM MODULE to a computer via USB OTG'''
 
|-
 
|-
 
|}
 
|}
  
The on-board '''HS USB OTG port''' is used as the default '''power input for IGEP0030 standalone''' operating mode.
+
The on-board '''HS USB OTG port''' is used as the default '''power input for IGEP COM MODULE standalone''' operating mode.
  
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).
+
First of all, connect IGEP COM MODULE to your machine via the on-board USB OTG port with '''a USB cable''' (USB A type plug to mini B type plug).
  
Connect IGEP0030 to your machine. It will power up.
+
Connect IGEP COM MODULE to your machine. It will power up.
  
  
=== Connect to IGEP0030 via USB OTG connector ===
+
=== Connect to IGEP COM MODULE via USB OTG connector ===
 
----
 
----
  
Line 75: Line 75:
 
|}
 
|}
  
You can log into IGEP0030 via many '''interfaces with network connectivity''', such wifi, usb-ethernet gadget.. and many others (when connected to an IGEP Expansion Board).
+
You can log into IGEP COM MODULE via many '''interfaces with network connectivity''', such wifi, usb-ethernet gadget.. and many others (when connected to an IGEP Expansion Board).
  
 
In this section of this tutorial we are going to '''connect via USB Ethernet gadget'''. This feature allows you to have an IP connection over USB.  
 
In this section of this tutorial we are going to '''connect via USB Ethernet gadget'''. This feature allows you to have an IP connection over USB.  
  
IGEP0030 uses this functionality to allow users to log via SSH.
+
IGEP COM MODULE uses this functionality to allow users to log via SSH.
  
You can use this feature to interact with the 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).
+
You can use this feature to interact with the IGEP Processor operating system [host] by typing commands in a client machine (your PC, for example) to perform specific tasks in IGEP COM MODULE. 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).
  
Therefore, you will be able to access IGEP0030 from your client device (for example, a PC with Linux, Windows, etc.)
+
Therefore, you will be able to access IGEP COM MODULE 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
+
The pre-installed software in IGEP COM MODULE configures the USB interface with a static IP: 192.168.7.2
 
''Note: You will be able to change it later''
 
''Note: You will be able to change it later''
  
Line 140: Line 140:
 
You can download it from its official page at: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
 
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):
+
Then, run the '''SSH client''' and start a SSH session to connect to the host (IGEP COM MODULE) from the client (your PC):
  
 
[[Image:Putty ssh.png|center]]
 
[[Image:Putty ssh.png|center]]
Line 146: Line 146:
  
 
# Select the '''SSH''' at connection type.
 
# 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).
+
# Next insert the '''IP address of the target'''. In this case, the IGEP COM MODULE default IP (192.168.7.2).
 
# Ensure that the port is set to '''22''', the default for SSH communications.
 
# Ensure that the port is set to '''22''', the default for SSH communications.
 
# Finally, push the '''Open button''' to start the SSH session.
 
# 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.
+
If everything goes right, you will be able to access to an IGEP COM MODULE console from your PC via USB Ethernet gadget.
  
  
=== Connect to IGEP0030 via Wifi ===
+
=== Connect to IGEP COM MODULE via Wifi ===
 
----
 
----
  
Line 164: Line 164:
 
|}
 
|}
  
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'''.
+
By default, '''the pre-installed software in IGEP COM MODULE 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'''.
+
If you have successfully followed the previous section of the tutorial, you might have used PuTTy to connect to IGEP COM MODULE via USB Ethernet Gadget. In this section we will '''connect to your board using wifi'''.
  
 
Therefore, follow this instructions:
 
Therefore, follow this instructions:
  
1. '''Connect to the WLAN_IGEP wireless network''' from IGEP0030 with a wireless adapter
+
1. '''Connect to the WLAN_IGEP wireless network''' from IGEP COM MODULE with a wireless adapter
  
 
2. '''Set a static IP''' within the subnet to your wireless adapter (for example: 192.168.6.2)
 
2. '''Set a static IP''' within the subnet to your wireless adapter (for example: 192.168.6.2)
Line 176: Line 176:
 
3. '''Open a PuTTy session''' and select SSH, 192.168.6.1 as target IP address.
 
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)
+
4. '''Log into IGEP COM MODULE''' with login: root and empty password (press return)
  
  
You now have logged into IGEP0030 via its wireless connection.
+
You now have logged into IGEP COM MODULE via its wireless connection.
  
  
Line 188: Line 188:
  
  
{{Navigation/IGEP Technology Guides/Getting Started/Ending|device=IGEP0030}}
+
{{Navigation/IGEP Technology Devices Guides/Next Step
 +
|Name={{#lst:Template:Links|IGEP_COM_MODULE_Name}}
 +
|Community_MainPage={{#lst:Template:Links|IGEP_COM_MODULE_Community_MainPage}}
 +
|Next_Step={{#lst:Template:Links|IGEP_COM_MODULE_Community_Guides_2}}
 +
}}
  
 
[[Category:IGEP Technology Devices Guides]]
 
[[Category:IGEP Technology Devices Guides]]

Revision as of 18:05, 20 April 2012


Getting started with IGEP COM MODULE
This page is a starting point for IGEP COM MODULE.


IGEP COM MODULE.png
IGEP COM MODULE

  • IGEP COM MODULE guides:
  1. [[Getting started with IGEP COM MODULE|Getting started]]
  2. [[What can I do with IGEP COM MODULE|What can I do with IGEP COM MODULE]]
  3. Start developing


Overview
IGEP COM MODULE.png
1) Connect USB OTG cable to a PC
2) Log into IGEP COM MODULE via USB Ethernet Gadget
3) Log into IGEP COM MODULE via Wifi


This first chapter describes how to boot IGEP COM MODULE 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 to mini B type plug
  • a computer with Windows or Linux installed on it

Do NOT power up your board yet.


Power up via USB OTG connector
Connect IGEP COM MODULE to a computer via USB OTG

The on-board HS USB OTG port is used as the default power input for IGEP COM MODULE standalone operating mode.

First of all, connect IGEP COM MODULE to your machine via the on-board USB OTG port with a USB cable (USB A type plug to mini B type plug).

Connect IGEP COM MODULE to your machine. It will power up.


Connect to IGEP COM MODULE via USB OTG connector


Overview
1) Install a SSH client such PuTTy

2) Connect via USB Ethernet Gadget/RNDIS driver, SSH: root@192.168.7.2

You can log into IGEP COM MODULE via many interfaces with network connectivity, such wifi, usb-ethernet gadget.. and many others (when connected to an IGEP Expansion Board).

In this section of this tutorial we are going to connect via USB Ethernet gadget. This feature allows you to have an IP connection over USB.

IGEP COM MODULE uses this functionality to allow users to log via SSH.

You can use this feature to interact with the IGEP Processor operating system [host] by typing commands in a client machine (your PC, for example) to perform specific tasks in IGEP COM MODULE. 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).

Therefore, you will be able to access IGEP COM MODULE from your client device (for example, a PC with Linux, Windows, etc.)


The pre-installed software in IGEP COM MODULE 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

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:

IP address 192.168.7.1

Netmask 255.255.255.0

Gateway 192.168.7.1 

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 (IGEP COM MODULE) from the client (your PC):

Putty ssh.png


  1. Select the SSH at connection type.
  2. Next insert the IP address of the target. In this case, the IGEP COM MODULE default IP (192.168.7.2).
  3. Ensure that the port is set to 22, the default for SSH communications.
  4. Finally, push the Open button to start the SSH session.


If everything goes right, you will be able to access to an IGEP COM MODULE console from your PC via USB Ethernet gadget.


Connect to IGEP COM MODULE via Wifi


Overview
Connect via wireless connection, ESSID: WLAN_IGEP, SSH: root@192.168.6.1

By default, the pre-installed software in IGEP COM MODULE 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 IGEP COM MODULE 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 IGEP COM MODULE with a wireless adapter

2. Set a static IP within the subnet to your wireless adapter (for example: 192.168.6.2)

3. Open a PuTTy session and select SSH, 192.168.6.1 as target IP address.

4. Log into IGEP COM MODULE with login: root and empty password (press return)


You now have logged into IGEP COM MODULE via its wireless connection.


Other references


Continue with this tutorial at: [[What can I do with IGEP COM MODULE]]