Moxa Technologies EM-1240-LX Manual de usuario

Busca en linea o descarga Manual de usuario para Redes Moxa Technologies EM-1240-LX. Moxa Technologies EM-1240-LX User`s manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 58
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
EM-1240-LX Users Manual
Fourth Edition, September 2008
www.moxa.com/product
© 2008 Moxa Inc., All rights reserved.
Reproduction without permision is prohibited.
Vista de pagina 0
1 2 3 4 5 6 ... 57 58

Indice de contenidos

Pagina 1 - EM-1240-LX User’s Manual

EM-1240-LX User’s Manual Fourth Edition, September 2008 www.moxa.com/product © 2008 Moxa Inc., All rights reserved. Reproduction without permision i

Pagina 2

EM-1240-LX User’s Manual Introduction EM-1240 Embedded Module EM-1240 Development Kit 1-6

Pagina 3 - Table of Contents

EM-1240-LX User’s Manual Introduction Dimensions EM-1240 Embedded Module EM-1240 Development Kit Installing the EM-1240-LX If you would like to use

Pagina 4

EM-1240-LX User’s Manual Introduction LED Indicators The following table explains the function of the five LED indicators located on the EM-1240-LX’s

Pagina 5 - Introduction

EM-1240-LX User’s Manual Introduction Connecting the Power Connect the “live-wire” end of the 12-48 VDC power adaptor to the EM-1240-LX’s terminal bl

Pagina 6 - Product Features

EM-1240-LX User’s Manual Introduction The 10/100 Mbps Ethernet LAN 1 and LAN 2 ports use 8-pin RJ45 connectors. Pinouts for these ports are given in

Pagina 7 - Product Specifications

EM-1240-LX User’s Manual Introduction Internal SD Socket The EM-1240-LX provides an internal SD socket for storage expansion. It allows users to plug

Pagina 8 - Software Specifications

EM-1240-LX User’s Manual Introduction Real-time Clock The EM-1240-LX’s real time clock is powered by a lithium battery. We strongly recommend that yo

Pagina 9 - Appearance

22 Chapter 2 Getting Started In this chapter, we explain the basic procedure for getting the EM-1240-LX connected and ready for your needs. In this

Pagina 10 - EM-1240 Development Kit

EM-1240-LX User’s Manual Getting Started Powering on the EM-1240-LX Connect the SG wire to the Shielded Contact located on the upper left corner of t

Pagina 11 - Installing the EM-1240-LX

EM-1240-LX User’s Manual Getting Started Telnet If you know at least one of the two IP addresses and netmasks, then you can use Telnet to connect to

Pagina 12 - Wiring Requirements

EM-1240-LX User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the ter

Pagina 13 - Grounding the EM-1240-LX

EM-1240-LX User’s Manual Getting Started Configuring the Ethernet Interface In this section, we use the serial console to explain how to modify the E

Pagina 14 - Serial Console Port

EM-1240-LX User’s Manual Getting Started 3. You may also configure the EM-1240-LX to request IP addresses from a DHCP server. In this case, use the

Pagina 15 - Additional Functions

EM-1240-LX User’s Manual Getting Started Installing a Secure Digital (SD) Memory Card The EM-1240-LX provides an internal SD socket for storage expan

Pagina 16 - Real-time Clock

EM-1240-LX User’s Manual Getting Started Installing the EM-1240-LX Tool Chain Linux The PC must have the Linux Operating System pre-installed to inst

Pagina 17 - Getting Started

EM-1240-LX User’s Manual Getting Started Uploading “Hello” to the EM-1240-LX To use FTP to upload hello to the EM-1240-LX, issue the following comma

Pagina 18 - Powering on the EM-1240-LX

EM-1240-LX User’s Manual Getting Started Running “Hello” on the EM-1240-LX To run the Hello program issue the following commands on the EM-1240-LX: #

Pagina 19

EM-1240-LX User’s Manual Getting Started 2-10Make File Example Code The following Make File example codes are copied from the Hello example on the E

Pagina 20

33 Chapter 3 Software Package This chapter includes information about the software that is used with EM-1240-LX Series products. In this chapter, w

Pagina 21

EM-1240-LX User’s Manual Software Package EM-1240-LX Software Architecture The pre-installed µClinux Operating System used by the EM-1240-LX follows

Pagina 22 - Compiler

EM-1240-LX User’s Manual Software Package Flash Context Flash Address Size Access control Boot loader 0 – 0x3ffff 256 K Read ONLY Kernet &

Pagina 23 - Compiling Hello.c

Table of Contents Chapter 1 Introduction ...1-1 Overv

Pagina 24

EM-1240-LX User’s Manual Software Package 3-4EM-1240-LX Software Package bin dev upkernel passwd -> tinylogin login -> tinylogin tinylogin

Pagina 25

EM-1240-LX User’s Manual Software Package bin dev ptyp0 ppp pio rtc ram1 ram0 null kmem mem cua0 console tty 3-5

Pagina 26 - Make File Example Code

44 Chapter 4 Configuring the EM-1240-LX In this chapter, we describe how to configure the EM-1240-LX Series products. The following topics are cove

Pagina 27 - Software Package

EM-1240-LX User’s Manual Configuring the EM-1240-LX Enabling and Disabling Daemons The following daemons are enabled when the EM-1240-LX boots up for

Pagina 28

EM-1240-LX User’s Manual Configuring the EM-1240-LX Adding a Web Page Default Home Page address: /home/httpd/index.html You may change the default ho

Pagina 29

EM-1240-LX User’s Manual Configuring the EM-1240-LX Source NAT (SNAT)—changes the first source packet IP address Destination NAT (DNAT)—changes the f

Pagina 30

EM-1240-LX User’s Manual Configuring the EM-1240-LX The EM-1240-LX supports the following sub-modules. Be sure to use the module that matches your ap

Pagina 31

EM-1240-LX User’s Manual Configuring the EM-1240-LX Examples: # iptables -L -n In this example, since we do not use the -t parameter, the system use

Pagina 32 - Configuring the EM-1240-LX

EM-1240-LX User’s Manual Configuring the EM-1240-LX Example 5: Drop TCP packets addressed for port 21. # iptables –A INPUT –i eth0 –p tcp --dport 21

Pagina 33

EM-1240-LX User’s Manual Configuring the EM-1240-LX Configuring Dial-in/Dial-out Service Dial-out Service Direct cable connection: y Without usernam

Pagina 34 - IPTABLES

Enabling NAT at Bootup... 4-7 Configuring Dial-in/Dial-out

Pagina 35

EM-1240-LX User’s Manual Configuring the EM-1240-LX <ETHERNET_INTERFACE>: Ethernet card connected to ADSL modem, for example, eth0 <USER_NAM

Pagina 36

EM-1240-LX User’s Manual Configuring the EM-1240-LX Upgrading the Kernel The EM-1240-LX kernel is em1240-1.x..bin, which can be downloaded from www.m

Pagina 37 - Append or delete rules:

EM-1240-LX User’s Manual Configuring the EM-1240-LX Upgrading the Root File System & User Directory The EM-1240-LX uses JFFS2 for the root file s

Pagina 38 - Enabling NAT at Bootup

EM-1240-LX User’s Manual Configuring the EM-1240-LX User Directory Backup—EM-1240-LX to PC To enable the RAM disk, use the following commands: />u

Pagina 39 - Configuring PPPoE

EM-1240-LX User’s Manual Configuring the EM-1240-LX 4-13Mirroring the Application Program and Configuration For some applications, you may need to “

Pagina 40

55 Chapter 5 EM-1240-LX Device API In this chapter, we discuss the Device API for the EM-1240-LX Series. We introduce the APIs for the following fu

Pagina 41 - Upgrading the Kernel

EM-1240-LX User’s Manual EM-1240-LX Device API RTC (Real-time Clock) The device node is located at /dev/rtc. The EM-1240-LX supports µClinux standard

Pagina 42

EM-1240-LX User’s Manual EM-1240-LX Device API GPIO GPIO stands for General Purpose I/O. GPIOs are user-programmable, and can be used for either digi

Pagina 43 - Loading Factory Defaults

EM-1240-LX User’s Manual EM-1240-LX Device API int set_gpio_mode(unsigned int pio, int mode) --to configure GPIO ports to be DI ports or DO ports.

Pagina 44

EM-1240-LX User’s Manual EM-1240-LX Device API Limits 1. Both the SD card and GPIO share the same signals. To enable the GPIO, the SD card must be d

Pagina 45 - EM-1240-LX Device API

11 Chapter 1 Introduction The Moxa EM-1240-LX Series of Mini RISC-based Ready-to-Run Embedded Computer features dual 10/100 Mbps Ethernet ports and

Pagina 46 - UART Interface

EM-1240-LX User’s Manual EM-1240-LX Device API typedef struct gpio_set_struct { int io_number; int mode_data; } gpio_t; /* * To get the GPIO mo

Pagina 47 - API List

EM-1240-LX User’s Manual EM-1240-LX Device API close(fd); return GPIO_ERROR; } close(fd); return pset.mode_data; } /* * To set the GPIO n

Pagina 48 - How to use the GPIO

EM-1240-LX User’s Manual EM-1240-LX Device API 5-8 CHECK_GPIO_NO(gpio_no); CHECK_GPIO_DATA(data); fd = open(GPIO_DEVICE_NODE, O_RDWR); if ( fd

Pagina 49 - GPIO Library Source Code

AA Appendix A System Commands busybox: µClinux normal command utility collection File manager cp copy file ls list file ln make symbolic link file

Pagina 50

EM-1240-LX User’s Manual System Commands A-2Network ping ping to test network route routing table manager netstat display network status ifconfig se

Pagina 51

BB Appendix B SNMP Agent with MIB II & RS-232 Like Group The EM-1240-LX has a built-in SNMP (Simple Network Management Protocol) agent that sup

Pagina 52

EM-1240-LX User’s Manual SNMP Agent with MIB II & RS-232 Like Group ip MIB tcp MIB udp MIB ipForwarding ipDefaultTTL ipInReceives ipInHdrErrors

Pagina 53 - System Commands

EM-1240-LX User’s Manual SNMP Agent with MIB II & RS-232 Like Group B-3snmp MIB snmpInPkts snmpOutPkts snmpInBadVersions snmpInBadCommunityNames

Pagina 54 - Moxa Special Utilities

CC Appendix C EM-1240-LX FAQ FAQ 1 Why can I only use vfork( ),and am not able to use fork( )? Answer 1 μClinux only supports vfork( ). It does n

Pagina 55

EM-1240-LX User’s Manual Introduction Overview The EM-1240-LX Series of mini RISC-based communication platforms are ideal for your embedded applicati

Pagina 56

EM-1240-LX User’s Manual Introduction Product Specifications Hardware Specifications Model EM-1240 Embedded Module CPU Moxa ART ARM9 32-bit 192 MHz

Pagina 57

EM-1240-LX User’s Manual Introduction Software Specifications Kernel µClinux Kernel 2.6.9 Supports dynamic driver module load / unload Protocol Stack

Pagina 58 - EM-1240-LX FAQ

EM-1240-LX User’s Manual Introduction Hardware Block Diagram RS-23216 MBSDRAMMOXA ART CPU32-bit ARM9192 MHzLAN 1PHYMACLAN 2 PHYMACPowerCircuitWatchdo

Comentarios a estos manuales

Sin comentarios