Moxa-technologies EM-1240-LX Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Matériel Moxa-technologies EM-1240-LX. Moxa Technologies EM-1240-LX User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 64
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
EM-1240-LX Users Manual
www.moxa.com/product
First Edition, November 2006
Moxa Systems Co., Ltd.
Tel: +886-2-8919-1711
Fax: +886-2-8919-1722
Web:
www.moxa.com
Moxa Technical Support
Worldwide:
support@moxa.com
The Americas
support@usa.moxa.com
Vue de la page 0
1 2 3 4 5 6 ... 63 64

Résumé du contenu

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

EM-1240-LX User’s Manual www.moxa.com/product First Edition, November 2006 Moxa Systems Co., Ltd. Tel: +886-2-8919-1711 Fax: +886-2-89

Page 2

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

Page 3 - Table of Contents

EM-1240-LX User’s Manual Introduction 1-7Dimensions EM-1240 Embedded Module. EM-1240 Development Kit

Page 4

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

Page 5 - Introduction

EM-1240-LX User’s Manual Introduction 1-9 ATTENTION Safety First! Be sure to disconnect the power cord before installing and/or wiring your EM-1240-

Page 6 - Product Features

EM-1240-LX User’s Manual Introduction 1-10Connecting to the Network Connect one end of the Ethernet cable to the EM-1240-LX’s 10/100M Ethernet port

Page 7 - Product Specifications

EM-1240-LX User’s Manual Introduction 1-11Serial Console Port The serial console port is a 4-pin pin-header RS-232 port. It is designed for serial c

Page 8 - Software Specifications

EM-1240-LX User’s Manual Introduction 1-12 ATTENTION Resetting to factory defaults will not format the user directory and erase all of the user’s da

Page 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 thi

Page 10 - EM-1240 Development Kit

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

Page 11 - Dimensions

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

Page 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

Page 13 - Grounding the EM-1240-LX

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

Page 14 - Connecting to the Network

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

Page 15 - Additional Functions

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

Page 16 - Real-time Clock

EM-1240-LX User’s Manual Getting Started 2-7Developing Your Applications Step 1: Connect the EM-1240-LX to a Linux PC. Step 2: Install Tool Chain (G

Page 17 - Getting Started

EM-1240-LX User’s Manual Getting Started 2-8Step 1: Double click the “tool-chain\windows\setup.exe” on the EM-1240-LX CD to begin the installation,

Page 18 - Powering on the EM-1240-LX

EM-1240-LX User’s Manual Getting Started 2-9Step 3: Click [Next] to select the local package files directory, and then click [Browse…] to select whe

Page 19

EM-1240-LX User’s Manual Getting Started 2-10#make to compile Hello.c. Finally, execute the program to generate hello and hello.gdb. Uploading “Hel

Page 20

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

Page 21

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

Page 22

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

Page 23 - Compiler

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

Page 24

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

Page 25 - Compiling Hello.c

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

Page 26

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

Page 27

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

Page 28 - 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 cov

Page 29 - Software Package

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

Page 30

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

Page 31

EM-1240-LX User’s Manual Configuring EM-1240-LX 4-4Destination NAT (DNAT)—changes the first destination packet IP address MASQUERADE—a special form

Page 32

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

Page 33

EM-1240-LX User’s Manual Configuring EM-1240-LX 4-6Define policy for chain rules Usage: # iptables [-t tables] [-P] [INPUT, OUTPUT, FORWARD, PREROUT

Page 34 - Configuring the EM-1240-LX

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

Page 35

EM-1240-LX User’s Manual Configuring EM-1240-LX 4-7NAT NAT (Network Address Translation) protocol translates IP addresses used on one network into d

Page 36 - IPTABLES

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

Page 37

EM-1240-LX User’s Manual Configuring EM-1240-LX 4-9<USER_PASSWORD>: Password for user account To check if PPPOE is successfully connected, use

Page 38

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

Page 39 - Append or delete rules:

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

Page 40 - Enabling NAT at Bootup

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

Page 41 - Configuring PPPoE

EM-1240-LX User’s Manual Configuring EM-1240-LX 4-13 |+bin Loading Factory Defaults The easiest way to “Load Factory Defaults” is with the “Upgrade

Page 42

EM-1240-LX User’s Manual Configuring EM-1240-LX 4-14To check the root file system (firmware) version of the EM-1240-LX, type: />fsversion You may

Page 43 - Upgrading the Kernel

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 f

Page 44

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

Page 45

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 an

Page 46 - Loading Factory Defaults

66 Chapter 6 UC Finder The EM-1240-LX comes with a UC Finder utility, which has the sole purpose of searching the LAN or intranet for the EM-1240-

Page 47

EM-1240-LX User’s Manual UC Finder 6-2Windows UC Finder The following steps describe how to install UC Finder on a Windows PC. 1. Double click the

Page 48 - EM-1240-LX Device API

EM-1240-LX User’s Manual UC Finder 6-34. Select the Launch UC Finder option, to use UC Finder immediately after the installation has finished, and

Page 49 - UART Interface

EM-1240-LX User’s Manual UC Finder 6-46. The Searching window will show the Universal Communicators that have been located. You can click Stop as

Page 50 - UC Finder

EM-1240-LX User’s Manual UC Finder 6-5 ATTENTION UC finder is designed solely to find IP addresses of networked Universal Communicators. It cannot

Page 51 - Windows UC Finder

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

Page 52

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

Page 53

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 su

Page 54 - Linux UC Finder

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

Page 55 - System Commands

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

Page 56 - Moxa Special Utilities

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

Page 57

CC Appendix C EM-1240-LX FAQ FAQ 1 Why can I only use vfork( ),and am unable to use fork( )? Answer 1 uClinux only supports vfork( ). It does no

Page 58

DD Appendix D Service Information This appendix shows you how to contact Moxa for information about this and other products, and how to report pro

Page 59

EM-1240-LX User’s Manual Service Information D-2Moxa Internet Services Customer satisfaction is our primary concern. To ensure that customers recei

Page 60 - EM-1240-LX FAQ

EM-1240-LX User’s Manual Service Information D-3Problem Report Form Moxa EM-1240-LX Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Prod

Page 61 - Service Information

EM-1240-LX User’s Manual Service Information D-4Product Return Procedure For product repair, exchange, or refund, the customer must:  Provide ev

Page 62 - Moxa Internet Services

EM-1240-LX User’s Manual Introduction 1-3Product Specifications Hardware Specifications Model EM-1240 Embedded Module CPU MOXA ART ARM9 32-bit 192 M

Page 63 - Moxa EM-1240-LX

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

Page 64 - Product Return Procedure

EM-1240-LX User’s Manual Introduction 1-5Hardware Block Diagram Appearance EM-1240 Embedded Module + Development Kit EM-1240 Embedded Module EM-1

Commentaires sur ces manuels

Pas de commentaire