+ All Categories
Home > Documents > Embedded & Industrial Computing - Lanner€¦ · Compliances and Certification ... a different...

Embedded & Industrial Computing - Lanner€¦ · Compliances and Certification ... a different...

Date post: 05-Jun-2018
Category:
Upload: doanduong
View: 218 times
Download: 0 times
Share this document with a friend
33
>> Embedded & Industrial Computing Hardware Platforms for Embedded and Industrial Computing LEC-3012-A4/6/8 V1.1 User's Manual Publication date: 2013-12-06
Transcript

>>

Embedded & Industrial ComputingHardware Platforms for Embedded and Industrial Computing

LEC-3012-A4/6/8V1.1

User's ManualPublication date: 2013-12-06

2

AboutAbout

Embedded and Industrial Computing

Overview

Icon DescriptionsThe 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.

Online ResourcesThe listed websites are links to the on-line product information and technical support.

Resource Website

Lanner http://www.lannerinc.com

Product Resources h t t p : / / w w w . l a n n e r i n c . c o m /support/download-center

RMA http://eRMA.lannerinc.com

Copyright and Trademarks

This document is copyrighted, © 2013. 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.

AcknowledgementIntel, 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 CertificationCE CertificationThis 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 CertificationThis 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.

Version Date Changes1.1 2013/12/06 Change pin

definition for COM1~COM8

TTaTTable of Contentsbeable of Contents

3

Chapter 1: Introduction 4System Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Package Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Chapter 2: System Components 6System Drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Front Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Side Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10

Chapter 3: Board Layout 11External Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11

Internal Connectors and Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12

Internal Connectors and Jumpers (daughter board). . . . . . . . . . . . . . . . . . . . . . . .13

Connectors and Jumpers List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14

Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15

Chapter 4: Hardware Setup 19Preparing the Hardware Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

Installing the System Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

Installing a CompactFlash Card. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20

Installing the Hard Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20

Connecting Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21

Appendix A: Programming Watchdog Timer 22

Appendix B: Programming the Status LED 29

Appendix C: Terms and Conditions 32Warranty Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32

RMA Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32

4

IntroductionChapter 1

Embedded and Industrial Computing

Chapter 1: IntroductionThank you for choosing the LEC-3012-A4/A6/A8. The LEC-3012 series is an industrial computer featuring a different number of serial communication ports in a compact frame design (69mm(W)x170mm(H) x127.6mm(D)).

The LEC-3012 has an innovative industrial and mechanical design. It can be placed on desk or mounted on din-rails. The din-rail mount allows rotation of the device along its din-rail attachment for easy access of the I/O interfaces. This reduces maintenance effort when the device is installed in a ticketing machine, medical equipment, or other apparatus where space is limited and access is not convenient.

The LEC-3012 also features a solid and sealed aluminum extrusion framing.

Here is the summary of the key capabilities of LEC-3012:

Onboard Intel N455 plus ICH8M chipset •

A total of 4, 6, or 8 serial ports depending on the •models: the RS-232/422/485 ports with automatic flow control via terminal block connector.

Two or four10/100/1000 Base-T RJ-45 ports (all ports •have power surge and ESD protection with 2K).

Four USB ports (2 external and 2 internal pin headers) •

Power input via Phoenix contact •

Onboard VGA interfaces featuring 3rd generation Intel •graphics core (It has ESD protection)

Please refer to the following chart for a detailed description of the system's specifications.

System SpecificationFEATURE DESCRIPTION LEC-3012

Platform

Form Factor DIN-Rail

Processor Intel N455

Chipset Intel ICH8M

BIOS AMI Flash BIOS

Memory

Memory IC On Board No

Memory Socket DDR3 SODIMM Socket x 1

Max Memory 2GB (1 x 2GB DDR3 Module)

Storage Compact Flash 1 x CF Socket Type I/II (external)

Networking Controller (Interface)2 x Intel 82574L and 2x Intel 82583V (see below)

I/O

COM Ports

A4: 4 x RS-232/422/485 (COM1~COM4) supporting Hard-ware auto flow-control A6: 6 x RS-232/422/485 (COM1~COM6) supporting hard-ware auto flow-control

A8: 8 x RS-232/422/485 (COM1~COM8) supporting Hard-ware auto flow-control

USB 2.02 (w/ 2 additional 2.via pin head-ers)

VGA 1 x DB15 (2048x1536)

LAN4 x RJ45 GbE (A4), 4 x RJ45 (A6),2 x RJ45 GbE (A8)

Hardware Monitor

ControllerFintek F81865F-I integrated hard-ware monitor

Watchdog timer Yes (1~255 level)

OS Sup-ported

Embedded Windows XP/Linux kernel 2.4.16 or above/WindowsXP 32 bit

Environ-mental Parameters

Operating Tempera-ture (With Industrial Com-ponents: CF, Memory, SSD, HDD)

-40°~70°C / 14°~131°F

Operating Tempera-ture (With Commercial Components)

-20°C~55°C / 23°~113°F

Extended Operating Temperature Tested

N/A

DimensionsW x H x D (mm) 69 x 170 x 127.6 mm

Weight 1.7 Kg

PowerDC Power +12V ~ 36V DC in

Adapter 60W Adapter

Compliance Standard CE, FCC, RoHS

5

IntroductionChapter 1

Embedded and Industrial Computing

Package ContentsYour package contains the following items:

LEC-3012 Fanless Embedded System •

Drivers and User’s Manual CD •

2-pin Female Terminal Block (P/N: 04AW20021E101) •

5-pin Female Terminal Block (P/N: 04AW20051O101) •

10-pin Female Terminal Block (P/N: 04AW20101O101) •

SATA cable w/power (P/N: 080W1N0002001) •

6

System ComponentsChapter 2

Embedded and Industrial Computing

Chapter 2: System Components

System DrawingMechanical dimensions of the LEC-3012

Unit: mm1 2 3 4 5 6 7 8

A

B

C

D

E

F

9 10 11 12

G

H

13 14 15 16

I

J

K

L

M

N

O

P

H

G

F

E

D

C

B

A

M

L

K

J

I

222120191817

7654321 98

A1(841*594)

1

69

169.5

127

APPROVED PARTNAME

MODEL

Levis Tsao PART NO

EXAMINED MATERIAL SGCC UNIT SCALE PERSPECTIVE FILE NAME 00-SYSTEM-LEC-3013

CY Chung THICKNESS 1.0mm mm 1:1 VERSION 0.0 DATE 10-Apr-13

DESIGNED ELECTROPLATING NONE CLASSIFICATION SIZE SHEET

CY Chung COATING NONE 2 A1 1/1

MARK DATE REV DESCRIPTION

TOL¡Ó RANGE

X X X X

NCT DIE MOLD Extrusion USER

0~10 0.15 0.10 0.10 0.10 XXX

10~50 0.20 0.15 0.15 0.15 XXX

50~100 0.25 0.20 0.20 0.20 XXX

100~300 0.30 0.20 0.25 0.20 XXX

300~600 0.35 0.25 0.30 0.25 XXX

600~1200 0.40 0.30 0.35 0.30 XXX

ANG TOL¡Ó 1¢X 1¢X 1¢X 1¢X 1¢X

127

169.5

69

7

System ComponentsChapter 2

Embedded and Industrial Computing

Block DiagramThe block diagram depicts the relationships among the interfaces and modules on the motherboard.

Intel

ICH8M

FintekF81865F

H/W MonitorWDT

RS-232/422/485Via Terminal Block

SATA

VGA

GbE LAN 2x Intel 82574L

PCIe x2

DDR3 1066/1333 MHz SO-

DIMM (2GB Max)

2x RJ-45 SATA-IIConnector

LPC

Flash BIOS SPI

D-sub 15 IntelATOM N455

DM

I

USB2.0 USB 2.0 Ports2x Type A

2x Pin Header

Intel Integrated G

MA

3150

CF SocketIDEPCIe x4GbE LAN

2x Intel 82583V2x RJ-45

8

System ComponentsChapter 2

Embedded and Industrial Computing

Front Components

Component Description Pin Definition ReferenceF1 Serial Ports COM1~COM4 (model A4), COM1~COM6 (model A6), COM1~COM8 model A8)

Serial ports through terminal block; COM1~COM4 (or COM6 or COM8) supports RS-232/422/485 with BIOS selection among RS-232/422/485.

CN1 on page 17

F1

F3

F4

F6

F7

Model: A4

F2

F5

Model: A6 Model: A8

9

System ComponentsChapter 2

Embedded and Industrial Computing

Component Description Pin Definition ReferenceF2 Serial Port and LAN Port LED

These four roles are LED indicators of Tx (Data transmitting in yellow) and RX (Data receiving in green) for serial port status.

TX-COM 4 RX-COM4 TX-COM 3 RX-COM 3

TX-COM 2 RX-COM 2 TX-COM 1 RX-COM 1

The lower two roles are LED indicator of LAN LEDs. Four RJ-45 (network) jacks (see F8 below) in the front panel have LED indicators which are described below.

LINK/ACT (Yellow)

On/Flashing: The port is •linking and active in data transmission.

Off: The port is not linking.•SPEED (Green/Amber)

Amber: The connection speed •is 1000Mbps.

Green: The connection speed •is 100Mbps

Off: .The connection speed is •10Mbps.

F3 Power/Run/HDD LED Power Green indicates Power-on, where as Off indicates Power-off status.

Run A programmable dual green/orange LEDs which can be used for indicating system status. For sample code, please look into your Driver and User Manual CD.

HDD Blinking indicates hard disk activities, whereas Off indicates there is no hard disk present or data access activities.

F4 CF Card Slot A CF card slot with protection lid CN2 on page 15F5 Four 10/100/1000Mbps LAN ports (2 with model 3012-8A)

Two RJ-45 (network) jacks for network connections. LAN1/LAN2 ports are provided by Intel 82574L while LAN3/LAN4 are provided by Intel 82583V. LAN1/LAN2 support WOL/Remote-wake-up/PXE and ISCSI functions.

RJ1/RJ2 on page 15LAN3/LAN4 on page 18

F6 VGA Port VGA Port

The VGA Port supports resolution up to 2048x1536@60Hz

VGA1 on page 15

F7 Two USB 2.0 Ports An USB type A connector. In addition to this connector, an internal pin header provides 2 extra ports.

CN3 on Page 15

10

System ComponentsChapter 2

Embedded and Industrial Computing

Side Components

Component Description Pin Definition ReferenceS1 DC-In (power) 1x2 Pin Phoenix Contact Connector

Power-in Connector. The LEC-3012 supports power range between +12~+36V DC-in.

CN1 on page 15

S2 Reset Button A hardware reset button

S1S2

11

Board LayoutChapter 3

Embedded and Industrial Computing

Chapter 3: Board Layout

External ConnectorsThe following picture highlights the location of system input/output connectors. Refer to the table 3.1 Connector List for more details.

CN3 VGA1

CN2

LAN2/LAN1

CN1

12

Board LayoutChapter 3

Embedded and Industrial Computing

Internal Connectors and JumpersThe following picture highlights the location of internal connectors and jumpers. Refer to the table 3.1 Connector List for more details.

LEB-3012

J5

JP1 J2J4 J3J6

USB1

SODIMM1

13

Board LayoutChapter 3

Embedded and Industrial Computing

Internal Connectors and Jumpers (daughter board)The following picture highlights the location of internal connectors and jumpers on the backside of the board. Refer to the table 3.2 Connector List for more details.

J1

LEK-AU4/AU6/AU8

J2

LAN3 LAN4 CN1 CN2 (on LEK-AU6 andLEK-AU8 only)

14

Board LayoutChapter 3

Embedded and Industrial Computing

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-3012Labels Function Pin Definition Reference

PageCN1 DC-in Connector P15CN2 CF Card Slot P15CN3 Dual USB Port P15J2 SMBus (System Management Bus) Communi-

cation Pin Header Reserved for Factory Use

J3 SATA Connector P15J4 SATA Power Connector P15J5 SPI-ROM Header Reserved for Factory UseJ6 Board to Board Connector P16JP1 Clear CMOS Pin Header P16RJ1/RJ2 LAN1/LAN2 P15USB1 Additional USB Pin Header P15VGA1 VGA Port P15

Table 3.2 Connector List for LEK-AU4Labels Function Pin Definition Reference

PageCN1 COM Port 1~4 P17J1 SATA Connector P17J2 SATA Power Connector P17LAN3/LAN4 LAN3/LAN4 P18

Table 3.2 Connector List for LEK-AU6Labels Function Pin Definition Reference

PageCN1 COM Port 1~4 P17CN2 COM Port 5~6 P18J1 SATA Connector P17J2 SATA Power Connector P17LAN3/LAN4 LAN3/LAN4 P18

Table 3.2 Connector List for LEK-AU8Labels Function Pin Definition Reference

PageCN1 COM Port 1~4 P17CN2 COM Port 5~8 P18J1 SATA Connector P17J2 SATA Power Connector P17

15

Board LayoutChapter 3

Embedded and Industrial Computing

Jumper Settings

Serial-ATA Connector (J3): It is for connecting a 2.5’’ 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).

4-pin Serial-ATA Power Connector (J4): It is for connecting the SATA power cord.

DC-in Connector (CN1): A DC Power Connector through Phoenix contact for power input from12~36V.

LAN1/LAN2 (RJ1/RJ2): The LAN ports are provided by Intel 82574L Ethernet controller whose interface complies with PCI-e 1.1 (2.5 Ghz). It has advanced management features including IPMI pass-through via SMBus or NC-SI, WOL, PXE remote boot, ISCSI boot and VLAN filtering.

Pin No. DescriptionFast Ethernet Gigabit Ethernet

1 TX+ MD0+2 TX- MD0-3 RX+ MD1+4 T45 MD2+5 T45 MD2-6 RX- MD1-7 T78 MD3+8 T78 MD3-

Dual USB 2.0 Port (CN3):

Pin No. Function1 GND2 TX+3 TX-4 GND5 RX-6 RX+7 GND

LEB-3012

Pin No. Function1 5V2 Ground3 Ground4 12V

7 6 5 4 3 2 1

1 2 3 4

Dual USB Pin Header (USB1):

VGA Port (VGA1): It is a 15 pin D-Sub VGA connector. The VGA is provided by the integrated GPU which implements Intel® Graphics Media Accelerator 3150 and supports the following features:

Contains a refresh of the third generation graphics •core.

Intel • ® Dynamic Video Memory Technology support 4.0

Directx* 9 compliant, Pixel Shader* v2.0 •

Intel • ® Clear Video Technology including MPEG2 Hardware Acceleration and ProcAmp

Pin No. Description Pin No. Description1 CON_RED 11 NC2 CON_GREEN 12 CON_DDC_DAT3 CON_BLUE 13 CON_HSYNC4 NC 14 CON_VSYNC5 GND 15 CON_DDC_CLK6 CRT_ON7 GND8 GND9 VCC510 GND

Compact Flash Connector (CN2)

PIN Description PIN Description1 GND 26 CD1-2 DATA3 27 DATA113 DATA4 28 DATA124 DATA5 29 DATA135 DATA6 30 DATA146 DATA7 31 DATA157 CE1# 32 CE2#8 A10 33 VS1#

Pin No. Pin Name1 GND2 VCC12~36V

1 2

1 2 3 4

5 6 7 8Pin No. Pin Name

1 +5V2 USBD0-3 USBD0+4 GND5 +5V6 USBD1-7 USBD1+8 GND

Pin No. Pin Name Pin No. Pin Name1 USB_VCC 2 Grond3 Key 4 USBD1+5 USBD0- 6 USBD1-7 USBD0+ 8 Key9 Ground 10 USB_VCC

13579

246810

1611

51015

16

Board LayoutChapter 3

Embedded and Industrial Computing

PIN Description PIN Description9 OE# 34 IOR#

10 A9 35 IOW#11 A8 36 WE#12 A7 37 READY#13 CFVCC3 38 CFVCC314 A6 39 CSEL15 A5 40 VS2#16 A4 41 RESET17 A3 42 WAIT#18 A2 43 INPACK#19 A1 44 REG#20 A0 45 DASP#21 DATA0 46 DIAG#22 DATA1 47 DATA823 DATA2 48 DATA924 WP 49 DATA1025 CD2- 50 GND

Board to Board Connector (J6)

PIN Description PIN Description1 PLTRST_BUF1_N 51 COM4_RXD2 SMBCLK_MAIN 52 COM4_TXD3 SMBDAT_MAIN 53 COM4_RTS#4 HD_LED_N 54 COM4_CTS#5 STATUS_GRN# 55 COM3_RXD6 STATUS_RED# 56 COM3_TXD7 SYS_PWROK_100MS 57 COM3_RTS#8 COM5_DSR# 58 COM3_CTS#9 COM5_DTR# 59 COM2_RXD10 COM5_RI# 60 COM2_TXD11 COM5_DCD# 61 COM2_RTS#12 COM5_RXD 62 COM2_CTS#13 COM5_TXD 63 COM1_RXD14 COM5_RTS# 64 COM1_TXD15 COM5_CTS# 65 COM1_RTS#16 GND 66 COM1_CTS#17 USBP_N3 67 GND18 USBP_P3 68 SATA_TX_N219 GND 69 SATA_TX_P220 USBP_N2 70 GND21 USBP_P2 71 SATA_RX_N222 GND 72 SATA_RX_P223 CLK_LAN6_100M_N 73 GND24 CLK_LAN6_100M_P 74 CLK_LAN4_100M25 GND 75 CLK_LAN4_100M26 PCIE_TX_N6 76 GND27 PCIE_TX_P6 77 PCIE_TX_N428 GND 78 PCIE_TX_P429 PCIE_RX_N6 79 GND

PIN Description PIN Description30 PCIE_RX_P6 80 PCIE_RX_N431 GND 81 PCIE_RX_P432 CLK_LAN5_100M 82 GND33 CLK_LAN5_100M 83 CLK_LAN3_100M34 GND 84 CLK_LAN3_100M35 ICH_C_PCIE_TX 85 GND36 ICH_C_PCIE_TX 86 PCIE_TX_N337 GND 87 PCIE_TX_P338 ICH_C_PCIE_RX 88 GND39 ICH_C_PCIE_RX 89 PCIE_RX_N340 GND 90 PCIE_RX_P341 NC 91 GND42 VCC3P3_PS 92 GND43 VCC3P3_PS 93 GND44 NC 94 GND45 VCC5_PS 95 GND46 VCC5_PS 96 GND47 VCC5_PS 97 GPIO8_LEGACY48 NC 98 GPIO7_LCD_PID149 VCC12_PS 99 GPIO6_LCD_PID050 VCC12_PS 100 GPIO1_TACH1

Clear CMOS jumper (JP1): It is for clearing the CMOS memory.

50

1

100

51

Pin No. Pin Name1-2 Normal (Default)

2-3 Clear CMOS1 2 3

17

Board LayoutChapter 3

Embedded and Industrial Computing

Connectors on LEK-AU4

SATA Port (J1)

4-pin Serial-ATA Power Connector (J2): It is for connecting the SATA power cord.

RS-232/422/485 Serial Port(COM1~COM4, CN1)

P I N NO.

1 2 3 4 5 6 7 8 9 10

RS-232 SIN SOUT GND SIN SOUT GNDRS-422 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 D+ D- GND D+ D- GNDP I N

NO.11 12 13 14 15 16 17 18 19 20

RS-232 SIN SOUT GND SIN SOUT GNDRS-422 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 D+ D- GND D+ D- GND

Note: The default protocol is in RS-232. To switch between RS-232, 422 and 485, use the BIOS menu as shown below

1 2 3 4 5 6 7 8 9 10

COM1 COM3

11 12 13 14 15 16 17 18 19 20

COM2 COM4

LEK-AU4/6/8

7 6 5 4 3 2 1

4 3 2 1

Pin No. Function1 GND2 TX+3 TX-4 GND5 RX-6 RX+7 GND

Pin No. Function1 5V2 Ground3 Ground4 12V

18

Board LayoutChapter 3

Embedded and Industrial Computing

Connectors on LEK-AU8 only

RS-232/422/485 Serial Port(COM5~COM8, CN2):

P I N NO.

1 2 3 4 5 6 7 8 9 10

RS-232 SIN SOUT GND SIN SOUT GNDRS-422 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 D+ D- GND D+ D- GNDP I N

NO.11 12 13 14 15 16 17 18 19 20

RS-232 SIN SOUT GND SIN SOUT GNDRS-422 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 D+ D- GND D+ D- GND

LAN3/LAN4: The LAN ports are provided by Intel 82583V Ethernet controller whose interface complies with PCI-e 1.1 (2.5 Ghz).

Pin No. DescriptionFast Ethernet Gigabit Ethernet

1 TX+ MD0+2 TX- MD0-3 RX+ MD1+4 T45 MD2+5 T45 MD2-6 RX- MD1-7 T78 MD3+8 T78 MD3-

Connectors on LEK-AU6 only

RS-232/422/485 Serial Port(COM5~COM6, CN2):

P I N NO.

1 2 3 4 5 6 7 8 9 10

RS-232 SIN SOUT GND SIN SOUT GNDRS-422 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 TX+ TX- RX- RX+ GND TX+ TX- RX- RX+ GNDRS-485 D+ D- GND D+ D- GND

Note: The default protocol is in RS-232. To switch between RS-232, 422 and 485, use the BIOS menu as shown above.

COM6

1 2 3 4 5

6 7 8 9 10

COM5

1 2 3 4 5 6 7 8 9 10

COM5 COM7

11 12 13 14 15 16 17 18 19 20

COM6 COM8

19

IntroductionChapter 4

Embedded and Industrial Computing

Installing the System Memory The motherboard supports DDR3 memory that features data transfer rates of 1066/1333 MHz to meet the higher bandwidth requirements of the latest operating system and Internet applications. It comes with one Double Data Rate 3 (DDR3) Small Outline Dual Inline Memory Module (SO-DIMM) socket.

Align the memory module’s key with the SO-DIMM 1. socket’s key.

Install the SO-DIMM.2.

Note:

SO-DIMMs installed should meet the required 1. speed which is 1066/1333 MHz. Do not install SO-DIMM supporting different speeds.The motherboards can support up to 2 GB 2. memory capacity in maximum.

Chapter 4: Hardware Setup

Preparing the Hardware InstallationTo 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. Portions of the power supply and some internal circuitry remain active until power is removed.

Unpower the LEC-3012 and remove the power cord.1.

The top cover has an L shape. Unscrew the 2 threaded 2. screws at the top from the front panel and the 2 screws at the bottom from the opposite side. Also unscrew the two knots to loose the VGA port.

Slide the cover backwards to open the top cover 3. upwards.

Unscrew 4 screws from each side of the LEC-3012 4.

System and take off the side panel.

20

IntroductionChapter 4

Embedded and Industrial Computing

Installing a CompactFlash CardLEC-3012 provides one CompactFlash slot. Follow the procedures bellow to install a CompactFlash card.

Unscrew the thumbscrew on the CF slot to take out 1. the front cover.

Align CompactFlash and the card slot with the arrow 2. on the CompactFlash pointing toward the connector.

Insert the CompactFlash into the connector.3.

Close the cover and fasten it with the thumbscrew to 4. the slot.

Note: The device has an error proof design so that the card will not be inserted if it is in the wrong orientation. You should insert the CF card with the arrow on the CompactFlash facing up and pointing toward the connector.

1

2

Installing the Hard DiskThe system can accommodate one Serial-ATA disk. Follow these steps to install a hard disk into the LEC-3012):

Place hard disk on the hard disk tray of the cover and 1. align the holes of the hard disk with the mounting holes on the tray.

Fix the hard disk on the hard disk tray by using 4 2. mounting screws

Connect the Serial-ATA power and drive cables to the 3. hard disk’s power and drive connectors respectively.

Plug the Serial-ATA cable to the Serial-ATA Connector 4. on the main board.

Put the hard disk tray with the installed hard disk back 5. to the system and secure it to the system case with the mounting screws.

21

IntroductionChapter 4

Embedded and Industrial Computing

Connecting PowerConnect the LEC-3012 to a 12~36 VDC power source. The power source comes from the AC/DC Adapter through a Phoenix contact. This power socket is specially designed to guard against fault in power contact, i.e., the reverse of the electrical polarity will not damage the system.

-DC in +

22

Programming Watchdog Timer

Embedded and Industrial Computing

Appendix A

Appendix A: Programming Watchdog TimerA watchdog timer is a piece of hardware that can be used to automatically detect system anomalies and reset the system (or one pair of network ports in bypassed state; However, only one function can be activated at a time.) 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 wd_bp folder under Driver and Utility on the Driver and Manual CD

Executing the commands through the Command Line:

1. wd_tst --swtsr (Set Watchdog Timeout State to Reset)

2. wd_tst --swt xxx (Set Watchdog Timer 1-255 seconds)

3. wd_tst[*] --start (Start Watchdog Timer)

4. wd_tst --stop (Stop Watchdog Timer)

The following procedures are required for running the watchdog program on DOS, Linux and FreeBSD.

Note:

For DOS environment, use DJGPP as compiler 1. and the makefile: Makefile.dos.For Linux, support kernel versions are 2.4.x and 2. 2.6.x. Use the makefile:Makefile.linux.For FreeBSD, support version is FreeBSD 8.0. 3. Use the makefile: Makefile.

Build

To build program source code on Linux platform, use the following steps as a guideline:

Copy the proper makefile from the Driver and Manual 1. CD to your system

Set the access mode with these two parameters 2. by editing the Makefile.linux directly: DIRECT_IO_ACCESS= [0|1] (enter either 1 or 0) and LANNER_DRIVER= [0|1] (enter either 1 or 0). 1 is for direct access and no driver is needed. You will only need to execute the program directly. However, when it equaled to 0, driver installation is needed. Refer to the following Install section for more details.

Type make to build source code:3.

make Makefile (Note: omit the file extensions)

After compiled, the executable program (bpwd_tst) and the driver (bpwd_drv.ko) will be in the bin subdirectory.

Install

The installation procedures depend on the access mode that you have set by using the above mentioned method.

If you have set DIRECT_IO_ACCESS=1, driver installation is not necessary. Proceed to the next section on execute

If you have set DIRECT_IO_ACCESS=0, Lanner driver needs to be installed. Install the driver and create a node in the /dev directory as shown in the following example:

For Linux:

Insert module and create node in /dev as below example:

#insmod wd_drv.[k]o

#mknod /dev/wd_drv c 241 0

For FreeBSD:

Insert module as below example:

#kldload -v ./wd_drv.ko

Execute

# wd_tst --swtsr (Set Watchdog Timeout State to reset function)

# wd_tst --swtsr (Set Watchdog Timeout State to Reset function)

# wd_tst --swt xxx (Set Watchdog Timer 1-255 seconds)

# wd_tst[*] --start (Start Watchdog Timer)

# wd_tst --stop (Stop Watchdog Timer)

Note:

wd_tst --start will not be available if 1. DIRECT_IO_ACCESS=1, use the command: “./

23

Programming Watchdog Timer

Embedded and Industrial Computing

Appendix A

wd_tst --swt xxx” to start the watchdog timer instead .Watchdog timer can support two functions, 2. - system rest or LAN bypass. However, only one function can be activated at a time. You should modify the code or switch it to the desired state/function accordingly.For more details, refer to the README file 3. contained within the program.

A sample Watchdog program in C:

*******************************************************************************/

#include “../include/config.h”

#include “../include/version.h”

/* standard include file */

#include <stdio.h>

#include <stdlib.h>

#include <unistd.h>

#ifdef DJGPP

/* For DOS DJGPP */

#include <dos.h>

#include <inlines/pc.h>

#ifndef DIRECT_IO_ACCESS

#error ***Error: define DIRECT_IO_ACCESS in config.h for DOS ***

#endif

#else

/* For Linux */

#if defined(LINUX_ENV)

#include <sys/io.h>

#endif

#if defined(FreeBSD_ENV)

#define SET_IOPL() (iofl=open(“/dev/io”,000))

#define RESET_IOPL() close(iofl)

#include <machine/cpufunc.h>

#endif

#include <time.h>

#include <stdint.h>

#include <fcntl.h>

#include <errno.h>

#include <string.h>

#include “../include/wd_ioctl.h”

#define delay(x) usleep(x)

#ifdef DIRECT_IO_ACCESS

#warning ***** Note: You build with DIRECT_IO_ACCESS defined *****

#warning ***** Note: undefine this to build for driver code *****

#endif

#endif

/* local include file */

#include “../include/ioaccess.h”

#ifndef BYPASS_PAIR_NUMBER

#error “You should defined PAIR_NUMBER in include/config.h”

#endif

#if BYPASS_PAIR_NUMBER == 1

char pair_str[16]=”[1]”;

#endif

#if BYPASS_PAIR_NUMBER == 2

char pair_str[16]=”[1|2]”;

#endif

24

Programming Watchdog Timer

Embedded and Industrial Computing

Appendix A

#if BYPASS_PAIR_NUMBER == 3

char pair_str[16]=”[1|2|3]”;

#endif

#if BYPASS_PAIR_NUMBER == 4

char pair_str[16]=”[1|2|3|4]”;

#endif

#if BYPASS_PAIR_NUMBER == 5

char pair_str[16]=”[1|2|3|4|5]”;

#endif

void print_usage(char* argv0)

{

#if BYPASS_PAIR_NUMBER > 0

printf(“%s --srbe %s (Set Pair %s Runtime Bypass Enabled)\n”, argv0, pair_str, pair_str);

printf(“%s --srbd %s (Set Pair %s Runtime Bypass Disabled)\n”, argv0, pair_str, pair_str);

printf(“%s --sobe %s (Set Pair %s Off-mode Bypass Enabled)\n”, argv0, pair_str, pair_str);

printf(“%s --sobd %s (Set Pair %s Off-mode Bypass Disabled)\n”, argv0, pair_str, pair_str);

printf(“%s --swtsb (Set Watchdog Timeout State to Bypass)\n”, argv0);

printf(“%s --swtsr (Set Watchdog Timeout State to Reset)\n”, argv0);

#endif

#if ( defined(DIRECT_IO_ACCESS) )

printf(“%s --swt xxx (Set Watchdog Timer 1-255 seconds and start to count-down)\n”, argv0);

#else

printf(“%s --swt xxx (Set Watchdog Timer 1-255 seconds)\n”, argv0);

printf(“%s --start (Start Watchdog Timer)\n”, argv0);

#endif

printf(“%s --stop (Stop Watchdog Timer)\n”, argv0);

}

int main( int argc, char** argv )

{

int devfd;

int value;

fprintf(stdout, “=== Lanner platform miscellaneous utility ===\n”);;

fprintf(stdout, PLATFORM_NAME” Watchdog/Bypass “CODE_VERSION”\n\n”);;

if ( argc < 2) {

print_usage(argv[0]);

return -1;

}

#if ( defined(DIRECT_IO_ACCESS) && !defined(DJGPP) )

#if defined(LINUX_ENV)

iopl(3);

#endif

#if (defined(FreeBSD_ENV))

int iofl;

SET_IOPL();

#endif

#endif

#ifdef DIRECT_IO_ACCESS

wd_gpio_init();

#else

devfd = open(“/dev/wd_drv”, O_RDONLY);

if(devfd == -1)

{

printf(“Can’t open /dev/wd_drv\n”);

return -1;

}

#endif

/******** set watchdog timer count ***************************************/

if ( !strcmp(argv[1], “--swt”)) {

int tmp;

25

Programming Watchdog Timer

Embedded and Industrial Computing

Appendix A

if (argc !=3) {

printf(“No timer input, program terminated\n”);

close(devfd);

exit -1;

}

tmp = atoi(argv[2]);

if ( (tmp < 1) || (tmp > 255)) {

printf(“Wrong timer value, please input within (1~255)\n”);

close(devfd);

exit -1;

}

printf(“Set Watchdog Timer....”);

#if defined(DIRECT_IO_ACCESS)

start_watchdog_timer(tmp);

printf(“OK\n”);

#else

if( ioctl(devfd, IOCTL_SET_WDTO_TIMER, &tmp) != 0)

printf(“Fail\n”);

else

printf(“OK\n”);

#endif

}

/******** Start watchdog timer *******************************************/

#if !defined(DIRECT_IO_ACCESS)

else if ( !strcmp(argv[1], “--start”)) {

printf(“Start Watchdog Timer....”);

value = START_WDT;

if( ioctl(devfd, IOCTL_START_STOP_WDT, &value) != 0)

printf(“Fail\n”);

else

printf(“OK\n”);

}

#endif

/******** Stop watchdog timer ********************************************/

else if ( !strcmp(argv[1], “--stop”)) {

printf(“Stop Watchdog Timer....”);

#if defined(DIRECT_IO_ACCESS)

stop_watchdog_timer();

printf(“OK\n”);

#else

value = STOP_WDT;

if( ioctl(devfd, IOCTL_START_STOP_WDT, &value) != 0)

printf(“Fail\n”);

else

printf(“OK\n”);

#endif

}

#if BYPASS_PAIR_NUMBER > 0

/******** Set lan-bypass enable while watchdog timer expired *************/

else if ( !strcmp(argv[1], “--swtsb”)) {

printf(“Set Watchdog Timeout State to Lan Bypass....”);

#if defined(DIRECT_IO_ACCESS)

set_wdto_state_system_bypass();

printf(“OK\n”);

#else

value = SET_WDTO_STATE_LAN_BYPASS;

if( ioctl(devfd, IOCTL_SET_WDTO_STATE, &value) != 0)

printf(“Fail\n”);

else

printf(“OK\n”);

#endif

}

/******** Set system reset while watchdog timer expired ******************/

else if ( !strcmp(argv[1], “--swtsr”)) {

printf(“Set Watchdog Timeout State to System Reset....”);

#if defined(DIRECT_IO_ACCESS)

set_wdto_state_system_reset();

printf(“OK\n”);

#else

value = SET_WDTO_STATE_SYSTEM_RESET;

26

Programming Watchdog Timer

Embedded and Industrial Computing

Appendix A

if( ioctl(devfd, IOCTL_SET_WDTO_STATE, &value) != 0)

printf(“Fail\n”);

else

printf(“OK\n”);

#endif

}

/******** Set runtime bypass enable **************************************/

else if ( (!strcmp(argv[1], “--srbe”)) && (argc==3)) {

if ( !strcmp(argv[2],”1”) ) {

value = BYPASS_PAIR_1;

#if BYPASS_PAIR_NUMBER > 1

} else if (!strcmp(argv[2],”2”) ) {

value = BYPASS_PAIR_2;

#if BYPASS_PAIR_NUMBER > 2

} else if (!strcmp(argv[2],”3”) ) {

value = BYPASS_PAIR_3;

#if BYPASS_PAIR_NUMBER > 3

} else if (!strcmp(argv[2],”4”) ) {

value = BYPASS_PAIR_4;

#if BYPASS_PAIR_NUMBER > 4

} else if (!strcmp(argv[2],”5”) ) {

value = BYPASS_PAIR_5;

#endif //>4

#endif //>3

#endif //>2

#endif //>1

} else {

printf(“Wrong pair number\n”);

return -1;

}

printf(“Set Runtime Bypass Enable....”);

#if defined(DIRECT_IO_ACCESS)

set_runtime_bypass_enable(value);

printf(“OK\n”);

#else

value |= RUNTIME_BYPASS_STATE_ENABLE;

if( ioctl(devfd, IOCTL_RUNTIME_BYPASS_STATE, &value)

!= 0)

printf(“Fail\n”);

else

printf(“OK\n”);

#endif //DIRECT_IO_ACCESS

} //--srbe

/******** Set runtime bypass enable **************************************/

else if ( (!strcmp(argv[1], “--srbd”)) && (argc==3)) {

if ( !strcmp(argv[2],”1”) ) {

value = BYPASS_PAIR_1;

#if BYPASS_PAIR_NUMBER > 1

} else if (!strcmp(argv[2],”2”) ) {

value = BYPASS_PAIR_2;

#if BYPASS_PAIR_NUMBER > 2

} else if (!strcmp(argv[2],”3”) ) {

value = BYPASS_PAIR_3;

#if BYPASS_PAIR_NUMBER > 3

} else if (!strcmp(argv[2],”4”) ) {

value = BYPASS_PAIR_4;

#if BYPASS_PAIR_NUMBER > 4

} else if (!strcmp(argv[2],”5”) ) {

value = BYPASS_PAIR_5;

#endif //>4

#endif //>3

#endif //>2

#endif //>1

} else {

printf(“Wrong pair number\n”);

return -1;

}

printf(“Set Runtime Bypass Disable....”);

#if defined(DIRECT_IO_ACCESS)

set_runtime_bypass_disable(value);

printf(“OK\n”);

#else

value |= RUNTIME_BYPASS_STATE_DISABLE;

if( ioctl(devfd, IOCTL_RUNTIME_BYPASS_STATE, &value) != 0)

27

Programming Watchdog Timer

Embedded and Industrial Computing

Appendix A

printf(“Fail\n”);

else

printf(“OK\n”);

#endif //DIRECT_IO_ACCESS

} //--srbd

/******** Set system-off bypass enable ***********************************/

else if ( (!strcmp(argv[1], “--sobe”)) && (argc==3)) {

if ( !strcmp(argv[2],”1”) ) {

value = BYPASS_PAIR_1;

#if BYPASS_PAIR_NUMBER > 1

} else if (!strcmp(argv[2],”2”) ) {

value = BYPASS_PAIR_2;

#if BYPASS_PAIR_NUMBER > 2

} else if (!strcmp(argv[2],”3”) ) {

value = BYPASS_PAIR_3;

#if BYPASS_PAIR_NUMBER > 3

} else if (!strcmp(argv[2],”4”) ) {

value = BYPASS_PAIR_4;

#if BYPASS_PAIR_NUMBER > 4

} else if (!strcmp(argv[2],”5”) ) {

value = BYPASS_PAIR_5;

#endif //>4

#endif //>3

#endif //>2

#endif //>1

} else {

printf(“Wrong pair number\n”);

return -1;

}

printf(“Set System-Off Bypass Enable....”);

#if defined(DIRECT_IO_ACCESS)

set_bypass_enable_when_system_off(value);

printf(“OK\n”);

#else

value |= SYSTEM_OFF_BYPASS_STATE_ENABLE;

if( ioctl(devfd, IOCTL_SYSTEM_OFF_BYPASS_STATE, &value) != 0)

printf(“Fail\n”);

else

printf(“OK\n”);

#endif //DIRECT_IO_ACCESS

} //--sobe

/******** Set system-off bypass disable **********************************/

else if ( (!strcmp(argv[1], “--sobd”)) && (argc==3)) {

if ( !strcmp(argv[2],”1”) ) {

value = BYPASS_PAIR_1;

#if BYPASS_PAIR_NUMBER > 1

} else if (!strcmp(argv[2],”2”) ) {

value = BYPASS_PAIR_2;

#if BYPASS_PAIR_NUMBER > 2

} else if (!strcmp(argv[2],”3”) ) {

value = BYPASS_PAIR_3;

#if BYPASS_PAIR_NUMBER > 3

} else if (!strcmp(argv[2],”4”) ) {

value = BYPASS_PAIR_4;

#if BYPASS_PAIR_NUMBER > 4

} else if (!strcmp(argv[2],”5”) ) {

value = BYPASS_PAIR_5;

#endif //>4

#endif //>3

#endif //>2

#endif //>1

} else {

printf(“Wrong pair number\n”);

return -1;

}

printf(“Set System-Off Bypass Disable....”);

#if defined(DIRECT_IO_ACCESS)

set_bypass_disable_when_system_off(value);

printf(“OK\n”);

#else

value |= SYSTEM_OFF_BYPASS_STATE_DISABLE;

if( ioctl(devfd, IOCTL_SYSTEM_OFF_BYPASS_STATE, &value) != 0)

28

Programming Watchdog Timer

Embedded and Industrial Computing

Appendix A

printf(“Fail\n”);

else

printf(“OK\n”);

#endif //DIRECT_IO_ACCESS

} //--sobe

#endif //>0

else {

printf(“<<<Error: Unknown Parameter>>>\n”);

print_usage(argv[0]);

return -1;

}

#ifdef DIRECT_IO_ACCESS

#if (defined(FreeBSD_ENV))

RESET_IOPL();

#endif

#else

close(devfd);

#endif

return 0;

}

29

Programming the Status LEDAppendix B

Embedded and Industrial Computing

Appendix B: Programming the Status LEDThe Status LED (RUN LED) is designed to provide the status indicator for certain function of system. You can program it to indicate the status of designated functionality. For sample Status LED code, see sled folder under Driver and Utility on the Driver and Manual CD.

Note:

For DOS environment, use DJGPP as compiler 1. and the makefile: Makefile.dos.For Linux, support kernel versions are 2.4.x and 2. 2.6.x. Use the makefile:Makefile.linux.For FreeBSD, support version is FreeBSD 8.0. 3. use the makefile: Makefile.

Build

To build program source code on Linux platform, use the following steps as a guideline:

Copy the proper makefile from the Driver and Manual 1. CD to your system

Set the access mode with these two parameters 2. by editing the Makefile.linux directly: DIRECT_IO_ACCESS= [0|1] (enter either 1 or 0) and LANNER_DRIVER= [0|1] (enter either 1 or 0). 1 is for direct access and no driver is needed. You will only need to execute the program directly. However, when it equaled to 0, driver installation is needed. Refer to the following Install section for more details.

Type make to build source code:3.

make Makefile (Note: omit the file extensions)

After compilation, the executable program (sled_tst) and the driver (sled_drv.[k]o) will be in the bin subdirecto

Install

The installation procedures depend on the access mode that you have set by using the above mentioned method.

If you have set DIRECT_IO_ACCESS=1, driver installation is not necessary. Proceed to the next section on executing

If you have set DIRECT_IO_ACCESS=0, Lanner driver needs to be installed. Install the driver and create a node in the /dev directory as shown in the following example:

For Linux:

Insert module and create node in /dev as below example:

#insmod sled_drv.[k]o

#mknod /dev/sled_drv c 240 0

For FreeBSD:

Insert module as below example:

#kldload -v ./sled_drv.ko

Execute

Once build completed, application (and driver) is available in bin sub-directory.

Just run “sled_tst” for testing the statue LED. The RUN LED can be programmed to show the status of the user-defined program. This sample program demonstrates lighting the LED for 4 seconds.

screen capture of the execution result:

Note: For more details, refer to the README file contained within the program

30

Programming the Status LEDAppendix B

Embedded and Industrial Computing

#include “../include/config.h”

#include “../include/version.h”

/* standard include file */

#include <stdio.h>

#include <stdlib.h>

#include <unistd.h>

#ifdef DJGPP

/* For DOS DJGPP */

#include <dos.h>

#include <inlines/pc.h>

#ifndef DIRECT_IO_ACCESS

#error ***Error: define DIRECT_IO_ACCESS in config.h for DOS ***

#endif

#else

/* For Linux */

#if defined(LINUX_ENV)

#include <sys/io.h>

#endif

#if defined(FreeBSD_ENV)

#define SET_IOPL() (iofl=open(“/dev/io”,000))

#define RESET_IOPL() close(iofl)

#include <machine/cpufunc.h>

#endif

#include <time.h>

#include <stdint.h>

#include <fcntl.h>

#include <errno.h>

#include <string.h>

#include “../include/sled_ioctl.h”

#define delay(x) usleep(x)

#ifdef DIRECT_IO_ACCESS

#warning ***** Note: You build with DIRECT_IO_ACCESS defined *****

#warning ***** Note: undefine this to build for driver code *****

#endif

#endif

/* local include file */

#include “../include/ioaccess.h”

int main( int argc, char** argv )

{

int devfd;

int value, ret;

#if ( defined(DIRECT_IO_ACCESS) && !defined(DJGPP) )

#if (defined(LINUX_ENV))

iopl(3);

#endif

#if (defined(FreeBSD_ENV))

int iofl;

SET_IOPL();

#endif

#endif

fprintf(stdout, “=== Lanner platform miscellaneous utility ===\n”);;

fprintf(stdout, PLATFORM_NAME” Status LED “CODE_VERSION”\n\n”);;

#ifdef DIRECT_IO_ACCESS

sled_gpio_init();

printf(“Led status 1 for 4 seconds... \n”);

set_led_status_1();

31

Programming the Status LEDAppendix B

Embedded and Industrial Computing

sleep(4);

printf(“Led status 2 for 4 seconds... \n”);

set_led_status_2();

sleep(4);

printf(“Led: Dark... \n”);

set_led_status_3();

#if (defined(FreeBSD_ENV))

RESET_IOPL();

#endif

#else

devfd = open(“/dev/sled_drv”, O_RDONLY);

if(devfd == -1)

{

printf(“Can’t open /dev/sled_drv\n”);

return -1;

}

printf(“Led: status 1 for 4 seconds... \n”);

value = LED_SET_STATUS_1;

ret = ioctl(devfd, IOCTL_LED_SET_STATUS, &value);

sleep(4);

printf(“Led: status 2 for 4 seconds... \n”);

value = LED_SET_STATUS_2;

ret = ioctl(devfd, IOCTL_LED_SET_STATUS, &value);

sleep(4);

printf(“Led: Dark... \n”);

value = LED_SET_STATUS_3;

ret = ioctl(devfd, IOCTL_LED_SET_STATUS, &value);

printf(“Test Finished.\n”);

close(devfd);

return 0;

#endif //DIRECT_IO_ACCESS

return 0;

}

32

Terms and ConditionsAppendix C

Embedded and Industrial Computing

Appendix C: Terms and Conditions

Warranty Policy All products are under warranty against defects in 1. materials and workmanship for a period of one year from the date of purchase.

The buyer will bear the return freight charges for 2. goods returned for repair within the warranty period; whereas the manufacturer will bear the after service freight charges for goods returned to the user.

The buyer will pay for repair (for replaced components 3. plus service time) and transportation charges (both ways) for items after the expiration of the warranty period.

If the RMA Service Request Form does not meet the 4. stated requirement as listed on “RMA Service,” RMA goods will be returned at customer’s expense.

The following conditions are excluded from this 5. 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.

RMA Service Requesting a RMA#

To obtain a RMA number, simply fill out and fax the 6. “RMA Request Form” to your supplier.

The customer is required to fill out the problem code 7. as listed. If your problem is not among the codes listed, please write the symptom description in the remarks box.

Ship the defective unit(s) on freight prepaid terms. 8. Use the original packing materials when possible.

Mark the RMA# clearly on the box. 9.

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.

33

Terms and ConditionsAppendix C

Embedded and Industrial Computing

RMA Service Request Form

When requesting RMA service, please fill out the following form. Without this form enclosed, your RMA cannot be processed.

RMA No: Reasons to Return: Repair(Please include failure details) Testing Purpose

Company: Contact Person:

Phone No. Purchased Date:

Fax No.: Applied Date:

Return Shipping Address: Shipping by: Air Freight Sea Express ___ Others:________________

Item Model Name Serial Number Configuration

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

07: BIOS Problem 08: Keyboard Controller Fail 09: Cache RMA Problem 10: Memory Socket Bad 11: Hang Up Software 12: Out Look Damage

13: SCSI 14: LPT Port 15: PS2 16: LAN 17: COM Port 18: Watchdog Timer

19: DIO 20: Buzzer 21: Shut Down 22: Panel Fail 23: CRT Fail 24: Others (Pls specify)

Request Party

Confirmed By Supplier

Authorized Signature / Date Authorized Signature / Date


Recommended