Eddy Serial User Guide Ver 2.1.0.3 2009. 11.
Revision History 2 Revision Date Document Version Pages Description Feb-5-2009 2.1.0.1 All Initial release by shlee Sep-10-2009 2.1.0.2 4,5,6 Added WiFi Nov-11-2009 2.1.0.
Table of Contents Chapter 1. 1.1 About this manual ............................................................................................................................. 5 1.2 Who should read this manual ........................................................................................................... 5 1.3 Contents ............................................................................................................................................ 5 1.4 Eddy Documents .........
5.1 Connection ...................................................................................................................................... 33 5.2 Setup Menu ..................................................................................................................................... 34 5.3 Network Settings ............................................................................................................................. 36 5.4 Serial Settings...............................
Chapter 1. Introduction Chapter 1. Introduction Eddy, SystemBase Embedded Device Server Module, is an optimized minimal CPU module for developing an industrial embedded device. This manual introduces general factions for the Eddy. 1.1 About this manual This manual guides that users are able to develop Eddy for a device server including the function that transfers from serial data to LAN.
Chapter 1. Introduction 1.4 Eddy Documents The following table summarizes documents included in the Eddy document set.
Chapter 1. Introduction 1.5 Technical Support You can reach our tech support by following 3 ways; 1. Visit the Eddy official community site at http://www.embeddedmodule.com and go to ‘Technical Support’ menu. FAQ and questions can be reviewed and submitted. 2. E-mail our technical support team to tech@sysbas.com. Any kind of inquiries, requests, and comments are welcomed. 3. Call us at our customer center at 82-2-855-0501 for immediate support.
Chapter2. Getting Started Chapter 2. Getting Started Welcome to Eddy! This chapter includes Eddy series overview, main and distinctive features, package contents for each product, and application fields. 2.1 Overview There are two categories in Eddy; Eddy-CPU module, Eddy Development Kit (DK). Eddy-CPU modules include category of socket type Eddy-CPU and Mini PCI type Eddy-S4M. Eddy-DK includes DK board for Eddy-CPU exclusive, JIG and DK board for Eddy-S4M exclusive.
Chapter2. Getting Started Feature CPU Type ARM926EJ-S (210 MHz) Memory 8MB Data Flash, 32 MB SDRAM External I/F 19 Bit / 16 Bit Data Bus Ethernet I/F 10/100 Base-T Auto MDI/MDIX USB 2.0 FS ADC 4 Port, Support up to 921.6 Kbps (1 : Full Signal, 2,3,4, : RxD, TxD, RTS, CTS only) 2 Host /1 Device Port, 2.0 FS (12Mbps) 4-Channel 10 Bit ADC TWI(I2C) Master, Multi-Master and Slave Mode SPI 8- to 16-bit Programmable Data Length Four External Peripheral Chip Selects GPIO Max.
Chapter2. Getting Started 2.3 Eddy-DK v2.1 (Development Kit) Eddy Development Kit (Eddy DK) helps programmers to test and customize their own Eddy applications easily. The kit includes evaluation board, all necessary connectors, and programming environment with documentations and guidelines. Please refer to Eddy DK Manual included in the Development Kit for detailed information on the DK.
Chapter2.
Chapter2. Getting Started Classification CPU Battery Holder ADC Specification ARM9260B-CJ (210 MHz) AT45DB642D, 8MB Data Flash IS42S16160B, 32 MB SDRAM 10/100 Base-T MAC KSZ8041NLi PHYceiver Auto MDI/MDIX Port 0,1 : RS232 (DB9 male) Port 0 : Full Signal Port 1 : TxD, RxD, RTS, CTS only Port 2,3 : COMBO (Terminal Block 5pin) * COMBO : RS422/RS485 is S/W selectable 3 Host /1 Device Port, 2.
Chapter2. Getting Started Classification characteristics Environment Specification Dimensions 59.75 x 61.80 x 4 mm Weight Operating Temp Storage Temp Humidity 15 g -40 ~ 85°C -66 ~ 150°C 5 ~ 95% Non-Condensing CE Class A, FCC Class A, RoHS compliant 2.5 Eddy-S4M-DK v2.1 (Development Kit) Eddy-S4M DK is Development Kit supporting programmer can easily materialize and test their application. DK includes Test Board, various connectors, programming environment and document.
Chapter2.
Chapter2. Getting Started Classification 2.7 Specification USB Connector USB HOST LAN Port Reset Button Expansion Header Input Power Dimensions RJ45 with Transformer Factory Default & Warm Boot Used to connect most functions of S4M to externalS4M 5 VDC 70 x 105 mm Eddy-WiFi v 2.1 Eddy WiFi joined with Eddy-CPU, Eddy-S4M enables various serial devices (secure device, communication device, modem, print data device, industrial measuring instrument) to connect wireless LAN.
Chapter2. Getting Started Classification Frequency Band Output Power RX sensitivity Security Working distance Data Rate Power consumption 16 Specification 802.11a: US: UNI-Band 5.15~5.35GHz EU: UNI-Band 5.15~5.35GHz UNI-Band 5.47~5.725GHz 802.11b/g: ISM band 2.4GHz ~ 2.4884GHz 802.11a: 12 dBm 802.11g: 14 dBm 802.11b: 17 dBm 802.11a/g: -68m @54Mbps 8% PER 802.11b: -85dBm @11Mbps 8% PER WEP 64/128, WPA, WPA2 60 - 120m, depending on surrounding environment 802.11b : 11, 5.5, 2, 1 Mbps 802.
Chapter2. Getting Started 2.8 Eddy Software Architecture 2.9 Main Features Various features of Eddy make it a universal yet distinctive embedded solution. Below lists main features of Eddy. Premium-level hardware with ARM9 210MHz CPU, 8MB Flash, and 32MB SDRAM Selectable RS232 only or RS422/485 combo interfaces USB host port (Max 12Mbps USB Full speed) SD Card Interface Max 921.
Chapter2. Getting Started 2.10 Applications Eddy can be applied to many practical applications in various fields. Some are presented below.
Chapter3. Hardware Description Chapter 3. Hardware Description This chapter provides Eddy’s hardware information, including block diagram, layout, pin specifications, dimensions and other hardware-related issues. 3.1 Eddy-CPU Ethernet port is provided as pin headers, and the transformer and RJ-45 connector should be manually implemented by users. (RJ-45 connector with embedded transformer, normally called LAN-Mate or MAG Jack, can be used as a simpler approach. Eddy CPU V2.
Chapter3. Hardware Description 3.2 Eddy-DK v2.1 It is Development Kit Providing environment to test and developing. Bellow is simple Instruction on Device, Switch, Pin, LED and so on.
Chapter3.
Chapter3.
Chapter3. Hardware Description 3.3 Eddy-S4M v2.1 Mini PCI Type Slot.. When developing main board, user must materialize transformer and RJ-45 connector (or RJ45 in which transformer is included (LAN-Mate or MAC Jack)). Since Driver IC is in Eddy-S4M, Serial port can be integrated easily only by attach connector.
Chapter3. Hardware Description 3.4 Eddy-S4M-DK v2.1 Development Kit provides testing and configuration in environment of Eddy-S4M v2.
Chapter3. Hardware Description 3.5 Eddy-S4M-JIG v2.1 It is test board which used when you test with Eddy-S4M v2.1 3.6 25 Eddy WiFi v2.
Chapter3. Hardware Description LEFT 26 Description RIGHT Description 1 NA 1 NA 2 NA 2 NA 3 NA 4 NA 5 VCC(3.3V) 6 VCC(3.
Chapter4. Integration Chapter 4. Integration This chapter explains how you can make Eddy to communicate. It deals with LAN and pin header connection guides for Eddy to operate together with the target serial device. Follow these steps to connect Eddy to the device and network. 4.1 Connection Guide 1) WAN/LAN In order to connect Eddy to network, you need to use RJ45 Ethernet port. It supports both 10Mbps and 100Mbps Ethernet connection (auto-sensing).
Chapter4. Integration 4.3 Connecting to Eddy with IP address In order to view current Eddy’s settings or modify them, you need to make a Web or Telnet connection to Eddy. IP address is required information to make a connection. There are two ways you can know the current IP address of Eddy. First is to use a built-in, alias IP address of ‚10.10.1.1‛. Second is to use ‚Detector‛ application provided in the Utility & Documents CD. This application allows searching for Eddy modules on the network.
Chapter4. Integration ◆ Factory default alias IP address: 10.10.1.1 In case you configure Eddy to use DHCP to obtain an IP address automatically, you might find it hard to know the IP address to connect to. To provide users with an easier way to know the current IP address, Eddy has a fixed alias IP that is always accessible. Use the address below whenever you cannot find out Eddy’s IP address.
Chapter4. Integration If Eddy module is not on the same network as the PC you are working on, use ‚IP Configure‛ button to temporarily assign an IP address that you would like to make a Web or Telnet connection to. If you assign a temporary IP address to Eddy, you need to to change the IP address and restart in Web or Telnet. Now you are ready to connect to Eddy! There are three options to configure Eddy. 1) Web You can easily configure Eddy with web interface, accessible from any web browser.
Chapter4. Integration 4.4 Using MCI slot & USB Host Port The following contents outline the usage of Eddy’s MCI & USB Host Port. Using MCI slot MMC and SDCards can be used through MCI slot. Please note that MCI and SDCard must be inserted before power is induced to Eddy. MMC or SDCards are automatically recognized as a new disk space in " /tmp/mmc " folder. If memory card is not inserted to the MCI slot, " /tmp/mmc " folder will not be created.
Chapter4.
Chapter7. Appendix Chapter 5. 5.1 Configuration via Web Connection Open your favorite web browser and enter the IP address of Eddy to access Eddy’s web manager. Once you are successfully connected, the following front page will show up. You need to enter appropriate username and password to login. Please note that this username and password is used as authentication method for Telnet as well.
Chapter7. Appendix 5.2 Setup Menu If login process is successful, you will see a web manager’s main page, showing summary of your device. On the left, you will see a setup menu, and you can navigate through these options. WiFi Disable View Since S4M doesn’t support DIO and LCD, ‚DIO settings‛ doesn’t appear on the left menu.
Chapter7. Appendix WiFi Enable View Main features of Setup Menu are as follows. 35 Menu Descriptions Summary View a summary of Eddy. Network Settings Configure network connection settings. Wireless Settings Configure Wireless settings. Peripheral Settings Select GPIO or Device mode. Serial Settings Configure detailed operation environment for serial communication. GPIO Settings Configure programmable I/O pins. DIO Settings Configure DIO port.
Chapter7. Appendix 5.3 SNMP Settings Configure detailed operation environment for SNMP. Change Password Change ID and password for both Web and Telnet interface. Update Firmware Update Eddy’s firmware. Factory Default Restore all the factory default settings. Save & Reboot Save the configurations and reboot Eddy. Network Settings Configure general network environment and network management. After changing values, you need to click ‘Submit’ button.
Chapter7. Appendix Main features for WAN Configuration is as follows. Menu Default Descriptions Device Name Eddy Name of the current device Line Type Static IP IP obtaining method for Eddy’s network connection. IP Address 192.168.0.223 Subnet Mask 255.255.255.0 Gateway 192.168.0.254 DNS 168.126.63.1 Current IP address Eddy is assigned to. (When line type is Static IP, manually enter an appropriate IP address. When line type is DHCP, current IP is displayed, but it is not editable.
Chapter7. Appendix Password) Telnet Service Enable Enable or disable Telnet service. If disabled, you cannot connect to Eddy via Telnet. FTP Service Enable Enable or disable FTP service. If disabled, you cannot connect to Eddy via FTP. Web Service Enable Enable or disable Web service. If disabled, you cannot connect to Eddy via Web. SSH Service Disable Enable or disable Secure Shell service. Disable Enable or disable remote debugging function used by Eddy development environment, LemonIDE.
Chapter7. Appendix Menu Default Descriptions Select the operation protocol, which the serial port would use. Disable Do not use this port. COM Use the serial port of Eddy as the COM ports of Windows 2000/XP/2003/Vista operated PC. Operation Mode COM TCP Server Eddy works as a socket server, waiting for the client connection on the network. Socket number for awaiting connections can be set in ‘Local socket port’ field.
Chapter7. Appendix Menu Default Descriptions All data between the socket and the serial port is transferred untouched after the socket connection is established. TCP Broadcast Eddy works as a server, accepting up to 5 simultaneous connections from socket clients. Data transmitted from Eddy is broadcast to each socket client. TCP Multiplex Eddy works as a server, accepting up to 5 simultaneous connections from socket clients.
Chapter7. Appendix Menu Default Parity None Flow Control None Device Type DataOnly Remote IP Address / Port 0.0.0.0 / 4000 Descriptions Set parity bit check scheme.. (Options: None, Odd, Even) Set the flow control scheme. (Options: None, Xon/Xoff, RTS/CTS) Set the signal line checking method for the device to be connected to the given serial port. If the mode is set to Data Only, only TxD, RxD, and GND signal lines are used in inter-device communication.
Chapter7. Appendix Menu Port Login Passive Username Passive Password Default Disable eddy 99999999 Descriptions When the Operation Mode is set to TCP Server, ask for the username and password when the client tries to connect (Options: Enable, Disable) When the Operation Mode is set to TCP Server, set the username to ask for. 16 Characters at maximum. When the Operation Mode is set as TCP Server, set the password to ask for. 16 Characters at maximum. 5.
Chapter7. Appendix Menu Wireless Network Default Disable Description When enabled, Eddy-WiFi is available. •Disable: Eddy-WiFi is not available. •Enable: Eddy-WiFi is available. Set the wireless LAN mode. (Option: Infrastructure, Ad-Hoc) •Infrastructure : Use Eddy-WiFi under the Infrastructure mode. This mode is used for connecting to the wireless AP (Access Point) as a client to connect to other network. •Ad-Hoc : Use Eddy-WiFi under the Ad-hoc mode.
Chapter7. Appendix 2346 Sets the maximum packet size to send a packet after dividing into small pieces. (Range: 256 ~ 2346 bytes) This setting transmits a packet after dividing into small pieces. Communication overhead is increased but communication error can be reduced in serious interference or noise environment. In most cases, this setting is not used. The setting as 2346 disables this function. 802.11h Disable Sets whether to use of the 802.11h spectrum management function.
Chapter7. Appendix •AES : The Advanced Encryption Standard (AES) defines an encryption algorithm in FIPS PUB 197. 1 Selects the index of the key to be used from the created keys. (Option: 1, 2, 3 and 4) Key None Selects WEP 64-bit (Enter a Hex Key value directly). (Example: 3132333435) Selects WEP 128-bit (Enter a Hex Key value directly) (Example: 31323334353637383940414243) Password None Password for the TKIP encryption type. (Up to 64 bytes) DHCP Sets an IP address type in a wireless network.
Chapter7. Appendix also program a customized GPIO application, and you can implement it with the SDK included in the Eddy development kit. Eddy-S4M provide 34ea GPIO port, different from Eddy-CPU, the sharing device is limited to ADC. After changing values, you need to click ‘Submit’ button. Then you will see the same page with modified values. Please note that you have to ‘Save & Reboot’ in order to see these changes in effect. Changes will be discarded if you do not save current settings.
Chapter7.
Chapter7. Appendix Configuration view of Eddy-S4M 5.7 DIO Settings Eddy-DK supports 16 Channel Digital inputs and outputs (DIO) by connecting with I2C interface. It is possible to switch GLCD or Digital IO port via 16 Channel DIO. After changing values, you need to click ‘Submit’ button. Then you will see the same page with modified values. Please note that you have to ‘Save & Reboot’ in order to see these changes in effect. Changes will be discarded if you do not save current settings.
Chapter7. Appendix Menu Device Select 49 Default Descriptions LCD Set the purpose of the I2C 16 Bit I/O channel. LCD: Set the G-LCD mode. If you set to the LCD, you cannot use it for the DIO port. DIO: Set the DIO 16 channel mode. You can set input or out 16 channel as like the GPIO. If you set to the DIO, you cannot use it for the G-LCD.
Chapter7. Appendix 5.8 SNMP Settings You can set the communication and operation environment for the SNMP Agent. After changing values, you need to click ‘Submit’ button. Then you will see the same page with modified values. Please note that you have to ‘Save & Reboot’ in order to see these changes in effect. Changes will be discarded if you do not save current settings. In order to use the SNMP Agent, SNMP v1/v2/v3 Agent become enabled and pushes the [Submit] button.
Chapter7. Appendix System reset notification Port connect notification Port disconnect notification 5.9 Enable Disable Disable If Enable is selected, inform the ‚System reset info.‛ (Option : Enable, Disable) If Enable is selected, inform the ‚Serial Port opened info.‛ (Option : Enable, Disable) If Enable is selected, inform the ‚Serial Port Closed info.‛ (Option : Enable, Disable) Change Password Change Web/Telnet access username and password. After changing values, you need to click ‘Submit’ button.
Chapter7. Appendix 5.11 Factory Default Restore all the configuration parameters to the factory default values. Clicking on ‘Restore Factory Defaults’ button will delete all current settings and restore settings to the initial status. Eddy will automatically reboot. You cannot turn back the decision once you select this option. ◆ The factory default WAN IP Address: 192.168.0.223 ◆ The factory default LAN IP Address: 10.10.1.
Chapter7. Appendix 5.12 Save & Reboot This option saves changes to the Flash memory and restarts the system to let the changes to take place in the operation.
Chapter7. Appendix Main features for Save & Reboot are as follows Menu Descriptions Save and Reboot ‘Save & Reboot’ reboots Eddy after saving changes to Flash memory. Reboot Only ‘Reboot Only’ option just reboots Eddy without saving changes. This option can be used to rollback the changes you have mistakenly made. Chapter 6. 6.1 Configuration via Telnet Connection Open your telnet client and enter Eddy’s IP address to connect. You need to enter appropriate username and password to login.
Chapter7. Appendix 6.2 View commands Commands related to View are as follows. 6.3 Commands Descriptions def view Show all information about Eddy. def view wan Show WAN network settings. def view lan Show LAN network settings. def view wifi Show WiFi network settings. def view management Show managing items settings. def view port Show serial port settings. def view gpio Show GPIO pin settings. def view dio Show DIO pin settings. def help Show command list and help.
Chapter7. Appendix def gateway 192.168.0.1 Set the default gateway Eddy is assigned to. When line type is DHCP, it is not editable. Instead, current gateway address is shown. def dns 168.126.63.1 Set the Domain Name Service IP address. def portviewip 0.0.0.0 Configures IP of PC which Portview is installed If IP is set to 0.0.0.0, NMS feature is disabled. (Please refer to Portview User’s Manual for detailed information.
Chapter7. Appendix 57 SNMP V1/V2 Attributes can read and write by SNMP Agent. In order to read attributes only change the feature to "ReadOnly.‛ In order to read and write attributes change the feature to "ReadWrite.‛ (Options : ReadOnly/ ReadWrite) SNMP V3 Attributes can read and write by SNMP Agent. In order to read attributes only change the feature to "ReadOnly.‛ In order to read and write attributes change the feature to "ReadWrite.
Chapter7. Appendix 6.4 WiFi commands Bellow are instruction and function which enable WiFi Network. 명령어 def wifi wireless disable 설명 Determine whether to use Eddy-WiFi module infrastructure Configure the active mode of wireless LAN 802.11 b/g mixed Configure the active protocol of wireless network.
Chapter7. Appendix def wifi key [wep key string] def wifi password [wpa password] def wifi line [dhcp, static ip] def wifi ip [IP address] def wifi gateway [router Address] def wifi mask [Mask Address] def wifi dns [DNS Address] 6.5 None Register key to use when Encryption is WEB. None Register password to use when Encryption is TKIP. DHCP Select acquiring way of IP in wireless network 192.168.1.72 Register IP address when acquiring way of IP is Static IP. 192.168.1.
Chapter7. Appendix Commands def port 1 flow [none/xon/rts] def port 1 signal [data/modem] def port 1 remote def port 1 remoteport Descriptions none Set the flow control scheme. data 0.0.0.0 4000 def port 1 keepalive <0 ~ 65535> 0 def port 1 latency 180 def port 1 login [Enable / Disable] def port 1 loginname def port 1 loginpass 6.
Chapter7. Appendix Chapter 7. 7.1 ppendix Firmware Updates via FTP Eddy supports firmware update with Web or FTP. This section describes update method via FTP and Telnet. Web update is described in Chapter 5. Configuration via Web. 1) 2) 3) 4) Connect to Eddy with FTP, using correct username and password. (Default: eddy, 99999999) Issue a command ‘bin’ for binary file transfer mode. Optionally use ‘hash’ to see the data transfer mark. Issue ‘put’ command upload the firmware file.
Chapter7. Appendix away. 7) Issue a command ‘ls’ to make sure firmware files are both successfully uploaded. 8) Use ‘ upgrade ’ command to write this file into Eddy ’ s Flash memory. Upgrade application automatically detects whether the given firmware is kernel or file system. 9) Usage: upgrade (Filename is case-sensitive.) 10) Make sure ‘Flash Write OK’ and ‘Flash Verify OK’ messages are displayed. 11) Enter ‘reboot’ to restart Eddy. Now Eddy will run with the new firmware. 7.
Chapter7. Appendix 1) 2) 3) THIS DEVICE MAY NOT CAUSE HARMFUL INTERFERENCE. THIS DEVICE MUST ACCEPT ANY INTERFERENCE RECEIVED. INCLUDING INTERFERENCE THAT MAY CAUSE UNDESIRED OPERATION. FCC RF INTERFERENCE STATEMENT NOTE: 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. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.