Moxa Technologies EM-1240-LX Internal SD Socket, Additional Functions, Serial Console Port

Page 15

EM-1240-LX User’s Manual

Introduction

Serial Console Port

The serial console port is a 4-pin pin-header RS-232 port. It is designed for serial console terminals, which are useful for identifying the EM-1240-LX boot up message.

Serial Console Port & Pinouts

Serial Console Cable

 

 

 

 

 

 

4

 

 

Pin

Signal

 

 

 

1

TxD

 

3

 

 

 

 

 

2

RxD

 

2

 

 

 

 

 

3

NC

 

1

 

 

 

 

 

4

GND

 

 

 

 

 

Internal SD Socket

The EM-1240-LX provides an internal SD socket for storage expansion. It allows users to plug in a Secure Digital (SD) memory card compliant with the SD 1.0 standard for up to 1 GB of additional memory space. To install an additional SD card, you must first remove the EM-1240-LX’s outer cover to access the slot. The internal SD socket is located at the backside of the EM-1240-LX bottom board; you can find the SD plug-in slot at the right of the EM-1240-LX, lower than the cover screw. Plug the SD card into the socket directly and remember to press the SD card first if you want to take it out. Please note that the SD function shares the same chipset with DIO. If you would like to enable SD function, the DIO must be disabled. If you would like to enable DIO, the SD function must be disabled.

Additional Functions

Reset Button

Press the Reset button on the EM-1240-DK continuously for at least 5 seconds to load the factory default configuration. After the factory default configuration has been loaded, the system will reboot automatically. We recommend that you only use this function if the software is not working properly and you want to load factory default settings. To reset an embedded Linux system, always use the software reboot command />reboot to protect the integrity of data being transmitted or processed. The Reset button is not designed to hard reboot the EM-1240 Development Kit.

1-11

Image 15
Contents First Edition, November EM-1240-LX User’s ManualCopyright Notice Table of Contents Chapter EM-1240-LX Device API Introduction EM-1240-LX Package ChecklistProduct Features OverviewHardware Specifications Product SpecificationsSoftware Specifications EM-1240 Development Kit Embedded Module Hardware Block Diagram AppearanceEM-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 a Serial Device Connecting to the NetworkSerial Console Port Reset ButtonInternal SD Socket Additional FunctionsReal-time Clock Getting Started Powering on the EM-1240-LX Connecting the EM-1240-LX to a PCConsole Port 192.168.4.127 255.255.255.0 Default IP Address Default NetmaskTelnet 192.168.3.127 255.255.255.0Configuring the Ethernet Interface Dhcpcd -p -a eth0 & dhcpcd -p -a eth1 Ifconfig eth0Installing a Secure Digital SD Memory Card #mount -t iso9660 /dev/cdrom /mnt/cdrom Installing the EM-1240-LX Tool ChainDeveloping Your Applications StepEM-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-LXCflags = Make File Example CodeSoftware Package EM-1240-LX Software Architecture Flash Context Flash Address Size Access control Journaling Flash File System JFFS2Additional information about JFFS2 is available at Bin Dev EM-1240-LX Software PackagePtyp0 Ppp Pio Rtc Ram1 Ram0 Null Kmem Mem Cua0 Console Tty ‰ Iptables ‰ NAT Configuring the EM-1240-LXEnabling and Disabling Daemons Example default enableAdding a Web Default Home Page addressLocal Host Packets Define policy rules, and Append or delete rules UsageExamples Define policy for chain rules NAT Example Enabling NAT at BootupDial-in Service Configuring Dial-in/Dial-out ServiceConfiguring PPPoE Dial-out ServiceDynamic Driver Module Load/Unload How to Mount a Remote NFS ServerCd ramdisk Ramdiskupkernel em1240-1.x.bin /ramdiskrebootUpgrading the Kernel UpramdiskUpramdisk Cd ramdisk Upgrading the Root File System & User DirectoryRamdiskbackupfs /ramdisk/usrdisk-backup User Directory Backup-EM-1240-LX to PCChecking the Kernel and Root File System Versions Loading Factory DefaultsMirroring the Application Program and Configuration Autostarting User Applications on BootupCat /etc/version FsversionEM-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 Editor System CommandsBusybox µClinux normal command utility collection File managerMoxa Special Utilities NetworkProcess OtherSnmp Agent with MIB II & RS-232 Like Group Ip MIB Tcp MIB Udp MIB Snmp Agent with MIB II & RS-232 Like GroupRFC1317 RS-232 like group supported variables Rs232 MIB Snmp MIBEM-1240-LX FAQ Service Information Following services are provided Moxa Internet ServicesMoxa Product † EM-1240-LX Serial Number Problem Report FormProduct Return Procedure