Table of Contents
Chapter 1 Introduction..................................................................................................1-1
Overview.................................................................................................................................. 1-2
Ordering Information ............................................................................................................... 1-2
Product Specifications ............................................................................................................. 1-3
Hardware Specifications............................................................................................... 1-3
Software Specifications ................................................................................................ 1-4
Hardware Block Diagram ........................................................................................................ 1-5
Appearance .............................................................................................................................. 1-6
Dimensions .............................................................................................................................. 1-7
Installing the EM-1220-LX...................................................................................................... 1-7
LED Indicators......................................................................................................................... 1-7
Wiring Requirements ............................................................................................................... 1-8
Connecting the Power................................................................................................... 1-8
Grounding the EM-1220-DK Carrier Board................................................................. 1-8
Connecting Data Transmission Cables .................................................................................... 1-9
Connecting to the Network........................................................................................... 1-9
Connecting to a Serial Device .................................................................................... 1-10
Serial Console Port ..................................................................................................... 1-10
Internal SD Socket ................................................................................................................. 1-10
Additional Functions...............................................................................................................1-11
Reset Button ............................................................................................................... 1-11
Real-time Clock.......................................................................................................... 1-11
Chapter 2 Getting Started.............................................................................................2-1
Powering on the EM-1220-DK ................................................................................................ 2-2
Connecting the EM-1220-LX to a PC...................................................................................... 2-2
Console Port ................................................................................................................. 2-2
Telnet............................................................................................................................ 2-3
Configuring the Ethernet Interface .......................................................................................... 2-4
Installing a Secure Digital (SD) Memory Card........................................................................ 2-6
Developing Your Applications ................................................................................................. 2-7
Installing the EM-1220-LX Tool Chain ....................................................................... 2-7
Compiling Hello.c ........................................................................................................ 2-8
Uploading “Hello” to the EM-1220-LX ....................................................................... 2-9
Running “Hello” on the EM-1220-LX ....................................................................... 2-10
Make File Sample Code.............................................................................................. 2-11
Chapter 3 Software Package ........................................................................................3-1
EM-1220-LX Software Architecture ....................................................................................... 3-2
Journaling Flash File System (JFFS2).......................................................................... 3-3
EM-1220-LX Software Package.............................................................................................. 3-4
Chapter 4 Configuring the EM-1220-LX.......................................................................4-1
Enabling and Disabling Daemons............................................................................................ 4-2
Adding a Web Page.................................................................................................................. 4-3
IPTABLES............................................................................................................................... 4-3
NAT.......................................................................................................................................... 4-7
NAT Example............................................................................................................... 4-7
Enabling NAT at Bootup .............................................................................................. 4-8