0
edits
Changes
From IGEP - ISEE Wiki
no edit summary
{{NavigationTable/IGEP Technology GuidesDevices|deviceTech_Family=IGEP0020{{#lst:Template:Links|IGEPv2_Tech_Family}}|Tech_ID={{#lst:Template:Links|IGEPv2_Tech_ID}}|Name={{#lst:Template:Links|IGEPv2_Name}}|Image={{#lst:Template:Links|IGEPv2_Image}}|ISEE_MainPage={{#lst:Template:Links|IGEPv2_ISEE_MainPage}}|ISEE_Hardware={{#lst:Template:Links|IGEPv2_ISEE_Hardware}}}}
This is the 2/3 chapter of the Getting Started with IGEPv2 Tutorial Guide.
You must logged in the board.
Open the serial port and the debug shell prompt should appear.
== Handle the GPIO-LEDS ==
$ echo 1 > /sys/class/leds/d440\:green/brightness
$ echo 1 > /sys/class/leds/d440\:red/brightness
== Handle generic GPIO ==
See [[How_to_use_GPIOs|GPIOs HOWTO]] to know details about that.
Quick example could be:
<pre>echo 156 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio156/direction
echo 0 > /sys/class/gpio/gpio156/value</pre>
== How to use UART1 (RS232) ==
board.ei485=no
* a '''microSD card'''115200* a '''computer''' with microSD card reader (or with adapter)8N1* a '''GNU/Linux distribution installed''' on the computer no flow control (a Linux partition either software or a virtual machine on Windows)** the main reason is that Windows does not detect multiple partitions on a microSD card|-|1hardware) '''Download the latest firmware''' into an external computer.
A detailed guide on how use UARTS can be found by following this link: [[How to use UARTs]]
== Get sound in (audio in) ==
Following output is expected on console:
boundary : 1073741824
When ever you think you want to stop recording just press CTRL+C == Get sound out (audio out) == Connect an external output audio device to the 3.5mm jack Audio Out connector in the board, such as external stereo powered speakers. The amplifiers for the headset output are disabled by default, so the first thing you'll do is enable these amplifiers with: $ amixer set -D hw:0 'Headset' 0dB $ amixer set -D hw:0 'HeadsetL Mixer AudioL2' on $ amixer set -D hw:0 'HeadsetR Mixer AudioR2' on Then you can easily play a *.wav sound with the application Aplay, for example: $ aplay audio-in.wav == How to use wifi == If you have a wireless network adapter in your computer you can also connect to the board using the ad hoc network connection that the firmware configures byu default. Use your wireless manager to connect to the wireless network called in the form IGEP_xx After connecting, a DHCP IP address should be adquired. Now you can access, for example with ssh, to the target board connecting to the 192.168.7.1 address. $ ssh root@192.168.6.1 A detailed guide on how use wifi can be found by following this link: [[Using IGEP WLAN to communicate]] == How to use bluetooth == A detailed guide on how use bluetooth can be found by following this link: [[How to setup Marvell bluetooth]] == How to use the SD card == You can connect a micro SD card for storage. After plugin the SD card the kernel should detect the card and automount in /media directory. == How to use the USB OTG == In order to act in host mode and add some peripherals like keyboard, mouse or pendrives you require a special cable that grounds the ID pin. Since the OTG port only provides 100mA of power a USB hub is recommended. Though a common USB Standard-A to Mini-B type cable the port acts as a device. In this mode you can connect to the board using the USB Ethernet Gadget. Use this cable between your computer and the target board and connect with: $ ssh root@192.168.7.1 A detailed guide on how use wifi can be found by following this link: [[Using USB ethernet gadget to communicate]]
{{Template:Navigation/IGEP Technology Guides/What can I do/Ending|device=IGEP0020}}
[[Category:IGEP0020]][[Category:Tutorials]][[Category:Work in progressIGEP Technology Devices Guides]]