DA-660-8/16-CE User’s Manual Fourth Edition, April 2008 www.moxa.com/product © 2008 Moxa Inc., all rights reserved. Reproduction without permission is prohibited.
DA-660-8/16-CE User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright © 2008 Moxa Inc. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1 Introduction ..................................................................................................1-1 Overview.................................................................................................................................. 1-2 Package Checklist....................................................................................................... 1-2 Model Descriptions and Features ....................................................................
1 Chapter 1 Introduction Microsoft® Windows® CE 5.0 is an open, scalable, 32-bit operating system (OS) that allows you to build a wide range of innovative, small footprint devices. A typical Windows® CE-based device is designed for a specific use, and often runs disconnected from other computers, or distributed as a front-end to a centralized host.
DA-660-8/16-CE User’s Manual Introduction Overview The DA-660 WinCE embedded computer is ideal for reliable, small-footprint, programmable, communication-centric applications. DA-660 uses an Intel XScale IXP-422 RISC-based CPU running at a clock rate of 266 MHz. Unlike the CISC architecture under an X86 CPU, the RISC design supports compact instruction sets. A RISC-based CPU generates less heat and consequently enhances reliability.
DA-660-8/16-CE User’s Manual Introduction Hardware Specifications Model CPU RAM Flash LAN Serial Port Serial Protection Data Bits Stop Bits Parity Flow Control Speed Serial Console LCM Keypad Real Time Clock Buzzer Reset Button Power Input Power Consumption Dimensions (W × D × H) Operating temperature Storage temperature Regulatory Approvals Warranty DA-660-8-CE DA-660-16-CE Intel XScale IXP-422 266 MHz 128 MB 32 MB Auto-sensing 10/100 Mbps × 2 with built-in 1.
DA-660-8/16-CE User’s Manual y y y y y y Introduction Component Services (COM and DCOM)—The Common Object Model (COM) is an operating system-independent, object-oriented system for creating binary software components that can interact with other COM-based components in the same process space, in other processes, or on remote machines.
DA-660-8/16-CE User’s Manual y y Introduction Web Server (HTTPD)—Includes ASP, ISAPI Secure Socket Layer support, SSL 2, SSL 3, Transport Layer Security (TLS/SSL 3.1) public key-based protocols, and Web Administration ISAPI Extensions. Dial-up Networking—Consists of a RAS client API and Point to Point Protocol (PPP). RAS and PPP support Extensible Authentication Protocol (EAP) and RAS scripting.
DA-660-8/16-CE User’s Manual Introduction In addition, the FAT file system searches for free space sequentially when performing write operations. As files are deleted, free storage space becomes more and more fragmented, making it difficult to search. When a file is frequently updated, data is deleted and rewritten to the same memory blocks over and over again. Eventually, the FAT file system would be unable to read those blocks, causing the operating system to hang.
2 Chapter 2 Getting Started In this chapter, we explain how to use a PC to operate a DA-660 computer. For clarity, the PC is referred to as a development workstation and the DA-660 computer is called a target computer. In addition, manual steps are described to facilitate operations such as system time adjustment, troubleshooting network connectivity, etc.
DA-660-8/16-CE User’s Manual Getting Started Starting Your DA-660 Computer Connect the power cord that is shipped with the package to the AC/DC power connector (located on the right side of the rear panel) of the target computer. It takes about 30 to 60 seconds for the system to boot up. Once the system is ready, the Ready LED lights up and glows steadily till the computer is shutdown and the computer displays its model name and firmware version on the LCM.
DA-660-8/16-CE User’s Manual Getting Started \> netconfig -h Usage: netconfig –n <“LAN1” or “LAN2”> [-m ] [-d ] [-g ] [-i ] For example, your development workstation has a LAN port at 192.168.1.x and the Domain Name Server (DNS) is at 192.168.2.6. Execute the following command. \> netconfig –n LAN1 –i 192.168.1.5 –m 255.255.255.0 –g 192.168.1.254 –d 192.168.2.6 Use command netconfig to view the new settings.
DA-660-8/16-CE User’s Manual Getting Started User/Group Management User Group: You often want the target computer to be accessible by multiple users with different needs. For example, a specific service, such as ftp or telnet, is accessible only by the users within the permissible group. By default, three user groups, namely ftpd, telnetd, and administrators are pre-created for your convenience. Adding a Group: Use the command useradd –g to create a user group.
DA-660-8/16-CE User’s Manual Getting Started Adjusting System Time and RTC Time The DA-660 computer has two time settings, the system time (or CPU clock) and the RTC (Real Time Clock) time. The system time regulates the execution of instructions and the RTC keeps track of the time even when the computer is turned off. RTC time runs on a special battery that is not connected to the normal power supply. Do not confuse a computer's real-time clock with its CPU clock.
DA-660-8/16-CE User’s Manual Getting Started Troubleshooting Network Connectivity The ipconfig tool prints the TCP/IP-related configuration data of a host including the IP addresses, gateway and DNS servers. \> ipconfig /all Windows IP configuration Ethernet adapter Local Area Connection: IP Address: 192.168.4.127 Subnet Mask: 255.255.255.
DA-660-8/16-CE User’s Manual Getting Started To add a routing item on network interface 1, \> route ADD 192.168.0.0 MASK 255.255.0.0 192.168.15.254 IF 2 To delete a routing item, \> route DELETE 192.168.0.0 Simple Network Management Protocol (SNMP) SNMP belongs to the TCP/IP protocol suite and is the Internet standard protocol for network management. SNMP was developed to monitor and manage networks.
3 Chapter 3 Web-based Management System Note: Internet Explorer 5.5 or above is required to use the web based management system. DA-660 ready-to-run embedded computers are network-centric platforms designed to be used as front-end computers for data acquisition and industrial control. Due to the distributed characteristics of the devices that these computers control, they often reside in harsh areas as the devices themselves and are away from system administrators.
DA-660-8/16-CE User’s Manual Web-based Management System Logging Onto Web-based Management System A web-based management system is provided for the DA-660-CE for easier management and system administration. The web-based management system uses a menu bar and CGI pages to provide access to commonly-used features. Before using the web-based management system, your PC must have a web browser installed and a network connection to the DA-660-CE. To open the web-based management system, follow these steps: 1.
DA-660-8/16-CE User’s Manual Web-based Management System Networking/Server Configuration The target computer has two network interfaces. To view or change their settings, click the Networking item on the menu bar. After the page loads, enter the relevant details on the corresponding text fields and then click “Update” to make the changes effective for the interfaces.
DA-660-8/16-CE User’s Manual Web-based Management System Process (Thread) Monitoring/Control At runtime, the target computer manages up to 32 applications that you can monitor and control via the management system. To view current processes, click the Processes item on the main menu bar. You can kill a process by clicking the kill button next to the process name.
DA-660-8/16-CE User’s Manual Web-based Management System Binary/Text File Management On a PC, it is certainly convenient to have a friendly window-based file manager to browse, delete, and organize files and directories. On the target computer, such a convenient feature is simulated by the web-based management system. Click File Manager to view the directory tree of your target computer.
A Appendix A Using the LCM Keypad Da-660 has an LCM and keypad that provide users with on-site parameter readings, and the ability to modify the configuration. Parameters that can be modified include model name, firmware version, network settings, etc. We use the DA-660-16-CE as an example to demonstrate the steps you should follow to configure these parameters.
ThinkCore DA-660-8/16-CE User’s Manual Using the LCM Keypad Main Menu Network Serial Port ↑ ↓ Press “﹀"or use “SEL” to select an item. Serial Port Console Port ↑ ↓ Press “﹀"or use “SEL” to select an item. Console Port Return ↑ ↓ Press “^"or use “SEL” to select an item. Network Settings (Port eth0 for example) Network Serial Port ↑ ↓ Press “SEL". eth0 eth1 ↑ ↓ Press “SEL". eth0: IP 192.168.3.127 ↑ ↓ Press “﹀". eth0: Broadcast 255.255.255.255 ↑ ↓ Press “﹀". eth0: Netmask 255.255.255.
B Appendix B Firmware Upgrade Procedure Software features for Moxa embedded computers continue to be developed, improving quality and enhancing functionality. Firmware updates will be made available in the Moxa download center. When updating the firmware for your embedded computer, follow these instructions: 1. 2. 3. 4. Visit the MOXA download center at http://web4.moxa.com/support/download_center.asp to download the appropriate firmware update file for your embedded computer.
DA-660-8/16-CE User’s Manual 5. Firmware Upgrade Procedure The upgrade proves should take about five minutes. When the process is complete, you will be asked if you wish to keep the current network settings. Press “Y” to keep the current network settings.
DA-660-8/16-CE User’s Manual 6. Firmware Upgrade Procedure Enter “Y” when prompted to reboot the embedded computer. The system will be restarted with the new firmware in effect.
C Appendix C Frequently Asked Questions Q: Can the connection port for the web server (HTTPD) be changed to something other than 80? A: Yes, you can change the connection port for the web server. This is accomplished by changing a registry setting. The following instructions show how to change the HTTPD port to 81 instead of 80. In this example, the embedded computer is assigned an IP address of 192.168.3.127. Adapt the procedure as necessary for your embedded computer’s IP settings. Step 1.
DA-660-8/16-CE User’s Manual Frequently Asked Questions Step 7. Change the value of “SockAddr” to “02 00 00 51 00 00 00 00 00 00 00 00 00 00 00 00”. For “Modified Value:”, enter “02 00 00 51 00 00 00 00 00 00 00 00 00 00 00 00” Go to the display position for “SockAddr” and click “Modify”. Step 8. Log onto the embedded computer from a Telnet client and restart the web server. /> services stop HTP0: /> services start HTP0: Step 9. Try the new URL to verify that the change was successful: http://192.168.3.
DA-660-8/16-CE User’s Manual Frequently Asked Questions Q: If I accidentally delete system files or corrupt the operating system, is there any way to recover the system or reset the embedded computer to factory defaults? A: If the embedded computer is behaving strangely or not working properly, you may reset it back to factory default settings. While the embedded computer is powered on, use a paper clip or pin to hold the “Reset to Default” button down for five seconds.
DA-660-8/16-CE User’s Manual Frequently Asked Questions Step 2. In the first text field, enter the full path of the application. In the second text field, enter any arguments, if required. Click “Add”. Step 3. Repeat steps 1 and 2 to set up additional applications that will start automatically upon bootup.
DA-660-8/16-CE User’s Manual Frequently Asked Questions Q: How do I monitor processes on Moxa embedded computers? A: In the Telnet or serial console, you can execute “ps” to monitor current processes. In the web console, there is a “Processes” page. You can monitor processes and “kill” a pending application on the system.