Moxa Technologies UC-7420/7410 user manual Reset-type Buttons, Real Time Clock, Reset Button

Page 12

UC-7420/7410 User’s Manual

Introduction

Reset-type Buttons

UC-7420/7410 has two reset-type buttons. The button labeled Reset has the same effect as unplugging the power and then plugging the power back in. The button labeled Reset to default returns UC-7420/7410 to the factory default parameter configuration.

Reset Button

Pressing the Reset button initiates a hardware reboot. The button plays the same role as a desktop PC’s reset button.

In normal use, you should NOT use the Reset Button. You should only use this function if the software is not working properly. To reset an embedded linux system, always use the software reboot command />reboot to protect the integrity of data being transmitted or processed.

Reset to default Button

Press the Reset to default button 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. The Ready LED will blink on and off for the first 5 seconds, and then maintain a steady glow once the system has rebooted.

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 to default button is not designed to hard reboot UC-7420/7410.

ATTENTION

Reset to default preserves user’s data

The Reset to default button will NOT format the user directory and erase the user’s data. Pressing the Reset to default button will only load the configuration file. All files in the /etc directory will revert to their factory defaults, but other User Data will still exist in the Flash ROM.

If you need to load the default System Image file, refer to the “System Image Backup” section in Chapter 3,

“Reset to Default” supported by hardware versions V1.2 and higher

The Reset to default button is only supported after hardware version V1.2. You can identify the hardware version from UC-7420/7410’s bottom label. You will need to contact Moxa to determine the version of your product’s hardware. When contacting our customer support team, you will need to provide the product’s Serial Number (S/N), which can be found on UC-7420/7410’s bottom label.

Real Time Clock

UC-7420/7410’s real time clock is powered by a lithium battery. We strongly recommend that you do not replace the lithium battery without help from a qualified Moxa support engineer. If you need to change the battery, contact Moxa RMA service team.

WARNING

There is a risk of explosion if the battery is replaced by an incorrect type.

1-7

Image 12
Contents UC-7420/7410 User’s Manual Third Edition, JuneCopyright Notice TrademarksDisclaimer Table of Contents Chapter UC Finder Appendix B Windows Tool Chain Introduction Introduction ‰ Hardware IntroductionPackage Checklist Product FeaturesOverview UC-7410-LXProduct Hardware Specifications Appearance and Dimensions Hardware IntroductionAppearance Dimensions Hardware Block Diagram LED IndicatorsLED Name Color Meaning Reset-type Buttons Reset ButtonReset to default Button Real Time ClockPlacement Options Wall or CabinetWiring Requirements Hardware Connection DescriptionDIN-Rail Mounting Connecting the Power Connecting to the NetworkPin Signal Grounding UC-7420/7410Connecting to a Serial Device Connecting to the Console PortCompactFlash Pin RS-232 RS-422 RS-485Software Introduction Software ArchitectureJournaling Flash File System JFFS2 Software PackageSoftware Version Comparison Table Protocol stacks and utilities Directory Change‰ Configuring the Ethernet Interface Getting StartedPowering on UC-7420/7410 Connecting UC-7420/7410 to a PCSerial Console Default IP Address Netmask Telnet Console192.168.3.127 255.255.255.0 192.168.4.127 255.255.255.0SSH Console Windows UsersConfiguring the Ethernet Interface Modifying Network Settings with the Serial ConsoleLinux Users Static IP addressesDynamic IP addresses Configuring the Wlan via the Pcmcia Interface Modifying Network Settings over the NetworkDefault IP address is 192.168.5.127, netmask IEEE802.11b#vi /etc/wlan/wlancfg-any IEEE802.11g Setting Explanation SettingKey1Str, Key2Str, Key3Str, Key4Str-Sets strings Key1 to Key4 TurboRate-Enables or disables TurboRate Installing the Tool Chain Linux Test Program-Developing Hello.cChecking the Flash Memory Space StepCompiling Hello.c You should receive the following responseTesting Environment Developing Your First ApplicationUploading Hello to UC-7420/7410 and Running the Program Compiling tcps2.c #mount -t iso9660 /dev/cdrom /mnt/cdromUploading 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 ManualUC-7420/7410 User’s Manual ‰ System Version Information ‰ System Image Backup Managing Embedded LinuxSystem Image Backup System Version InformationUpgrading the Firmware Upgrading the firmware will erase all data on the Flash ROM#upramdisk #cd /mnt/ramdisk Loading Factory Defaults Backing Up the User File System Firmware versions earlier than V1.5 not includingFirmware 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 ManuallyExample shell script to update the system time periodically NTP ClientUpdating the Time Automatically Cron-daemon to Execute Scheduled Commands Change mode of fixtime.shEnable the cron daemon manually Enable cron when the system boots upConnecting Peripherals USB Mass StorageCF Mass Storage Managing Communications ‰ Iptables ‰ NATWeb Service-Apache Telnet / FTPEnabling the Telnet/ftp server Disabling the Telnet/ftp serverUsr/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 Observe and erase chain rules Define policy for chain rulesUsage ExamplesAppend or delete rules IptmacEnabling NAT at Bootup NAT ExampleDial-up Service-PPP Example 2 Connecting to a PPP server over a hard-wired link How to check the connection UP Loopback RunningSetting up UC-7420/7410 as an NFS Server Setting up a Machine for Incoming PPP ConnectionsNFS Network File System #vi /etc/exportsSetting up UC-7420/7410 as an NFS Client Mail Steps 2Open 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 Address Size Contents Flash Memory MapLinux Tool Chain Introduction Debugging with GDB Obtaining helpCross Compiling Applications and Libraries Tools Available in the Host EnvironmentDevice API RTC Real Time ClockBuzzer WDT Watch Dog Timer Input Int fd File handle from swtdopen return value Output Special Note User application example ExampleSwtddisableswtdfd Int mainint argc, char *argv Pidt sonpid Example to set the baud rate Example to get the baud rateKeyPad Baud rate inaccuracySpecial Note ExamplesMake File Example UC Finder Installing the Software Windows UC FinderUC-7420/7410 User’s Manual UC Finder Broadcast Search Linux ucfinder System Commands Busybox V0.60.4 Linux normal command utility collectionFile manager EditorProcess OtherMoxa special utilities Windows Tool Chain Introduction Introduction Installation Procedure Select the Root DirectoryUC-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 IntroductionUC-7420/7410 User’s Manual Windows Tool Chain Introduction Service Information Moxa Internet Services Following services are providedProblem Report Form Moxa Product † UC-7410-LX † UC-7420-LX Serial NumberProduct Return Procedure