EM-2260-CE Development Kit User’s Manual Third Edition, April 2009 www.moxa.com/product © 2009 Moxa Inc. All rights reserved. Reproduction without permission is prohibited.
EM-2260-CE Development Kit 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 © 2009 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 Appearance .............................................................................................................................. 1-2 EM-2260 Development Kit ...........................................................
1 Chapter 1 Introduction Thank you for purchasing the MOXA EM-2260 RISC-based industrial ready-to-run embedded module. This manual introduces the hardware installation, connector interfaces as well as software configurations of the EM-2260 Embedded Module and EM-2260 Development Kit.
EM-2260-CE User’s Manual Introduction Overview The MOXA EM-2260 Embedded Module features Cirrus Logic ARM9 CPU, 128 MB RAM, 32 MB Flash Disk, dual 10/100 Mbps Ethernet, eight digital inputs and eight digital outputs, four high speed serial ports, two USB 2.0 Hosts and an EIDE interface for external storage connection such as CompactFlash card. In addition, with built-in VGA interface, EM-2260 is suitable for SCADA system in industrial applications, that require VGA and HMI features.
EM-2260-CE User’s Manual Introduction EM-2260 Development Kit ATTENTION The EM-2260 package includes the EM-2260 embedded module only. The EM-2260 Development Kit is available for evaluation purposes.
EM-2260-CE User’s Manual Introduction EM-2260-DK Carrier Board and Peripheral Extension Board EM-2260-DK Peripheral Extension Board Package Checklist The EM-2260 Development Kit contains the following items: y EM-2260 Embedded Module y EM-2260-DK, the carrier board of the EM-2260 Development Kit y Peripheral Extension Board y Quick Installation Guide y Document & Software CD y Ethernet Cable: RJ45 to RJ45 cross-over cable, 100 cm y Universal Power Adapter y Product Warranty Paper ATTENTI
EM-2260-CE User’s Manual Introduction Features The EM-2260 Embedded Module/EM-2260 Development Kit has the following features: y Cirrus Logic EP9315 ARM9 CPU, 200 MHz y 128 MB RAM on-board, 32 MB Flash Disk y Graphical interface for external VGA output connection y 4 high speed TTL serial ports y Dual 10/100 Mbps Ethernet for network redundancy y 8+8 DI/DO y Support EIDE interface and USB 2.0 Host y Ready-to-Run WinCE 6.
EM-2260-CE User’s Manual Introduction connector) Serial: TxD x 4, RxD x 4 Others: RTC, buzzer, Watchdog Timer, Reset button Display Graphical Controller: EP9315 internal graphics accelerator engine with TTL graphical signal support Display Memory: Dynamic video memory, share system memory Graphical Resolution: 1024 x 768 (8-bit), 800 x 600 (16-bit), 640 x 480 (24-bit) Serial Communication Serial Port EM-2260: Signals support High speed TTL serial port x 4 (TxD, RxD, DTR, DSR, RTS, CTS, DCD, GND)
EM-2260-CE User’s Manual Introduction Wet contact: Logic level 0 -- +3V max, Logic level 1: +10V ~ +30V (COM to DI) Protection EM-2260 Development Kit: 3KV optical isolation protection Connector Type EM-2260 Development Kit: 10 Pin Screw Terminal Block (8 points / COM / GND) Digital Output Input Channels EM-2260: Signals of 8 output channels EM-2260 Development Kit: 8, sink type Digital Output Levels EM-2260: 3.
EM-2260-CE User’s Manual Introduction Regulatory Approvals and Warranty EMC: FCC, CE (Class A) Others: RoHS, WEEE Warranty: 5 years Hive-Based Registry—Contrast to RAM-Based Registry The registry for the EM-2260 is a hive-based registry in contrast to a RAM-based registry. The hive-based registry stores registry data inside files, or hives, which can be kept on any file system. This removes the need for performing backup and restore on power off.
EM-2260-CE User’s Manual Introduction EM-2260-DK Carrier Board EM-2260 Peripheral Extension Board 1-9
2 Chapter 2 Software Configuration This chapter describes basic system management utilities, such as system information, processes monitoring, serial port configuration, network and date/time setting. Some of these operations can be done via system utilities/commands after gaining access to the computer.
EM-2260-CE User’s Manual Software Configuration Software Specifications Applications Development Environment To make EM-2260 an easy-to-use programming environment, its Windows CE 6.0 environment provides the following common, popular application development features that make programming convenient and easy as in a PC environment.
EM-2260-CE User’s Manual Software Configuration Supporting Servers and Daemons In addition to the development and communication capability, EM-2260 embeds the services and daemons as stated next. These common and easy-to-use application servers help users to migrate the EM-2260 embedded computer to the industrial communication application very easily and conveniently. y Telnet Server - A sample server that allows remote administration through a standard telnet client.
EM-2260-CE User’s Manual Software Configuration System Manager Utility To resolve management issues, a user friendly management system is installed into the EM-2260 computer. Before operating this utility, please make sure you have a display monitor connected to your EM-2260 embedded computer. Then, double-click the desktop icon [System Manager]. System Information The first page displays the system information of the EM-2260 computer, including the firmware version of the computer, .
EM-2260-CE User’s Manual Software Configuration Serial Port Configuration The EM-2260 contains 4 high-performance serial ports. When the system starts up you can specify the default operation mode (RS-232, 422 or 485). The factory default mode would be RS-232. Process (Thread) Monitoring/Control You can use the management system to monitor and control Processes or Threads. To view current processes, please click the “Processes” item on the tab bar. The running processes are then displayed.
EM-2260-CE User’s Manual Software Configuration Services Monitoring/Control Some services run on the background, such as FTP, Telnet and HTTP, you can click on a check box to toggle a start/stop operation for a service. You can also adjust the time automatically by using SNTP. Click on the check box to enable the service and click the button to activate. Some listed services cannot be stopped in order to maintain normal operation of the computer. Such services do not have a check box next to them.
EM-2260-CE User’s Manual Software Configuration Display The EM-2260 VGA output works through DB15 Female connector to display the Windows CE desktop into a LCD monitor or a CRT monitor. The default setting is “800x600”, 16 bit and 60Hz. You should tune the setting to match your monitor’s specification. In the Display setting window you can adjust the setting and press “Apply” to save the setting. ATTENTION You must restart (reboot) the system to make the setting takes effect.
EM-2260-CE User’s Manual Software Configuration User/Group Management You can add users by click the “Add” button to assign specific services, such as ftp and telnet, to define user groups such that these services are accessible and remove users by click the “Remove” button. User can change login Password by click expectative name twice.
EM-2260-CE User’s Manual Software Configuration Auto Launch Configuration You can specify programs to execute automatically after booting up. Click “Add” button to add the program and restart EM-2260 to execute these programs. Changing the Network Settings You can use Windows CE Network Control Panel to change Network Settings. 1. Move you mouse, go to the [Start] Æ [Settings] Æ [Network and Dial-Up Connections]. 2.
EM-2260-CE User’s Manual Software Configuration 3. Click “OK” button after configuration is done. Operating Your EM-2260 Computer via Telnet Client Before operating your EM-2260 computer using the Telnet client, we suggest that you change the network settings of the computer (see the earlier section) to have at least one of the two network ports situated in the same LAN as your development workstation.
EM-2260-CE User’s Manual Software Configuration User/Group Management User Group: You should assign specific services, such as ftp and telnet, to defined user groups such that these services are accessible only by the users within the permissible user group. Three user groups, namely “ftpd”, “telnetd”, and “httpd”, are already created by default for your convenience. Adding a Group: Use the command useradd –g to create a user group. \> useradd –g yyyy group yyyy has been added.
EM-2260-CE User’s Manual Software Configuration Adjusting Time Zone Windows CE 6.0 supports Time Zone. You can use [Control Panel]Æ[Date/Time] to adjust your current Time Zone. It also supports Daylight Date and Daylight Time. Adjusting System Time Setting the System Time Manually: Use the date, and time commands to query the current system date/time or to set a new system date/time.
EM-2260-CE User’s Manual Software Configuration 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.3.127 Subnet Mask: 255.255.255.0 Adapter Name: AX887961 Description: AX887961 Adapter Index: 2 Address: 00 90 e8 00 00 40 DHCP Enabled: NO Ethernet adapter Local Area Connection: IP Address: 192.
EM-2260-CE User’s Manual Software Configuration To delete a routing item, \> route DELETE 192.168.0.0 Simple Network Management Protocol (SNMP) SNMP is the Internet Standard protocol for network management and part of the TCP/IP protocol suite. SNMP was developed to monitor and manage networks. It uses a distributed architecture that consists of agents and managers: SNMP Agent The SNMP agent is an SNMP application that monitors network traffic and responds to queries from SNMP manager applications.
EM-2260-CE User’s Manual Software Configuration Web Server Configuration You need a Windows 2000 or Windows XP for Web administration. Try to open a “IE” and go to URL http://192.168.3.127/WebAdmin (e.g. the EM-2260 network IP address is 192.168.3.127). After the logon information you could see the standard Web server Administration page.
EM-2260-CE User’s Manual Software Configuration In this administration page, you can create a new web site or create a virtual web path for your web application. You can also change the authentication for each web virtual directory.
3 Chapter 3 Boot Loader and Console Port This chapter describes how to connect the EM-2260 to a PC for the debugging and testing purposes. For clarity, this PC is called a development workstation and the EM-2260 computer is called a target computer.
EM-2260-CE User’s Manual Boot Loader and Console Port Console Ports There is a 4-pin pin-header RS-232 console port designed for serial terminals, which gives users a convenient way of connecting the development workstation (The PC) to the console utility of the target computer (The EM-2260). This method is particularly useful when using the computer for the first time or for debugging while the system cannot boot up. A special Serial Console Cable (Optional) is needed for this function.
EM-2260-CE User’s Manual Boot Loader and Console Port 4. Power on to cold reset EM-2260, it may takes 30 to 60 seconds for the operating system to boot up. 5. After a successful connection, type the login name and password as requested to logon the computer. The default values are both “admin”. Login: admin Password: admin Go to Boot Loader Menu from Console If the computer is not working properly or the system cannot boot up successfully. You can use following steps to go to Boot Loader menu. 1.
EM-2260-CE User’s Manual Boot Loader and Console Port 4. Hold “DEL” key continuously. 5. Power on EM-2260. You should see below screen in few seconds. There are four functions: Reset to Factory Default: You can turn on the flag to enforce the WinCE 6.0 to do the “reset to factory” default. Format Flash Disk and Reset OS: The WinCE FAT file system has the possibility to be damaged by unstable power or improper application execution. If the FAT table is crashed you may not be able to boot the OS up.
EM-2260-CE User’s Manual Boot Loader and Console Port Firmware Upgrade Procedure To upgrade the EM-2260 firmware, you must have the firmware upgrade installation file. This firmware installation file is included in the released software CD. You can also download it from MOXA Download Center if there is newly released, the URL is listed below. http://web4.moxa.com/support/download_center.asp 1. Get the firmware upgrade installation file (In this example, EM-2260-CE_V1.1_Build-08011415.hfm). 2.
EM-2260-CE User’s Manual Boot Loader and Console Port 4. Go to the Boot Loader menu from Console. (See the earlier section.) 5. Select “TFTP Config”. 6. Next, Select “User Configure”.
EM-2260-CE User’s Manual Boot Loader and Console Port 7. Then, Input Local IP Address (EM-2260) and Server IP Address (TFTP host IP Address). 8. Next, Select “Show Configure” to check configuration of local IP and server IP. 9. After confirm the IP configuration, press [ESC] to go back main menu for next step.
EM-2260-CE User’s Manual Boot Loader and Console Port 10. Select “Firmware Update”. 11. Next, Select “Load from LAN2 (TFTP)”. 12. Input the firmware file name (e.g. EM-2260-CE_V1.1_Build-08011415.hfm) and the Press [Enter]. 13. The TFTP utility on the development workstation (The PC) and Boot Loader on the target computer will start to transfer firmware file. In the mean time, firmware will be updated automatically.
EM-2260-CE User’s Manual Boot Loader and Console Port 14. Please wait until the “Command>>” prompt appears again and reboot the system.
EM-2260-CE User’s Manual Boot Loader and Console Port ATTENTION Do NOT switch off power supply during firmware update, otherwise the computer and Boot Loader may crash.
A Appendix A Regulatory Approval Statement This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Class A: FCC Warning! This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules.