Lanner LEC-2055 User Manual
Add to My manuals23 Pages
The Lanner LEC-2055 is an ultra-compact and rugged embedded system designed for industrial applications. It boasts a Mini-PCIe socket with SIM card reader for 3G connectivity and GPS functionality, making it ideal for remote monitoring and control. It also features a wide operating temperature range (-10° to 55° Celsius), a variety of power input options (12-36V DC), and multiple communication ports including RS232/422/485, dual Gigabit Ethernet, and USB 2.0.
advertisement
▼
Scroll to page 2
of
23
![Lanner LEC-2055 User Manual - Download & Read Online | Manualzz Lanner LEC-2055 User Manual - Download & Read Online | Manualzz](http://s1.manualzz.com/store/data/073510962_1-10e6fa38723e51d76c0c3233f38b3d69-360x466.png)
Embedded & Industrial Computing Hardware Platforms for Embedded and Industrial Computing LEC-2055 Preliminary User's Manual >> Publication date:2011-08-10 About About Overview Acknowledgement Icon Descriptions The icons are used in the manual to serve as an indication of interest topics or important messages. Below is a description of these icons: NOTE: This check mark indicates that there is a note of interest and is something that you should pay special attention to while using the product. WARNING: This exclamation point indicates that there is a caution or warning and it is something that could damage your property or product. Intel, Pentium and Celeron are registered trademarks of Intel Corp. Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp. All other product names or trademarks are properties of their respective owners. Compliances and Certification CE Certification This product has passed the CE test for environmental specifications. Test conditions for passing included the equipment being operated within an industrial enclosure. In order to protect the product from being damaged by ESD (Electrostatic Discharge) and EMI leakage, we strongly recommend the use of CE-compliant industrial enclosure products. FCC Class A Certification Online Resources The listed websites are links to the on-line product information and technical support. Resource Website Lanner http://www.lannerinc.com Product Resources http://assist.lannerinc.com RMA 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. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense. http://eRMA.lannerinc.com Copyright and Trademarks This document is copyrighted, © 2011. All rights are reserved. The original manufacturer reserves the right to make improvements to the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of the original manufacturer. Information provided in this manual is intended to be accurate and reliable. However, the original manufacturer assumes no responsibility for its use, nor for any infringements upon the rights of third parties that may result from such use. Embedded and Industrial Computing 2 TTaTTable of Contentsbeable of Conten Chapter 1: Introduction 4 System Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Package Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Chapter 2: System Components 6 System Drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Front Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Rear Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Chapter 3: Board Layout 10 External Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Internal Connectors and Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Connectors and Jumpers List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Chapter 4: Hardware Setup 16 Preparing the Hardware Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Installing the System Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Installing a CompactFlash Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Wireless Module Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3G SIM Card Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Installing the Hard Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Connecting Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Wall Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Appendix F: Programming Watchdog Timer 20 Appendix G: Terms and Conditions 22 Warranty Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 RMA Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3 Chapter 1 Chapter 1: Introduction Thank you for choosing the LEC-2055. The LEC-2055 is an ultra-compact and robust embedded system which comes with a Mini-PCIe socket with a SIM card reader to enable 3G networks as well as GPS capability. The following highlight the capabilities of the LEC-2055 system: Introduction System Specification LEC 2 Series Dimension (WxHxD) •• a Mini-PCIe socket with a SIM card reader Processor Chipset System Memory •• Sutible VESA and wall mounts Storage •• Small in dimension: 198x42x145mm Ethernet Controller Graphic Controller Audio Controller (7.80”x1.65”x5.71”) •• Wide operating temperature ranging from -10° to 55° Celsius •• Accepting a variety of power sources with voltages between 12 and 36 Volts of direct current (via a 1x 2-pin Phoenix connector) •• 2 ports of RS232/422/485 and one port of RS232 (via Technology Max. Capacity IDE SATA LAN Display Video Grabber Audio Serial I/O GPS IO USB 2.0 Power Input DB-9 connectors) Expansion Others Power Input AC Adapter Hardware Monitor OS Support Certifications Compliance Operating Temperature Range with Industrial Components (Industrial Memory, CF, HDD, SSD….) Operating Temperature Range with Commercial Components Embedded and Industrial Computing LEC-2055 198x42x145mm (7.80”x1.65”x5.71”) Intel Atom N270 1.6GHz Intel 945GSE + ICH7M DDR2 SODIMM x1 DDR2 400/533 upp to 2GB CF socket Type I/II x1 2.5” HDD/SSD drive bay x1 Realtek RTL8111 x2 Intel GMA950 No GbE RJ45 x2 DB15 x1 for VGA No No DB9 x3 for RS232/422/485 x2 and RS232 x1 No Type A x2 Internal x2 2-pin terminal block Mini-PCIex1 with SIM card reader External: 2x SMA antenna holes, reset; Internal: PS/2 keyboard and mouse, +5Vdc output +12~36Vdc, ATX Mode 60W +24V @ 2.5A Fintek F81865 integrated watchdog timer 1~255 level Linux , Windows Embedded 7, Windows XP/XP Embedded, CE, FCC Class A No -10~55°C/14~131°F -5~45°C/23~113°F 4 Chapter 1 Introduction Package Contents Your package contains the following items: •• LEC-2055 Fanless Embedded System •• Serial-ATA/Power Cable (P/N: 080W1N0002001) •• Drivers and User’s Manual CD (P/N: S09OADA01H100) •• 2-pin Female Terminal Block (04AW20021E101) Embedded and Industrial Computing 5 Chapter 2 System Components Chapter 2: System Components System Drawing Mechanical dimensions of the LEC-2055 Unit: mm Embedded and Industrial Computing 6 Chapter 2 System Components Block Diagram The block diagram depicts the relationships among the interfaces and modules on the motherboard.. Processor ATOM N270 FSB VGA VGA Intel DDR2 400/533MHz SO-DIMM 945GSE DMI 2x RJ-45 GbE LAN 2x RTL8111D PCIe x2 Intel Flash BIOS SPI ICH7M USB 2.0 Ports 1x Type A 1x Pin Header SATA SATA-II PCIe USB Mini PCI Express IDE Compact Flash Connector Socket SIM Card Reader Socket IDE LPC H/W Monitor WDT PS/2 KB/MS Pin Header Embedded and Industrial Computing RS-232 Fintek F81865F 1x Pin Header RS-232/422/485 2x DB-9 7 Chapter 2 System Components Front Components F1 Component F5 F4 F3 F2 Description F1 HDD (Yellow) and HDD Power Led (Green) • Blinking: data access activities • Off: no data access activities Pin Definition Reference POWER LED & Hard Disk LED (LED2) on page 16 Power • On: The computer is on. • Off: The computer is off . F2 Reset Switch A hardware reset button F3 Two 10/100/1000Mbps LAN ports Two RJ-45 (network) jacks with LED indicators as described below LAN Ports (LANB1/LANB2) on page 15 LINK/ACT (Yellow) • On/Flashing: The port is linking and active in data transmission. • Off: The port is not linking. SPEED (Green/Amber) SPEED • Amber: The connection speed is 1000Mbps. • Green: The connection speed is 100Mbps LINK/ACT • F4 Two USB 2.0 Ports F5 Serial Ports Embedded and Industrial Computing Off: .The connection speed is 10Mbps. An USB type A connector; in addition to Dual USB Port Connector this connector, an internal pin header is 0 and 1 on Page 15 provided. COM1 and COM2 provide RS232/ RS-232 COM Port (COM1, RS422/RS485 communications with COM2 on page 14): a dip switch selecting among these standards. 8 Chapter 2 System Components Rear Components R2 R4 R3 R1 Component R1 Antenna Holes R2 Serial Port Description Pin Definition Reference Reserved for SMA type antenna (*) COM3 provides RS232 serial RS-232 COM Port (COMB1, communication. COM3 on page 14): R3 VGA Port It connects an external VGA VGA in DB-19 connector (VGA1) monitor or projector. on page 15 R4 DC-In (power) LEC-2055 support power range DC_IN Connector (CON1) on between 12V and 36V. page 16 Note: Antenna is not included in the standard package. You can purchase it from Lanner separately as an accessory. Embedded and Industrial Computing 9 Chapter 3 Board Layout Chapter 3: Board Layout External Connectors The following picture highlights the location of system input/output connectors. Refer to the table 3.1 Connector List for more details. LANB1/LANB2 LED2 USB1 COM1 COM2 CON1 Embedded and Industrial Computing 10 Chapter 3 Board Layout Internal Connectors and Jumpers The following picture highlights the location of internal connectors and jumpers. Refer to the table 3.1 Connector List for more details. PCOM2 PCOM1 SW3 SW5 SW4 USBB1 DLPC1 VGA1 PS4S1 ATNC1 J1 JSPIROM1 COMB1 CCMOS1 KM1 DIMM1 SATA1 USIM1 CF1 LEB-2055 Embedded and Industrial Computing 11 Chapter 3 Board Layout Connectors and Jumpers List The tables below list the function of each of the board jumpers and connectors by labels shown in the above section. The next section in this chapter gives pin definitions and instructions on setting jumpers. Table 3.1 Connector List for LEB-2055 Labels Function Antenna Power Connector ATNC1 CCMOS1 Clear CMOS jumper CF1 CompactFlash Connector COM1/2 Serial Communication Ports COMB1 COM3 Pin Header CON1 DC-In Connector DLPC1 LPC Port 80 Pin DIMM1 200 PIN DDR2 SODIMM SOCKET J1 Front Panel Functions Connector JSPIROM1 SPI BIOS Update Pin Header KM1 PS/2 Keyboard & Mouse Connector LANB1/LANB2 LAN Ports LED2 Power and Hard Disk LED MPCIE1 Mini PCI-Express Connector PCOM1/2 Select COM1/COM2 Pin9 Power Setting PS4S1 4-pin Serial-ATA Power Connector RSW1 Reset Button SATA1 SATA Data Cable Connector SW3 Select COM1 Protocol Setting SW4 Select COM2 Protocol Setting SW5 Select COM1/2 in RS-485 signal termination setting USB1 USB Stack Connector Port 0/1 USBB1 USB Pin Header Port 2/3 USIM1 SIM Card Reader VGA1 DB-15 VGA Connector VMPCIE1 Select Mini PCI-Express Power Setting Embedded and Industrial Computing Pin Definition Reference Page P14 P14 P14 P13 P13 P15 Reserved for factory use -P15 Reserved for factory use P14 P14 P15 P15 P13 P13 -P13 P13 P13 P13 P14 P14 P15 P14 P15 12 Chapter 3 Board Layout Jumper Settings COM Protocol Setting LEB-2055 Selector 1 Selector 2 Selector 3 Selector 4 Serial-ATA Connector (SATA1): It is for connecting a 2.5’’ SATA harddisk to be served as your system’s storage. It can support SATA II which features Data transfer rates up to 3.0 Gb/s (300 MB/s). Pin No. 1 2 3 4 5 6 7 7 6 5 4 3 2 1 Function GND TX+ TXGND RXRX+ GND Pin No. 1 2 3 4 RS-422 RS-485 1 ON 2 OFF 3 OFF 4 OFF 1 OFF 2 ON 3 OFF 4 ON 1 OFF 2 OFF 3 ON 4 ON Default:RS-232 Only Note: Enable “serial Port 1 (2 ) RS-485 driver” in the BIOS when using RS-422/RS-485. SW5: Select COM1/COM2 Termination in RS-485 4-pin Serial-ATA Power Connector (PS4S1): It is for connecting the SATA power cord. 4 3 2 1 RS-232 Function NC Ground Ground 5V Serial Port(COM1/COM2): It is the RS-232/422/485 port through the D-SUB9 connector. 12345 This switch is used to enable or disable the signal termination for COM1 and COM2. We strongly recommend that you disable termination when the port is configured as RS-232 and enable it when the port is configured as RS485/RS-422 SW5 SW5 Off COM1 ON 4 3 2 1 COM Port NO. Port No. COM2 Off ON 4 3 2 1 Without 120Ω Termination With120Ω Termination Setting 6789 RS-232/422/485 Pinout: Pin No. 1 2 3 4 5 6 7 8 9 RS-232 DCD RXD TXD DTR GND DSR RTS CTS RI Pin Name RS-422 TX+ TXRX+ RXGND ----- RS-485 D+ D--GND ----- SW3: Select COM1 Protocol Setting (SW3) SW4 : Select COM2 Protocol Setting (SW4): Off ON Selector 1 Selector 2 Selector 3 Selector 4 Default: all OFF. PCOM2: Select COM2 pin 9 function 1 3 5 Embedded and Industrial Computing 2 4 6 Pin No. 1-2 3-4 5-6 Function RS-232 Ring (default) +5V +10.5V RS-232 COM Port(COMB1, COM3): It is the RS-232 serial pin header. 2 1 3 5 7 9 RS-232 RS-485 COM2 ON ON ON ON PCOM1: Select COM1 pin 9 function 4321 RS-422 OFF OFF OFF OFF COM1 Pin No. 1 3 5 7 9 Function DCD RXD TXD DTR GND 4 6 8 10 Pin No. 2 4 6 8 10 Function DSR RTS CTS RI KEY 13 Chapter 3 Board Layout LAN Ports (LANB1/LANB2): Pin No. Description Fast Ethernet Gigabit Ethernet 1 TX+ BI_DA+ 2 TXBI_DA3 RX+ BI_DB+ 4 -BI_DC+ 5 -BI_DC6 RXBI_DB7 -BI_DD+ 8 -BI_DDClear CMOS jumper (CCMOS1): It is for clearing the CMOS memory. Pin No. 1-2 2-3 1 2 3 Pin Name Normal (Default) Clear CMOS VGA Interface Cable Connector (VGA1): It is used for connecting a VGA monitor. Pin No. 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Pin Name CE1# GND GND GND GND GND VCC3 GND GND GND GND A2 A1 A0 DATA0 DATA1 DATA2 IOS16 CD2- Pin No. 1 2 3 4 5 6 7 8 5 6 7 8 1 2 3 4 2 Pin No. 1 3 5 7 9 11 Pin Name R G B H-SYNC V-SYNC I2C Data 1 Pin No. 2 4 6 8 10 12 Pin Name Detect VGA Plug on Ground Ground Ground Ground I2C CLOCK Antenna Power Connector (ATNC1): It supplies power to the wireless signal amplifier, if there is one attached to the system. Pin No. 1 2 Pin Name +3.3V GND Pin No. 1 2 3 4 5 6 26 25 1 Pin Name GND DATA3 DATA4 DATA5 DATA6 DATA7 Pin No. 26 27 28 29 30 31 Embedded and Industrial Computing Pin Name +5V USB1USB1+ GND +5V USB0USB0+ GND USB 2.0 Pin Header (USBB1): 2 4 6 8 10 1 3 5 7 9 Pin No. 1 3 5 7 9 Pin Name +5V KEY USB2USB2+ GND Pin No. 2 4 6 8 10 Pin Name GND USB3+ USB3KEY +5V PS/2 Keyboard & Mouse Connector (KM1): CompactFlash Connector (CF1): It is for connecting a Compact Flash card to be served as your system’s storage. 50 Pin Name CE3# VS1 IOR# IOW# WE# IDEIRQ VCC3 CBSEL# VS2 RESET# IORDY DREG DACK# ACTLED# BVD1 DATA8 DATA9 DATA10 GND Dual USB Port Connector 0 and 1 (USB1): 11 12 Pin No. 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 Pin Name CD1DATA11 DATA12 DATA13 DATA14 DATA15 1 3 5 7 Pin No. 1 3 5 7 Pin Name +5V MSDATA KBDATA GND 2 4 6 8 Pin No. 2 4 6 8 Pin Name MSCLK KEY KEY KBCLK 14 Chapter 3 Board Layout DC_IN CONNECTOR (CON1): A Phoenix connector for external power supply. +- Pin No. 1 2 Pin Name DC_IN GND SIM Card Socket (USIM1): Pin No. Pin Name C1 +5V C2 USIM_RESET C3 USIM_CLOCK C5 GND C6 UIM_VPP C7 UIM_DATA Front Panel Function Pin Header (J1): It provides LED signal and button function on the front panel. 1 3 5 7 Pin No. 1 3 5 7 Pin Name HD_LED+ HD_LEDGND RESET_BTN 2 4 6 8 Function HDD LED Pin No. Pin Name Function 2 PWR_LED+ Power LED 4 PWR_LEDSystem Reset 6 GND Power On/Off 8 POWER_BTN- Push Button Mini PCI Express Connector (MPCIE1): PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Pin Name WAKE# +3.3V NC GND NC +1.5V CLKREQ# UIM_PWR GND UIM_DATA REFCLKUIM_CLK REFCLK+ UIM_RESET GND UIM_VPP NC GND NC W_DISABLE# GND RESET# PERn0 +3.3Vaux (+3.3V) PERp0 GND GND +1.5V GND PIN 30 31 32 33 34 35 36 37 38 38 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Pin Name SMB_CLK PETn0 SMMB_DATA PETp0 GND GND USB_DRSVERD USB_D+ RSVERD GND RSVERD LED_WWAN# GND LED1_WLAN# NC LEC1_WPAN# NC +1.5V NC GND NC +3.3V GND GND GND GND GND GND Mini PCI Express (MPCIE1) Power Setting in Pin 24 (VMPCIE1): VMPCIE1. 1-2 2-3 Function 3V Standby 3.3V POWER LED & Hard Disk LED (LED2): C2 C1 A2 A1 Pin No. Pin Name Pin No. A1 PWR_LED + (TOP) C1 A2 HDD_LED+ (BOTTOM) C2 Embedded and Industrial Computing Pin Name PWR_LED – (TOP) HDD_ACT# (BOTTOM) 15 Chapter 4 Hardware Setup Chapter 4: Hardware Setup 1 Preparing the Hardware Installation 2 To access some components and perform certain service procedures, you must perform the following procedures first. WARNING: To reduce the risk of personal injury, electric shock, or damage to the equipment, remove the power cord to remove power from the server. The power switch button does not completely shut off system power. Portions of the power supply and some internal circuitry remain active until AC power is removed. 1. Unpower the LEC-2055 and remove the power cord. 2. Turn the device upside down. 3. Unscrew the 4 rubber feet from the bottom cover. 4. Open the cover. Note: The system can support memory with the DDR2 400/533 SO-DIMM socket up to 2 GB in maximum. Installing a CompactFlash Card LEC-2055 provides one CompactFlash slot. Follow the procedures bellow for installing a CompactFlash card. 1. Align CompactFlash card and the card slot with the arrow pointing toward the connector. 2. Push the card and insert it into place. 1 Installing the System Memory 2 The motherboard supports DDR2 memory to meet the higher bandwidth requirements of the latest operating system and Internet applications. It comes with one Double Data Rate(DDR2) Small Outline Dual Inline Memory Module (SO-DIMM) socket. 1. Align the memory module’s cutout with the SO-DIMM socket’s notch. 2. Install the SO-DIMM. Embedded and Industrial Computing 16 Chapter 4 Hardware Setup Wireless Module Installation 1. Align the wireless module’s cutout with the Mini-PCIe slot notch. 2. Insert the wireless module into the connector diagonally. 3. Push the other end of the wireless module to be tightened with the latch. 3G SIM Card Installation 1. In order to insert the SIM card, you will have to take off the front panel first. To take off the front panel, unscrew the 4 screws on the front panel. 2. Align the cut corner of the SIM card pointing toward SIM card reader. Also place the ICs facing down. 3. Insert the SIM card into the tray horizontally. You should feel a click when the SIM card is locked securely in the SIM card reader. Note: To remove the SIM card, push the card inward toward the connector to unlock it. Embedded and Industrial Computing 17 Chapter 4 Hardware Setup Installing the Hard Disk Connecting Power The system can accommodate one Serial-ATA disk. Follow these steps to install a hard disk into the system: Connect the LEC-2055 to a 12~36 VDC power source. The DC power-in connector comes with a 2-pin terminal block for its Phoenix contact. This power socket can only accept the power supply with the right pin contact so be cautious when inserting power to the system. 1. Place hard disk on the hard disk tray of the top cover and align the holes of the hard disk with the mounting holes on the tray. 2. Fix the hard disk on the hard disk tray by using 4 mounting screws DC IN + - 3. Plug the Serial-ATA cable to the hard disk. 4. Connect the Serial-ATA power and data disk cables to the Serial-ATA power and disk connectors on the main board respectively. Unit: mm 3 4 1 2 Embedded and Industrial Computing 18 Chapter 4 Hardware Setup Wall Mounting The product does not ship with wall mounting kit. You could purchase the wall mounting kit from Lanner as an accessory. To mount your product on the wall, follow the instructions below: 1. First make a hole for the anchor in the surface on the wall. Use the following diagram as a guideline for placing the anchors. 2. Then press the anchor into the hole until it is flush with the surface. You may need a hammer to tap the wall anchor. 3. Use a screwdriver to screw the threaded screw into the plastic anchor. 4. Attach the wall mounting bracket to the back of the device, securing it in place with four of the flat-head screws provided. 5. Hang the device on the wall. Embedded and Industrial Computing 19 Appendix F Appendix F: Programming Watchdog Timer A watchdog timer is a piece of hardware that can be used to automatically detect system anomalies and reset the processor in case there are any problems. Generally speaking, a watchdog timer is based on a counter that counts down from an initial value to zero. The software selects the counter’s initial value and periodically restarts it. Should the counter reach zero before the software restarts it, the software is presumed to be malfunctioning and the processor’s reset signal is asserted. Thus, the processor will be restarted as if a human operator had cycled the power. For sample watchdog code, see watchdog folder under LEC-2055 Utility on the Driver and Manual CD Programming Watchdog Timer file: #include <stdio.h> #include <string.h> #include <dos.h> #include <stdlib.h> #include <inlines/pc.h> #include <pc.h> #include <unistd.h> #define index_port 0x2e #define data_port 0x2f void help() { 06\n”); n\n”); printf(“\t\t Lanner Electronics Inc. 2010-01- printf(“\t\t Watchdog timer reset for VES-403\ printf(“Please input : 83627WD.exe xxx (1-255 sec) (Watchdog Control - SYSTEM RESET)\n”); printf(“\n”); } int main (int argc, char *argv[]) Executing through the DOS Command Line: { Execute the 83627WD.exe xxx (xxx=1-255 sec) under DOS (83627WD.exe and CWSDPMI.EXE should be placed in the same directory), then enter the values from 0~255. The system will reboot automatically according to the time-out you set. For sample code, look into the DOS/WD folder. clrscr(); Compile and Executing in Linux: if( argc < 1 || argc != 2 ) To run the Watchdog sample code, you will need to compile first by running make with the Makefile contained in the source code. After compilation, you will have the following binary files: int i, time; { help(); printf(“\t\t argc = %d\n”, argc); 1. wdrs_drv.ko (Kernel mode driver module) 2. wdrs_test (the executable Watchdog program) Note: You have to run “mknod /dev/wdrs_drv c 244 0” to create the device file as driver installation. For source code, look into the linux/watchdog_reset folder. Make sure you copy all files within the folder to the destination. The following shows the sample code 83627uhg_wdto Embedded and Industrial Computing for (i = 0; i < argc; ++i) { printf(“\t\t argv[%d] = %s\n”, i , argv[i]); } return -1; 20 Appendix F Programming Watchdog Timer } delay(10); write_w83627uhg_reg(0x08, 0xf6, 0x00); printf(“\t\t Lanner Electronics Inc. 2010-01-06\n”); delay(10); printf(“\t\t Watchdog timer reset for VES-403\n\n”); } init_Pin_init(); int write_w83627uhg_reg(int ldn, int reg, int value) { outportb(index_port,0x07); time = atoi(argv[1]); delay(10); printf(“\t\t Setting WatchDog time out for System Reset....\n”); outportb(data_port, ldn); delay(10); outportb(index_port, reg); set_uhg_watchdog(time); delay(10); outportb(data_port, value); return 0; delay(10); } return 0; } int set_uhg_watchdog(int time) { int read_w83627uhg_reg(int ldn, int reg) int temp; { temp = time; outportb(index_port, 0x07); write_w83627uhg_reg(0x08, 0xf6, temp); delay(10); delay(10); outportb(data_port, ldn); return 0; delay(10); } outportb(index_port, reg); delay(10); init_Pin_init() return inportb(data_port); { } outportb(index_port, 0x87); delay(10); outportb(index_port, 0x87); delay(10); //w83627uhg not setting place write_w83627uhg_ reg(0x8, 0x2b, read_w83627_reg(0x8, 0x2b) & 0xF3); // rx2b[3-2]=01 //w83627uhg not setting place write_w83627uhg_ reg(0x8, 0x2b, read_w83627_reg(0x8, 0x2b) | 0x04); // rx2b[3-2]=01 write_w83627uhg_reg(0x08, w83627uhg_reg(0x08, 0x30) | 0x01); Embedded and Industrial Computing 0x30, read_ 21 Appendix G Appendix G: Terms and Conditions Warranty Policy 1. All products are under warranty against defects in materials and workmanship for a period of one year from the date of purchase. 2. The buyer will bear the return freight charges for goods returned for repair within the warranty period; whereas the manufacturer will bear the after service freight charges for goods returned to the user. 3. The buyer will pay for repair (for replaced components plus service time) and transportation charges (both ways) for items after the expiration of the warranty period. 4. If the RMA Service Request Form does not meet the stated requirement as listed on “RMA Service,” RMA goods will be returned at customer’s expense. Terms and Conditions RMA Service Requesting a RMA# 6. To obtain a RMA number, simply fill out and fax the “RMA Request Form” to your supplier. 7. The customer is required to fill out the problem code as listed. If your problem is not among the codes listed, please write the symptom description in the remarks box. 8. Ship the defective unit(s) on freight prepaid terms. Use the original packing materials when possible. 9. Mark the RMA# clearly on the box. Note: Customer is responsible for shipping damage(s) resulting from inadequate/loose packing of the defective unit(s). All RMA# are valid for 30 days only; RMA goods received after the effective RMA# period will be rejected. 5. The following conditions are excluded from this warranty: Improper or inadequate maintenance by the customer Unauthorized modification, misuse, or reversed engineering of the product Operation outside of the environmental specifications for the product. Embedded and Industrial Computing 22 Appendix G Terms and Conditions RMA Service Request Form When requesting RMA service, please fill out the following form. this form enclosed, your RMA cannot be processed. Company: Reasons to Return: Ŀ Repair(Please include failure details) Ŀ Testing Purpose Contact Person: Phone No. Purchased Date: Fax No.: Applied Date: RMA No: Return Shipping Address: Shipping by: Ŀ Air Freight Ŀ Sea Ŀ Others:________________ Item Model Name Item Problem Code Failure Status *Problem Code: 01:D.O.A. 02: Second Time R.M.A. 03: CMOS Data Lost 04: FDC Fail 05: HDC Fail 06: Bad Slot Ŀ Express Serial Number 07: 08: 09: 10: 11: 12: BIOS Problem Keyboard Controller Fail Cache RMA Problem Memory Socket Bad Hang Up Software Out Look Damage Request Party Authorized Signature / Date Embedded and Industrial Computing Without ___ Configuration 13: 14: 15: 16: 17: 18: SCSI LPT Port PS2 LAN COM Port Watchdog Timer 19: 20: 21: 22: 23: 24: DIO Buzzer Shut Down Panel Fail CRT Fail Others (Pls specify) Confirmed By Supplier Authorized Signature / Date 23
advertisement
Key Features
- Mini-PCIe with SIM card reader
- Industrial temperature range
- Multiple communication ports
- Rugged design
- Compact size
- VESA & Wall Mount
- Watchdog timer
Related manuals
Frequently Answers and Questions
What communication ports are available on the LEC-2055?
The LEC-2055 features two RS232/422/485 ports, two Gigabit Ethernet ports, and two USB 2.0 ports.
What is the operating temperature range of the LEC-2055?
The LEC-2055 operates within a temperature range of -10° to 55° Celsius.
What kind of power input does the LEC-2055 accept?
The LEC-2055 accepts 12-36V DC power via a 2-pin Phoenix connector.
advertisement