Moxa Technologies NPort 1220 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Redes Moxa Technologies NPort 1220. Moxa Technologies NPort 1220 User`s manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - EM-1220 LX User’s Manual

EM-1220 LX User’s Manual Fourth Edition, January 2010 www.moxa.com/product © 2010 Moxa Inc. All rights reserved. Reproduction without permission is

Página 2

EM-1220 LX User’s Manual Introduction Appearance EM-1220-LX Embedded Module + EM-1220-DK Carrier Board EM-1220-LX Embedded Module MOXA ART ARM9 32-

Página 3 - Table of Contents

EM-1220 LX User’s Manual Introduction Dimensions EM-1220-LX Embedded Module 80cm50cm EM-1220-DK Carrier Board Installing the EM-1220-LX To use the

Página 4

EM-1220 LX User’s Manual Introduction Wiring Requirements This section describes how to connect the EM-1220-LX to serial devices. Be sure to heed the

Página 5 - Introduction

EM-1220 LX User’s Manual Introduction ATTENTION This product should be mounted to a well-grounded mounting surface such as a metal panel. V+V-SG12-

Página 6 - Ordering Information

EM-1220 LX User’s Manual Introduction Connecting to a Serial Device Connect the serial cable between the EM-1220-DK and the serial device(s). Serial

Página 7 - Product Specifications

EM-1220 LX User’s Manual Introduction Additional Functions Reset Button Press the Reset button on the EM-1220-DK continuously for at least 5 seconds

Página 8 - Software Specifications

22 Chapter 2 Getting Started In this chapter, we explain the basic procedure for getting the EM-1220-LX connected and ready for use. In this chapte

Página 9 - Hardware Block Diagram

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

Página 10 - Appearance

EM-1220 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

Página 11 - LED Indicators

EM-1220 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

Página 12 - Wiring Requirements

EM-1220 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

Página 13 - Connecting to the Network

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

Página 14 - Internal SD Socket

EM-1220 LX User’s Manual Getting Started Installing a Secure Digital (SD) Memory Card The EM-1220 Development Kit has an internal SD socket for stora

Página 15 - Additional Functions

EM-1220 LX User’s Manual Getting Started Developing Your Applications Step 1: Connect the EM-1220-DK to a Linux PC. Step 2: Install Tool Chain (GNU C

Página 16 - Getting Started

EM-1220 LX User’s Manual Getting Started Compiling Hello.c The Tool Chain path is: PATH=/usr/local/bin:$PATH The EM-1220-LX CD includes several examp

Página 17 - Powering on the EM-1220-DK

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

Página 18

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

Página 19

EM-1220 LX User’s Manual Getting Started 2-11Make File Sample Code The following Make File example code was copied from the Hello example on the EM-

Página 20

33 Chapter 3 Software Package This chapter includes information about the software used with the EM-1220-LX. In this chapter, we cover the followin

Página 21

EM-1220 LX User’s Manual Software Package EM-1220-LX Software Architecture The pre-installed µClinux operating system used by the EM-1220-LX follows

Página 22 - Developing Your Applications

EM-1220 LX User’s Manual Software Package The partition sizes are hard coded into the kernel binary. You must rebuild the kernel to change the partit

Página 23 - Compiling Hello.c

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

Página 24

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

Página 25

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

Página 26 - Make File Sample Code

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

Página 27 - Software Package

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

Página 28

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

Página 29

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

Página 30

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

Página 31

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

Página 32 - Configuring the EM-1220-LX

EM-1220 LX User’s Manual Configuring the EM-1220-LX Examples: Example 1: Accept all packets from lo interface. # iptables –A INPUT –i lo –j ACCEPT Ex

Página 33

EM-1220 LX User’s Manual Configuring the EM-1220-LX Enabling NAT at Bootup In most real world situations, you should use a simple shell script to ena

Página 34 - IPTABLES

Configuring Dial-in/Dial-out Service ... 4-8 Dial-out Service...

Página 35

EM-1220 LX User’s Manual Configuring the EM-1220-LX Configuring PPPoE PPPoE relies on two widely accepted standards: PPP and Ethernet, which permits

Página 36

EM-1220 LX User’s Manual Configuring the EM-1220-LX For example, to unload the UART driver, type the following command: />rmmod mxser For the EM

Página 37 - Append or delete rules:

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

Página 38 - NAT Example

EM-1220 LX User’s Manual Configuring the EM-1220-LX 4-12Loading Factory Defaults The easiest way to “Load Factory Defaults” is with the “Upgrade Use

Página 39 - Dial-in Service

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

Página 40 - Configuring PPPoE

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

Página 41 - Upgrading the Kernel

EM-1220 LX User’s Manual EM-1220-LX Device API GPIO GPIO means General Purpose I/O. It is a user-programmable design that both digital input and digi

Página 42

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

Página 43 - Loading Factory Defaults

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

Página 44 - EM-1220-LX Device API

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

Página 45 - UART Interface

11 Chapter 1 Introduction The Moxa EM-1220-LX is a mini RISC-based ready-to-run embedded module that features dual 10/100 Mbps Ethernet ports and t

Página 46 - API List

EM-1220 LX User’s Manual EM-1220-LX Device API 5-7 return GPIO_NODE_ERROR; pset.io_number = gpio_no; pset.mode_data = mode; if ( ioctl(fd, IO

Página 47 - How to use

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

Página 48 - GPIO Library Source Code

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

Página 49

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

Página 50

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

Página 51 - System Commands

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

Página 52 - Moxa Special Utilities

CC Appendix C EM-1220-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

Página 53

EM-1220 LX User’s Manual Introduction Overview The EM-1220-LX is a mini RISC-based communication platform that is ideal for embedded applications. Th

Página 54

EM-1220 LX User’s Manual Introduction Product Specifications Hardware Specifications Model EM-1220-LX Embedded Module CPU MOXA ART ARM9 32-bit 192 MH

Página 55

EM-1220 LX User’s Manual Introduction Storage temperature -20 to 80°C (-4 to 176°F), 5 to 95% RH -40 to 85°C (-40 to 185°F) is optional for EM-1220-T

Página 56 - EM-1220-LX FAQ

EM-1220 LX User’s Manual Introduction Hardware Block Diagram 1-5

Comentários a estes Manuais

Sem comentários