Difference between revisions of "What can I do with IGEP AQUILA EXPANSION"

From IGEP - ISEE Wiki

Jump to: navigation, search
m (How to use Ethernet)
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Message/Work in progress}}
 
 
 
{{Table/IGEP Technology Devices
 
{{Table/IGEP Technology Devices
 
|Tech_Family={{#lst:Template:Links|IGEP_AQUILA_EXPANSION_Tech_Family}}
 
|Tech_Family={{#lst:Template:Links|IGEP_AQUILA_EXPANSION_Tech_Family}}
Line 38: Line 36:
 
An empty password for root user should work to access to the shell prompt.
 
An empty password for root user should work to access to the shell prompt.
  
== Flash internal memory ==
+
== How to use audio HDMI  ==
 
 
uSD firmware contains the roofs available to write the firmware to the flash memory.
 
  
*Use igep-flash script to write the internal memory:
+
IGEP COM AQUILA contains multiple I2S peripherals one of them is connected to HDMI transceiver. Then you can easily play a *.wav sound with the application Aplay, for example:
<pre> igep-flash --machine igep0033 --image /opt/firmware/core-image-validation-igep0033-*.rootfs.tar.bz2 </pre>
 
  
When finish, power off your board, mount J101 jumper, unplug micro SD card and power on the board. That's all, enjoy the new firmware running from the flash memory.
+
<pre>aplay /opt/wav/test.wav</pre>
 
 
== How to use audio HDMI  ==
 
 
 
* Download a WAV sample:
 
<pre>wget http://www-mmsp.ece.mcgill.ca/Documents../AudioFormats/WAVE/Samples/AFsp/M1F1-float32WE-AFsp.wav</pre>
 
* Play the WAV sample:
 
<pre>aplay M1F1-float32WE-AFsp.wav</pre>
 
  
 
== How to use LEDs  ==
 
== How to use LEDs  ==
Line 81: Line 69:
 
== How to use USB OTG  ==
 
== How to use USB OTG  ==
  
The base can be powered though USB OTG connector. It's recomended use an external USB hub. Connect the USB Standard-A to Mini-B type cable between the base and the USB hub.
+
The base can be powered though USB OTG connector, but it's recommended use an external USB hub. Use an USB Standard-A to Mini-B type cable between the base and the USB hub and connect with:
 +
 
 +
<pre>ssh root@192.168.7.1</pre>
  
'''under construction'''
+
A detailed guide on how use Ethernet Gadget can be found by following this link: [[Using USB ethernet gadget to communicate]]
  
 
{{Template:Navigation/IGEP Technology Guides/What can I do/Ending}}
 
{{Template:Navigation/IGEP Technology Guides/What can I do/Ending}}
  
 
[[Category:IGEP Technology Devices Guides]]
 
[[Category:IGEP Technology Devices Guides]]

Latest revision as of 12:26, 30 December 2013


Overview

This is the 2/3 chapter of the Getting Started with IGEP AQUILA EXPANSION Tutorial Guide.

In this second chapter, we will learn some basics tasks. Upon completion, you will be ready to continue with chapter 3/3 that explains more advanced tasks.


What can I do

You must logged in the board.

Remote connection via Ethernet

Information.jpg If you aren't using a Linux operating system, use IGEP SDK Virtual Machine to connect to the board

In your Host Machine, open a terminal sessions set up an Ethernet alias for your network interface,

$ sudo ifconfig eth0:0 192.168.5.10

Connect to the board using the SSH protocol

$ ssh root@192.168.5.1

An empty password for root user should work to access to the shell prompt.

How to use audio HDMI

IGEP COM AQUILA contains multiple I2S peripherals one of them is connected to HDMI transceiver. Then you can easily play a *.wav sound with the application Aplay, for example:

aplay /opt/wav/test.wav

How to use LEDs

The board has three user leds available that can be controlled. In its simplest form, you can control of LEDs from userspace. LEDs appear in /sys/class/leds/ and you can turn on and off with following commands:

A detailed guide on how use GPIO-LEDS can be found by following this link: How to handle the gpio-LED

Control AQUILA COM Green LED

echo "1" > /sys/class/leds/com\:green\:user/brightness

You can turn them down using the same command and write '0' instead of '1'.

Control AQUILA EXPANSION Bicolor LED

echo "1" > /sys/class/leds/base\:green\:user/brightness
echo "1" > /sys/class/leds/base\:red\:user/brightness

You can turn them down using the same command and write '0' instead of '1'.

How to use EEPROM

IGEP AQUILA EXPANSION contains a 32 Kb EEPROM. EEPROM can be read and write via /sys/devices/ocp.2/44e0b000.i2c/i2c-0/0-0050/eeprom:

  • Write EEPROM:
echo "data" > /sys/devices/ocp.2/44e0b000.i2c/i2c-0/0-0050/eeprom 
  • Read EEPROM:
cat  /sys/devices/ocp.2/44e0b000.i2c/i2c-0/0-0050/eeprom

How to use USB OTG

The base can be powered though USB OTG connector, but it's recommended use an external USB hub. Use an USB Standard-A to Mini-B type cable between the base and the USB hub and connect with:

ssh root@192.168.7.1

A detailed guide on how use Ethernet Gadget can be found by following this link: Using USB ethernet gadget to communicate



You have successfully completed this chapter of the guide.


Continue this tutorial guide: 3/3 - Start developing under IGEP Technology
Igep forum.png If you have any question, don't ask to ask at the IGEP Community Forum or the IGEP Community Chat Irc.png