Moxa Technologies
UC-7420/7410
user manual
Dimensions
Install
Hardware Block Diagram
Pin Signal
Default IP Address Netmask
WDT Watch Dog Timer
Wiring Requirements
Dimension
Problem Report Form
Reset-type Buttons
Setup 3 Routed IP
Page 10
UC-7420/7410
User’s Manual
Introduction
Dimensions
125 mm [4.92"]
44 mm [1.73"]
197 mm [7.76"]
1-5
Page 9
Page 11
Image 10
Page 9
Page 11
Contents
UC-7420/7410 User’s Manual
Third Edition, June
Trademarks
Copyright Notice
Disclaimer
Table of Contents
Chapter UC Finder
Appendix B Windows Tool Chain Introduction
Introduction
Hardware Introduction
Overview
Package Checklist
Product Features
UC-7410-LX
Product Hardware Specifications
Hardware Introduction
Appearance and Dimensions
Appearance
Dimensions
LED Indicators
Hardware Block Diagram
LED Name Color Meaning
Reset to default Button
Reset-type Buttons
Reset Button
Real Time Clock
Placement Options
Wall or Cabinet
Hardware Connection Description
Wiring Requirements
DIN-Rail Mounting
Pin Signal
Connecting the Power
Connecting to the Network
Grounding UC-7420/7410
CompactFlash
Connecting to a Serial Device
Connecting to the Console Port
Pin RS-232 RS-422 RS-485
Software Introduction
Software Architecture
Journaling Flash File System JFFS2
Software Package
Software Version Comparison Table
Protocol stacks and utilities
Directory Change
Configuring the Ethernet Interface
Getting Started
Connecting UC-7420/7410 to a PC
Powering on UC-7420/7410
Serial Console
192.168.3.127 255.255.255.0
Default IP Address Netmask
Telnet Console
192.168.4.127 255.255.255.0
SSH Console
Windows Users
Linux Users
Configuring the Ethernet Interface
Modifying Network Settings with the Serial Console
Static IP addresses
Dynamic IP addresses
Default IP address is 192.168.5.127, netmask
Configuring the Wlan via the Pcmcia Interface
Modifying Network Settings over the Network
IEEE802.11b
#vi /etc/wlan/wlancfg-any
IEEE802.11g
Setting Explanation
Setting
Key1Str, Key2Str, Key3Str, Key4Str-Sets strings Key1 to Key4
TurboRate-Enables or disables TurboRate
Checking the Flash Memory Space
Installing the Tool Chain Linux
Test Program-Developing Hello.c
Step
Compiling Hello.c
You should receive the following response
Developing Your First Application
Testing Environment
Uploading Hello to UC-7420/7410 and Running the Program
Compiling tcps2.c
#mount -t iso9660 /dev/cdrom /mnt/cdrom
Uploading tcps2-release and Running the Program
PuTTY
#jobs // use this command to check if the program is running
Testing Procedure Summary
UC-7420/7410 User’s Manual
UC-7420/7410 User’s Manual
System Version Information System Image Backup
Managing Embedded Linux
Upgrading the Firmware
System Image Backup
System Version Information
Upgrading the firmware will erase all data on the Flash ROM
#upramdisk #cd /mnt/ramdisk
Loading Factory Defaults
Firmware versions earlier than V1.5 not including
Backing Up the User File System
Firmware version V1.5 and later versions
Enabling and Disabling Daemons
UC-7420/7410 User’s Manual Managing Embedded Linux
Setting the Run-Level
Adjusting the System Time
Setting the Time Manually
NTP Client
Example shell script to update the system time periodically
Updating the Time Automatically
Enable the cron daemon manually
Cron-daemon to Execute Scheduled Commands
Change mode of fixtime.sh
Enable cron when the system boots up
USB Mass Storage
Connecting Peripherals
CF Mass Storage
Managing Communications
Iptables NAT
Enabling the Telnet/ftp server
Web Service-Apache
Telnet / FTP
Disabling the Telnet/ftp server
Usr/www/cgi-bin
Saving a Web Page to the CF Card
Use the following commands to restart the Apache web server
Iptables
Local Host Packets
Usage
Observe and erase chain rules
Define policy for chain rules
Examples
Append or delete rules
Iptmac
Enabling NAT at Bootup
NAT Example
Dial-up Service-PPP
Example 2 Connecting to a PPP server over a hard-wired link
How to check the connection
UP Loopback Running
NFS Network File System
Setting up UC-7420/7410 as an NFS Server
Setting up a Machine for Incoming PPP Connections
#vi /etc/exports
Setting up UC-7420/7410 as an NFS Client
Mail
Steps 2
Open VPN
Internet
IFS=‘
Create link symbols to enable this script at boot time
Destination Gateway Genmsk Flags Metric Use Iface
Now ping Host B from Host a by typing
Setup 3 Routed IP
Destination Gateway Genmsk Flags Metric Use Iface
Programmer’s Guide
Flash Memory Map
Address Size Contents
Linux Tool Chain Introduction
Cross Compiling Applications and Libraries
Debugging with GDB
Obtaining help
Tools Available in the Host Environment
RTC Real Time Clock
Device API
Buzzer
WDT Watch Dog Timer
Input Int fd File handle from swtdopen return value Output
Special Note
User application example Example
Swtddisableswtdfd Int mainint argc, char *argv Pidt sonpid
Example to set the baud rate
Example to get the baud rate
Special Note
KeyPad
Baud rate inaccuracy
Examples
Make File Example
UC Finder
Installing the Software
Windows UC Finder
UC-7420/7410 User’s Manual UC Finder
Broadcast Search
Linux ucfinder
File manager
System Commands
Busybox V0.60.4 Linux normal command utility collection
Editor
Other
Process
Moxa special utilities
Windows Tool Chain Introduction
Introduction
Installation Procedure
Select the Root Directory
UC-7420/7410 User’s Manual Windows Tool Chain Introduction
UC-7420/7410 User’s Manual Windows Tool Chain Introduction
Using the Bash Shell
GDB debug tool-Insight
UC-7420/7410 User’s Manual Windows Tool Chain Introduction
UC-7420/7410 User’s Manual Windows Tool Chain Introduction
Service Information
Moxa Internet Services
Following services are provided
Problem Report Form
Moxa Product UC-7410-LX UC-7420-LX Serial Number
Product Return Procedure
Related pages
All Dimension page
How do I reset my Samsung BD-J4500 to factory settings?
Get instructions
Top
Page
Image
Contents