Manuals
/
Moxa Technologies
/
Computer Equipment
/
Network Card
Moxa Technologies
EM-1240-LX
user manual
Dimensions
Models:
EM-1240-LX
1
11
64
64
Download
64 pages
45 Kb
8
9
10
11
12
13
14
15
Specifications
Install
FAQ
Example default enable
Connecting the Power
Dimension
Ifconfig eth0
Problem Report Form
Reset Button
System Commands
Page 11
Image 11
EM-1240-LX
User’s Manual
Introduction
Dimensions
EM-1240
Embedded Module
.
EM-1240
Development Kit
1-7
Page 10
Page 12
Page 11
Image 11
Page 10
Page 12
Contents
First Edition, November
EM-1240-LX User’s Manual
Copyright Notice
Table of Contents
Chapter EM-1240-LX Device API
Introduction
EM-1240-LX
Package Checklist
Product Features
Overview
Hardware Specifications
Product Specifications
Software Specifications
EM-1240 Development Kit Embedded Module
Hardware Block Diagram Appearance
EM-1240 Embedded Module EM-1240 Development Kit
Dimensions
Wiring Requirements
Installing the EM-1240-LX
LED Indicators
Grounding the EM-1240-LX
Connecting Data Transmission Cables
Connecting the Power
Connecting to a Serial Device
Connecting to the Network
Serial Console Port
Reset Button
Internal SD Socket
Additional Functions
Real-time Clock
Getting Started
Console Port
Powering on the EM-1240-LX
Connecting the EM-1240-LX to a PC
192.168.4.127 255.255.255.0
Default IP Address Default Netmask
Telnet
192.168.3.127 255.255.255.0
Configuring the Ethernet Interface
Dhcpcd -p -a eth0 & dhcpcd -p -a eth1
Ifconfig eth0
Installing a Secure Digital SD Memory Card
#mount -t iso9660 /dev/cdrom /mnt/cdrom
Installing the EM-1240-LX Tool Chain
Developing Your Applications
Step
EM-1240-LX User’s Manual
PATH=/usr/local/arm-elf/bin$PATH
Compiling Hello.c
#make
Uploading Hello to the EM-1240-LX
# chmod 755 hello #./hello
Running Hello on the EM-1240-LX
Cflags =
Make File Example Code
Software Package
EM-1240-LX Software Architecture
Additional information about JFFS2 is available at
Flash Context Flash Address Size Access control
Journaling Flash File System JFFS2
Bin Dev
EM-1240-LX Software Package
Ptyp0 Ppp Pio Rtc Ram1 Ram0 Null Kmem Mem Cua0 Console Tty
Iptables NAT
Configuring the EM-1240-LX
Enabling and Disabling Daemons
Example default enable
Adding a Web
Default Home Page address
Local Host Packets
Examples
Define policy rules, and Append or delete rules
Usage
Define policy for chain rules
NAT Example
Enabling NAT at Bootup
Dial-in Service
Configuring Dial-in/Dial-out Service
Configuring PPPoE
Dial-out Service
Dynamic Driver Module Load/Unload
How to Mount a Remote NFS Server
Cd ramdisk
Ramdiskupkernel em1240-1.x.bin /ramdiskreboot
Upgrading the Kernel
Upramdisk
Upramdisk Cd ramdisk
Upgrading the Root File System & User Directory
Ramdiskbackupfs /ramdisk/usrdisk-backup
User Directory Backup-EM-1240-LX to PC
Checking the Kernel and Root File System Versions
Loading Factory Defaults
Mirroring the Application Program and Configuration
Autostarting User Applications on Bootup
Cat /etc/version
Fsversion
EM-1240-LX Device API
Uart Interface
RTC Real-time Clock
Buzzer
UC Finder
Windows UC Finder
EM-1240-LX User’s Manual UC Finder
EM-1240-LX User’s Manual UC Finder
Linux UC Finder
Editor
System Commands
Busybox µClinux normal command utility collection
File manager
Moxa Special Utilities
Network
Process
Other
Snmp Agent with MIB II & RS-232 Like Group
Ip MIB Tcp MIB Udp MIB
Snmp Agent with MIB II & RS-232 Like Group
RFC1317 RS-232 like group supported variables Rs232 MIB
Snmp MIB
EM-1240-LX FAQ
Service Information
Following services are provided
Moxa Internet Services
Moxa Product EM-1240-LX Serial Number
Problem Report Form
Product Return Procedure
Top
Page
Image
Contents