Moxa Technologies EM-1240-LX user manual Overview, Package Checklist, Product Features

Page 6

EM-1240-LX User’s Manual

Introduction

Overview

The EM-1240-LX Series of mini RISC-based communication platforms are ideal for your embedded applications. The EM-1240-LX comes with 4 RS-232/422/485 serial ports and dual 10/100 Mbps Ethernet LAN ports to provide users with a versatile communication platform.

The EM-1240-LX uses the MOXA ART ARM9 RISC CPU. Unlike the X86 CPU, which uses a CISC design, the ARM9’s RISC design architecture and modern semiconductor technology provide the EM-1240-LX with a powerful computing engine and communication functions, but without generating too much heat. The built-in 8 MB NOR Flash ROM and 16 MB SDRAM give you enough storage capacity and an additional SD socket provides you with flexible storage expansion to run applications. The dual LAN ports built into the ARM9 make the EM-1240-LX an ideal communication platform for some of the simple data acquisition and protocol conversion applications, and the two RS-232/422/485 serial ports allow you to connect a variety of serial devices.

The pre-installed µClinux operating system provides an open software operating system for software program development. Software written for desktop PCs is easily ported to the EM-1240-LX by using a GNU cross complier, so that you will not need to spend time modifying existing software code. The operating system, device drivers, and your own software can all be stored in the EM-1240-LX’s Flash memory.

Package Checklist

EM-1240-LX

Mini RISC-based ready-to-run embedded computer with 4 serial ports, dual Ethernet, SD, μClinux OS.

EM-1240-LX Series products are shipped with the following items:

1 EM-1240 embedded module

1 EM-1240 Development Kit (optional)

Quick Installation Guide

Document & Software CD

Cross-over Ethernet cable

CBL-RJ45M9-150: 150 cm, 8-pin RJ45 to male DB9 serial port cable

CBL-RJ45F9-150: 150 cm, 8-pin RJ45 to female DB9 console port cable

Power cord

Product Warranty Statement

NOTE: Notify your sales representative if any of the above items are missing or damaged.

Product Features

EM-1240-LX Series products have the following features:

MOXA ART ARM9 32-bit 192 MHz communication processor

On-board 16 MB RAM, 8 MB Flash ROM

4 software-selectable RS-232/422/485 serial ports

2 10/100 Mbps Ethernet

RS-232 console full signal and PPP supported

Ready-to-run μCLinux Kernel 2.6.9 communication platform

SD signal supported

1-2

Image 6
Contents EM-1240-LX User’s Manual First Edition, NovemberCopyright Notice Table of Contents Chapter EM-1240-LX Device API Introduction Overview Package ChecklistProduct Features EM-1240-LXProduct Specifications Hardware SpecificationsSoftware Specifications Hardware Block Diagram Appearance EM-1240 Development Kit Embedded ModuleEM-1240 Embedded Module EM-1240 Development Kit Dimensions Installing the EM-1240-LX LED IndicatorsWiring Requirements Connecting Data Transmission Cables Connecting the PowerGrounding the EM-1240-LX Connecting to the Network Connecting to a Serial DeviceAdditional Functions Reset ButtonInternal SD Socket Serial Console PortReal-time Clock Getting Started Powering on the EM-1240-LX Connecting the EM-1240-LX to a PCConsole Port 192.168.3.127 255.255.255.0 Default IP Address Default NetmaskTelnet 192.168.4.127 255.255.255.0Configuring the Ethernet Interface Ifconfig eth0 Dhcpcd -p -a eth0 & dhcpcd -p -a eth1Installing a Secure Digital SD Memory Card Step Installing the EM-1240-LX Tool ChainDeveloping Your Applications #mount -t iso9660 /dev/cdrom /mnt/cdromEM-1240-LX User’s Manual Compiling Hello.c PATH=/usr/local/arm-elf/bin$PATHUploading Hello to the EM-1240-LX #makeRunning Hello on the EM-1240-LX # chmod 755 hello #./helloMake File Example Code Cflags =Software Package EM-1240-LX Software Architecture Flash Context Flash Address Size Access control Journaling Flash File System JFFS2Additional information about JFFS2 is available at EM-1240-LX Software Package Bin DevPtyp0 Ppp Pio Rtc Ram1 Ram0 Null Kmem Mem Cua0 Console Tty Configuring the EM-1240-LX ‰ Iptables ‰ NATExample default enable Enabling and Disabling DaemonsDefault Home Page address Adding a WebLocal Host Packets Define policy rules, and Append or delete rules UsageExamples Define policy for chain rules Enabling NAT at Bootup NAT ExampleDial-out Service Configuring Dial-in/Dial-out ServiceConfiguring PPPoE Dial-in ServiceHow to Mount a Remote NFS Server Dynamic Driver Module Load/UnloadUpramdisk Ramdiskupkernel em1240-1.x.bin /ramdiskrebootUpgrading the Kernel Cd ramdiskUpgrading the Root File System & User Directory Upramdisk Cd ramdiskUser Directory Backup-EM-1240-LX to PC Ramdiskbackupfs /ramdisk/usrdisk-backupAutostarting User Applications on Bootup Loading Factory DefaultsMirroring the Application Program and Configuration Checking the Kernel and Root File System VersionsFsversion Cat /etc/versionEM-1240-LX Device API RTC Real-time Clock BuzzerUart Interface UC Finder Windows UC Finder EM-1240-LX User’s Manual UC Finder EM-1240-LX User’s Manual UC Finder Linux UC Finder File manager System CommandsBusybox µClinux normal command utility collection EditorOther NetworkProcess Moxa Special UtilitiesSnmp Agent with MIB II & RS-232 Like Group Snmp Agent with MIB II & RS-232 Like Group Ip MIB Tcp MIB Udp MIBSnmp MIB RFC1317 RS-232 like group supported variables Rs232 MIBEM-1240-LX FAQ Service Information Moxa Internet Services Following services are providedProblem Report Form Moxa Product † EM-1240-LX Serial NumberProduct Return Procedure