Quanmax ECX-APL0 Series User Manual

I
ECX-APL0 Series User’s Manual
ECX-APL0 Series
User’s Guide
II
ECX-APL0 Series User’s Manual
Contact Info: Quanmax Inc.
4F, No. 415, Ti-Ding Blvd. Sec. 2NeiHu District, Taipei 114Taiwan Tel: +886-2-2799-2789 Fax: +886-2-2799-7399
Visit our site at: www.quanmax.com
© 2017 Quanmax Inc. All rights reserved.
The information in this user’s guide is provided for reference only. Quanmax does not assume any liability arising out of the application or use of the information or products described herein. This user’s guide may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of Quanmax, nor the rights of others. Quanmax is a registered trademark of Quanmax. All trademarks, registered trademarks, and trade names used in this user’s guide are the property of their respective owners. All rights reserved. This user’s guide contains information proprietary to Quanmax. Customers may reprint and use this user’s guide in other publications. Customers may alter this user’s guide and publish it only after they remove the Quanmax name, cover, and logo. Quanmax reserves the right to make changes without notice in product or component design as warranted by evolution in user needs or progress in engineering or manufacturing technology. Changes which affect the operation of the unit will be documented in the next revision of this user’s guide.
Content
3
ECX-APL0 Series User’s Manual
Content
Content ....................................................................................................................... 3
Figures ....................................................................................................................... 5
Tables ......................................................................................................................... 6
Safety Instructions ...................................................................................................... 8
Before You Begin ......................................................................................... 8
When Working Inside a Computer ............................................................... 8
Preventing Electrostatic Discharge .............................................................. 9
Preface ..................................................................................................................... 11
How to Use This Guide .............................................................................. 11
Unpacking.................................................................................................. 11
Regulatory Compliance Statements .......................................................... 11
Warranty Policy ......................................................................................... 12
Maintaining Your Computer ....................................................................... 13
Chapter 1 Introduction ........................................................................................... 16
Overview ................................................................................................... 16
Product Specifications ............................................................................... 17
System Block Diagram .............................................................................. 18
Mechanical Dimensions ............................................................................. 19
Chapter 2 Hardware Settings ................................................................................ 20
Overview ................................................................................................... 20
Jumper Settings and Pin Definitions .......................................................... 21
Jumper Settings ...................................................................................... 22
Internal Connector Pin Assignment ......................................................... 24
Rear Panel Pin Assignments ................................................................... 33
Chapter 3 System Installation ................................................................................ 36
Memory Module Installation ....................................................................... 36
Chapter 4 AMI BIOS Setup ...................................................................................... 38
Overview ................................................................................................... 38
Main Menu ................................................................................................. 39
Advanced Menu......................................................................................... 40
Power Menu .............................................................................................. 54
Boot Menu ................................................................................................. 55
Security Menu............................................................................................ 56
Save & Exit Menu ...................................................................................... 57
Content
4
ECX-APL0 Series User’s Manual
Chapter 5 Driver Installation .................................................................................. 59
Appendix A DIO (Digital I/O) Sample Code ............................................................ 60
Appendix B Wa t chDog Timer Sample Code ............................................................. 64
Figures
5
ECX-APL0 Series User’s Manual
Figures
Figure 1 Block Diagram ............................................................................. 18
Figure 2 Mechanical Dimensions ............................................................... 19
Figure 3 Jumper Connector ....................................................................... 20
Figure 4 Jumper and Connector Locations ................................................ 21
Figure 5 Rear Panel IO .............................................................................. 33
Figure 6 Align the SO-DIMM Memory Module with the onboard socket ..... 36
Figure 7 Press down on the SO-DIMM Memory Module to lock it in place 37
Tables
6
ECX-APL0 Series User’s Manual
Tables
Table 1 Product Specifications ................................................................... 17
Table 2 Jumper List .................................................................................... 22
Table 3 JP1 SIM CARD SELECTION ........................................................ 22
Table 4 JP2 Backlight Enable Selec ti on .................................................... 22
Table 5 JP3 Panel & Backlight Power Selection ........................................ 22
Table 6 JP4 AT / ATX Power Mode Selection ............................................. 23
Table 7 JP5 M2 KEY B LED Pin Header .................................................... 23
Table 8 JP6 MPCIE Activity LED Pin Header ............................................. 23
Table 9 JP8 RTC Reset Selection .............................................................. 23
Table 10 JP9 USB Power Selection ........................................................... 23
Table 11 JP10 ME F/W Selection ............................................................... 23
Table 12 BAT1 CR2032 Battery Power Input Wafer ................................... 25
Table 13 CN1 DC12V Power Input Wafer .................................................. 25
Table 14 CN2 HDD Power Output Wafer ................................................... 25
Table 15 CN3 Micro-SD Card Cage ........................................................... 25
Table 16 CN6 USB2.0 Port DN_1, DN_2 Pin Header ................................ 25
Table 17 CN7 SIM Interface Wafer for MPCIE1 and M2 KEY B ................. 26
Table 18 CN11 Audio Input / Output Pin Header ........................................ 26
Table 19 CN12 Left Channel 3W Audio AMP Output Wafer ....................... 26
Table 20 CN14 Digital Input / Output Wafer ............................................... 26
Table 21 CN16 Right Channel 3W Audio AMP Output Wafer ..................... 27
Table 22 CN17 COM1 RS-232/422/485 Port Wafer ................................... 27
Table 23 CN18 COM2 RS-232/422/485 Port Wafer ................................... 27
Table 24 CN19~CN22 COM3~6 RS-232 Por t Wafer .................................. 28
Table 25 CN23 Backlight Power Output Wafer .......................................... 28
Table 26 LVDS1 18/24-bit, 1/2-channel LVDS Panel Connector ................ 28
Table 27 FAN 1 DC5V FAN Wafer ............................................................... 29
Table 28 FP1 Front Panel 1 Pin Header .................................................... 29
Table 29 FP2 Front Panel 2 Pin Header .................................................... 29
Table 30 MPCIE1 Mini-PCI Express v1.2 Socket (Full Size) ...................... 30
Table 31 CON1 NGFF M.2 KEY B Socket ................................................. 31
Table 32 SATA1 Serial ATA Port 0 Connector ............................................ 32
Table 33 CN26 USB2.0 Port Wafer (Option) .............................................. 32
Table 34 Rear Panel Connector List .......................................................... 33
Tables
7
ECX-APL0 Series User’s Manual
Table 35 CN9 GbE LAN1 RJ-45 Connector ............................................... 33
Table 36 CN10 GbE LAN2 RJ-45 Connector ............................................. 33
Table 37 CN4 USB3.0 Port-0,1 Type-A Connector ..................................... 34
Table 38 CN5 USB3.0 Port-2,3 Type-A Connector ..................................... 34
Table 39 CN13 DisplayPort Connector ...................................................... 34
Table 40 CN15 HDMI Connector ................................................................ 35
Table 41 BIOS Main Menu ......................................................................... 39
T abl e 42 Advanced Menu ........................................................................... 40
T abl e 43 Advanced Menu – Display Configuration ..................................... 41
T abl e 44 Advanced Menu – Super IO Configuration .................................. 42
T abl e 45 Advanced Menu – Super IO Configuration – Serial Port 1
Configuration ...................................................................................... 42
T abl e 46 Advanced Menu – Super IO Configuration – Serial Port 2
Configuration ...................................................................................... 43
T abl e 47 Advanced Menu – Super IO Configuration – Serial Port 3
Configuration ...................................................................................... 44
Table 48 Advanced Menu – Super IO Configuration – Serial Port 4
Configuration ...................................................................................... 45
T abl e 49 Advanced Menu – Super IO Configuration – Serial Port 5
Configuration ...................................................................................... 46
T abl e 50 Advanced Menu – Super IO Configuration – Serial Port 6
Configuration ...................................................................................... 47
T abl e 51 Advanced Menu – CPU Chipset Configuration ............................ 48
T abl e 52 Advanced Menu – SATA Configuration ........................................ 49
T abl e 53 Advanced Menu – USB Configuration ......................................... 50
T abl e 54 Advanced Menu – DIO Configuration .......................................... 51
T abl e 55 Advanced Menu – Network Stack ................................................ 52
T abl e 56 Advanced Menu – H/W Monitor ................................................... 53
Table 57 Power Configuration .................................................................... 54
Table 58 Boot Menu ................................................................................... 55
Table 59 Security Menu ............................................................................. 56
Table 60 Save & Exit Menu ........................................................................ 57
Safety Instructions
8
ECX-APL0 Series User’s Manual
Safety Instructions
Before You Begin
Before handling the product, read the instructions and safety guidelines on the following pages to prevent damage to the product and to ensure your own personal safety. Refer to the “Advisor ies” sect ion in the Pr eface for advisor y convent ions use d in this user’s guide, including the distinction between Warnings, Cautions, Important Notes, and Notes.
Always use caution when handling/operating a computer. Only qualified,
experienced, authorized electronics service personnel should access the interior of a computer. The power supplies produce high voltages and energy hazards, which can cause bodily harm.
Use extreme caution when installing or rem oving components. Refer to the
installation instructions in this user’s guide for precautions and procedures. If you have any questions, please contact Quanmax Post-Sales T ec hnical Support.
WARNING
High voltages ar e present ins ide the ch assis w hen the unit’ s pow er cor d is plugged into an electrical outlet. Turn off system power, turn off the power supply, and then disconnect the power cord from its source before removing the chassi s c ov er. Turning off the system power switch doe s not remove power to components.
When Working Inside a Computer
Before taking covers off a computer, perform the following step s :
1. Turn off the com put er and any periph er al s.
2. Disconnect the computer and peripherals from their power sources or subsystems to prevent electric shock or system board damage. This does not apply when hot swapping parts.
Safety Instructions
9
ECX-APL0 Series User’s Manual
3. Follow the guidelines provided in “Preventing Electrostatic Discharge” on the following page.
4. Disconnect any telephone or telecom m uni cations lines from the computer .
In addition, take note of these safety guidelines when appropriate:
To help avoid possible damage to system boards, wait five seconds after
turning off the computer before removing a component, removing a system board, or disconnecting a peripheral device from the computer.
When you disconnect a cable, pull on its connector or on its strain-relief loop,
not on the cable itself. Some cables have a connector with locking tabs. If you are disconnecting this type of cable, press in on the locking tabs before disconnecting the cable. As you pull connectors apart, keep them evenly aligned to avoid bending any connector pins. Also, before connecting a cable, make sure both connectors are correctly oriented and aligned.
CAUTION
Do not attempt to service the system yourself except as explained in this user’s guide. Follow installation and troubleshooting instructions closely.
Preventing Electr ostatic Discharge
Static electricity can harm system boards. Perform service at an ESD workstation and follow proper ESD procedure to reduce the risk of damage to components. Quanmax strongly encourages you to follow proper ESD procedure, which can include wrist straps and smocks, when servicing equipment. You can also take the following steps to prevent damage from electrostatic discharge (ESD):
When unpacking a static-sensitive component from its shipping carton, do not
remove the component’s antistatic pac ki ng m at eri al u nti l you are ready to install the component in a computer. Just before unwrapping the antistatic packaging, be sure you are at an ESD workstation or grounded. This will discharge any static electrici ty that may have built up in your body.
Safety Instructions
10
ECX-APL0 Series User’s Manual
When transporting a sensitive component, first place it in an antistatic container
or packaging.
Handle all sensitive compo ne nt s at an ESD w or ks t at ion. If pos si bl e, use
antistatic floor p ads and wor k bench p ads.
Handle components and boards with care. Don’t touch the components or
contacts o n a b oard. Hol d a b oard by it s edg es or by it s met al mount ing brac ket .
Do not handle or store s ys tem boar ds near st r ong elec tros t ati c, el ectr omagnet ic,
magnetic, or radioactive fields.
Preface
11
ECX-APL0 Series User’s Manual
Preface
How to Use This Guide
This guide is designe d to be used as st ep-by-step instructions for installatio n, and as a reference for operation, troubleshooting, and upgrades.
NOTE
Driver downloads and additional information are available under Downloads on our web site: www.quanmax.com.
Unpacking
When unpacking, follow these steps:
1. After opening the box, save it and the packing material for possible future
shipment.
2. Remove all items from the box. If any items listed on the purchase order
are missing, notify Quanm ax customer service immediately.
3. Inspect the product for damage. If there is damage, notif y Quanmax
customer service immediately. Refer to “Warranty Policy” for the return procedure.
Regulatory Compliance Statemen ts
This section provides the FCC compliance statement for Class A devices.
FCC Compliance Statement for Class A Devices
The product(s) described in this user’s guide 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 user’s guide, may cause harmful interference to radio communications. Operation of this equipment in a residential
Preface
12
ECX-APL0 Series User’s Manual
area (domestic environment) is likely to cause harmful interference, in which case the user will be required to correct the interference (take adequate measures) at their own expense. Changes or modific atio ns not expr essly appr oved by Quanm ax c ould voi d the us er's authority to operate the equipment.
NOTE
The assembler of a personal computer system may be required to test
the system and/or mak e necess ary modific ati ons if a sy stem is foun d to cause harmful interference or to be noncompliant with the appropriate
standards for its intended use.
Warranty Policy
Limited Warranty
Quanmax Inc.’s detailed Limited Warranty policy can be found under Support at www.quanmax.com. Please consult your distributor for warranty verification. The limited warranty is void if the product has been subjected to alteration, neglect, misuse, or abuse; if any repairs have been attempted by anyone other than Quanmax or its au thor ized agent; or if the failure is c aused by accident, acts of God , or other causes beyond the control of Quanmax or the manufacturer. Neglect, misuse, and abuse shall include any installation, operation, or maintenance of the product other than in accordance with the user’s guide. No agent, dealer, distributor , ser vic e company, or other p arty is author ized to change , modify, or extend the terms of this Limited Warranty in any manner whatsoever. Quanmax reserves the right to make changes or improvements in any product without incurring any obligation to similarly alter products previously purchased.
Return Procedure
For any Limited Warranty return, please contact Support at www.quanmax.com and login to obtain a Return Material Authorization (RMA) Number. If you do not have an account, send an email to support@quanmax.com to apply for one. All product(s) returned to Quanmax for service or credit must be accompanied by a Return Material Authorization (RMA) Number. Freight on all returned items must be prepaid by the customer who is responsible for any loss or damage caused by common carrier in transit. Returns for Warranty must include a Failure Report for each unit, by serial number(s), as well as a copy of the original invoice showing the
Preface
13
ECX-APL0 Series User’s Manual
date of purchase. To reduce risk of damage, returns of product must be in a Quanmax shipping container. If the original container has been lost or damaged, new shipping containers may be obtained from Quanmax Customer Service at a nominal cost. Quanmax owns all parts removed from repaired products. Quanmax uses new and reconditioned parts made by various manufacturers in performing warranty repairs and building replacement products. If Quanmax repairs or replaces a product, its warranty term is not extended. Shipments not in compliance with this Limited Warranty Return Policy will not be accepted by Quanmax.
Limitation of Liability
In no event shall Quanmax be liable for any defect in hardware, software, loss, or inadequacy of data of any kind, or for any direct, indirect, incidental, or consequential damages in connection with or arising out of the performance or use of any product furnished hereunder. Quanmax’s liability shall in no event exceed the purchase price of the product pur c hased hereunder. The foregoing limitation of liability shall be equally applicable to any service provided by Quanmax or its authorized agent.
Maint aining Your Comp uter
Environmental Factors
Temperature
The ambient temperature within an enclosure may be greater than room ambient temperature. Installation in an enclosure should be such that the amount of air flow required for safe operation is not compromised. Consideration should be given to the maximum rated ambient temperature. Overheating can cause a variety of problems, including premature aging and failure of chips or mechanical failure of devices. If the system has been exposed to abnormally cold temperatures, allow a two-hour warm-up period to bring it up to normal operating temperature before turning it on. Failure to do so may cause damage to internal components, particularly the hard disk drive.
Humidity
High-humidity can cause moisture to enter and accumulate in the system. This moisture can cause corrosion of internal components and degrade such
Preface
14
ECX-APL0 Series User’s Manual
properties as electrical resistance and thermal conductivity. Extreme moisture buildup inside the system can result in electrical shorts, which can cause serious damage to the sy stem. Buildings in which climate is controlled usually maintain an acceptable level of humidity for system equipment. However, if a system is located in an unusually humid location, a dehumidifier can be used to maintain the humidity within an acceptable range. Refer to the “Specifications” section of this user’s guide for the operating and storage humidity specifications.
Altitude
Operating a system at a high altitude (low pressure) reduces the efficiency of the cooling fans to cool the system. This can cause electrical problems related to arcing and corona effects. This condition can also cause sealed components with internal pressure, such as electrolytic capacitors, to fail or perform at reduced efficiency.
Power Protection
The greatest threats to a system’s supply of power are power loss, power spikes, and power surges caused by electrical storms, which interrupt system operation and/or damage system components. To protect your system, always properly ground power cables and one of the following devices.
Surge Protector
Surge protectors are available in a variety of types and usually provide a level of protection proportional with the cost of the device. Surge protectors prevent voltage spikes from entering a system through the AC power cord. Surge protectors, however, do not offer protection against brownouts, which occur when the voltage drops more than 20 percent below the normal AC line voltage level.
Line Conditioner
Line conditioners go beyond the over voltage protection of surge protectors. Line conditioners keep a system’s AC power source voltage at a fairly constant level and, therefore, can handle brownouts. Because of this added protection, line conditioners cost more than surge protectors. However, line conditioners cannot protect against a compl et e loss o f pow er.
Preface
15
ECX-APL0 Series User’s Manual
Uninterruptible Power Supply
Uninterruptible power supply (UPS) systems offer the most complete protection against variations on power because they use battery power to keep the server running when AC power is lost. The battery is charged by the AC power while it is available, so when AC power is lost, the battery can provide power to the system for a limited amount of time, depending on the UPS system. UPS systems range in price from a few hundred dollars to several thousand dollars, with the more expensive unit s allowing you to run larger systems for a longer period of time when AC power is lost. UPS systems that provide only 5 minutes of battery power let you conduct an orderly shutdown of the system, but are not intende d to pr ovi de contin ue d oper ation. Sur ge pr otect ors shoul d be used with all UPS systems, and the UPS system should be Underwriters Laboratories (UL) safety approved.
Chapter 1
16
ECX-APL0 Series User’s Manual
Chapter 1
Introduction
Overview
ECX-APL0 Series is a 3.5" ECX form factor single board computer equipped with Intel Ap ol lo Lak e SoC Pr oces sor, providing up to 30% increase in processing / graphics performance and 15% increase in power efficiency over the models with previous-generation pr oc ess or. In addition, ECX-APL0 Series supports highly-integrated M.2 expansi on soc ket for Wi-Fi, Bluetooth, satellite navigation, NFC, digital radio, WiGig, WWAN, and SSDs. T hus, it allows developers to build more compact or thinner embedded devices.
Checklist
( * : Optional )
ECX-APL0 Series embedded board  Quick Installation Guide  Driver/ Manual CD
1x SATA Cable*  1x SATA Power Cable*  1x DC Jack Cable*
Features
Intel® Apollo Lake SoC Processors  2x DDR3L SO-DIMM  1x LVDS, 1x HDMI, 1x DP for video outp ut  2x GbE LAN for Ethernet  4x USB3.0, 1x USB2.0, 6x COM, 8-bit DIO for peripherals  1x SATA3.0, 1x Micro-SD Cage for storage  1x mPCIe, 1x M.2 for expansion
Chapter 1
17
ECX-APL0 Series User’s Manual
Product Specifications
Model Name
ECX-APL0 Series
Form Factor
ECX, 146x105mm (5.75" x 4.13")
CPU Support
Intel® Apollo Lake SoC Processors
Memory
2x DDR3L SO-DIMM memory socket
Displays
1x LVDS
1x HDMI1.4 (on rear)
 1x DP1.2 (on rear)
Audio Chipset
Realtek ALC662
Audio Interfaces
2x Speaker-out (3W)
1x Line-in (by header) 1x Line-out (by header)
1x Mic-in (by header)
Ethernet
2x GbE LAN (RJ-45 on rear, Intel® I210-AT)
USB
4x USB3.0 (Type A on rear)
2x USB2.0 (by header)
Serial Ports
 2x RS-232/422/485 (by wafer, auto flow control function for RS-485)
4x RS-232 (by wafer)
Other I/O Ports
1x 8-bit DIO (by header)
Storage & Expansion
1xSATA3.0 (2x by BOM option in case of eliminating M.2 SATA support)
1x Micro SD Cage (on front)1x mPCIe Socket (full size) 1x M.2 Key B (mixed with USB2.0 / SATA type 22x42) 1x SIM card wafer (switchable between mPCIe and M.2)
Power
 Connector: 1x4-pin Wafer (straight & right angle dual-footprint)  Input Voltage: DC 12V
BIOS
AMI uEFI BIOS w/ 128Mb SPI Flash
Watchdog
Programmable WDT to generate System reset event
Hardware Monitor
Voltages monitoring
Temperature monitoring
Real Time Clock
Processor integrated RTC
TPM
optional
System Control & Monitoring
 1x Header Reset button, HDD LED & External Speaker
1x Header for Power button, Power LED & SM bus1x Header for mPCIe activity LED1x Header for M.2 activity LED
Cooling
1x Wafer for System Smart Fan
Environmental Characteristics
Operation Temp.: 0°C ~ 60°C / 32°F ~ 140°F
Storage Temp.: -20°C ~ 80°C / -4°F ~ 176°F Humidity: 0% ~ 95%
Certifications
CE, FCC Class A
Table 1 Product Specifications
Chapter 1
18
ECX-APL0 Series User’s Manual
System Block Diagram
Figure 1 Block Diagram
Chapter 1
19
ECX-APL0 Series User’s Manual
Mechanical Dimensi ons
Figure 2 Mechanical Dimensions
Chapter 2
20
ECX-APL0 Series User’s Manual
Chapter 2
Hardware Settings
Overview
This chapter provides the definitions and locations of jumpers, headers, and connectors.
Jumpers
The product has several jumpers which must be properly configured to ensure correct operation.
Figure 3 Jumper Connector
For a three-pin jumper (s ee Figure 3), the jumper setting is designated “1-2” when the jumper connects pins 1 and 2. The jumper setting is designated “2-3” when pins 2 and 3 are connected and so on. You will see that one of the lines surrounding a jumper pin is thick, which indicates pin No.1. To move a jumper from one position to another, use needle-nose pliers or tweezers to pull the pin cap off the pins and move it to the desired position.
Chapter 2
21
ECX-APL0 Series User’s Manual
Jumper Settings and Pin Definitions
For jumper and connector locations, please refer to the diagrams below.
Figure 4 Jumper and Connector Locations
Chapter 2
22
ECX-APL0 Series User’s Manual
Jumper Settings
To ensure correct system configuration, the following section describes how to set the jumpers to enable/disable or change functions. For jumper descriptions, please refer to the table below .
Table 2 Jumper List
Label
Function
JP1
SIM CARD SELECTION
JP2
Backlight Enable Selection
JP3
Panel & Backlight Power Selection
JP4
AT / A TX Power Mode Selection
JP5
M2 KEY B LED Pin Header
JP6
MPCIE Activity LED Pin Header
JP8
RTC Reset Selection
JP9
USB Power Selection
JP10
ME F/W Selection
Table 3 JP1 SIM CARD SELECTION
1 2
Jumper
Status
1-2 Open
1-2 Short
DIP 2P 1R MALE Pitch:2.54mm [Pinrex 210-91-02GB01]
Table 4 JP2 Backlight Enabl e Sel ect ion
2
1
65
Jumper
Setting
Status
1
1-3
Backlight Enable Level = +3.3V
3-5
Backlight Enable Level = +5V
2
2-4
Backlight Enable High Active
4-6
Backlight Enable Low Active
SMD 6P 2R MALE TYPE 180D P-2.0mm[PINREX 222-97-03GBB1]
Table 5 JP3 Panel & Backlight Power Selection
21
65
Jumper
Setting
Status
1
1-3
Backlight Power = +12V
3-5
Backlight Power = +5V
2
2-4
Panel Power = +3.3V
4-6
Panel Power = +5V
SMD 6P 2R MALE TYPE 180D P-2.0mm[PINREX 222-97-03GBB1]
Chapter 2
23
ECX-APL0 Series User’s Manual
Table 6 JP4 AT / ATX Power Mode Selection
2 3
1
Jumper
Status
1-2 Short
ATX Mode
2-3 Short
AT Mode
DIP 3P 1R MALE STRAIGHT TYPE Pitch:2.54mm [PINREX 210-91-03GB01]
Table 7 JP5 M2 KEY B LED Pin Header
1 2
Pin
Descriptiom
1
LED+
2
LED-
DIP 2P 1R MALE Pitch:2.54mm [Pinrex 210-91-02GB01]
Table 8 JP6 MPCIE Activity LED Pin Header
1 2
Pin
Descriptiom
1 LED+
2
LED-
DIP 2P 1R MALE Pitch:2.54mm [Pinrex 210-91-02GB01]
Table 9 JP8 RTC Reset Selection
1 2
Jumper
Status
1-2 Open
Normal Operation.
1-2 Short
DIP 2P 1R MALE Pitch:2.54mm [Pinrex 210-91-02GB01]
Table 10 JP9 USB Power Selection
1 2
Jumper
Status
1-2 Open USB power will be cut off in S4 & S5 state.
1-2 Short
USB power is always supply.
DIP 2P 1R MALE Pitch:2.54mm [Pinrex 210-91-02GB01]
Table 11 JP10 ME F/W Selection
1 2
Jumper
Status
1-2 Open
Normal Operation
1-2 Short
ME F/W Disabled
DIP 2P 1R MALE Pitch:2.54mm [Pinrex 210-91-02GB01]
Chapter 2
24
ECX-APL0 Series User’s Manual
Internal Connector Pin Assignment
Label
Function
BAT1
CR2032 Battery Power Input Wafer
BZ1
Onboard Buzzer
CN1
DC12V Power Input Wafer
CN2
HDD Power Output Wafer
CN3
Micro-SD Card Cage
CN6
USB2.0 Port PORT4,5 Pin Header
CN7
SIM Interface Wafer for MPCIE1 and M2 KEY B
CN8
P80_Header
CN11
Audio Input / Output Pin Header
CN12
Left Channel 3W Audio AMP Output Wafer
CN14
Digital Input / Output Wafer
CN16
Right Channel 3W Audio AMP Output Wafer
CN17
COM1 RS-232/422/485 Port Wafer
CN18
COM2 RS-232/422/485 Port Wafer
CN19
RS-232 Port 5 Wafer
CN20
RS-232 Port 3 Wafer
CN21
RS-232 Port 4 Wafer
CN22
RS-232 Port 6 Wafer
CN23
Backlight Power Output Wafer
LVDS1
18/24-bit, 1/2-channel LVDS Panel Connector
DIMM1
DDR3L Memory SO-DIMM Socket
DIMM2
DDR3L Memory SO-DIMM Socket
FAN1
DC5V FAN Wafer
FP1
Front Panel 1 Pin Header
FP2
Front Panel 2 Pin Header
MPCIE1
Mini-PCI Express v1.2 Socket (Full Size)
CON1
M2 KEY B Socket
SATA1
Serial ATA Port 0 Connector
CN26
USB2.0 Port 2 Pin Header (Option)
Chapter 2
25
ECX-APL0 Series User’s Manual
Table 12 BAT1 CR2032 Battery Power Input Wafer
Pin
Signal Name
1
Battery+
2
Battery-
SMD 2P 180D P-1.25mm WAFER [Pinrex 712-73-02TWR0]
Table 13 CN1 DC12V Power Input Wafer
Pin
Signal
1
+12Vin
2
GND
3
GND
4
+12Vin
ATX POWER SMD 4P 1R MALE 90° Pitch:3.0mm Hollow PIN [PINREX 733-97-04TBR1]
Table 14 CN2 HDD Power Output Wafer
Pin
Signal
1
+12V
2
GND
3
GND
4
+5V
WAFER SMD MALE 4P 1R 180D P-2.0mm, Tin Plated, White Insulator [PINREX 721-93-04TWE9]
Table 15 CN3 Micro-SD Card Cage
Pin
Signal Name
1
DAT2
2
CD/DAT3
3
CMD
4 VDD
5
CLK
6
GND
7
DAT0
8
DAT1
SMT 8P Micro-SD (T-Flash) Memory Card Connector, LCP, Black, Au 10u” Plated [HOMETOM SD08F36BDA005]
Table 16 CN6 USB2.0 Port DN_1, DN_2 Pin Header
6
1 3
10
4
5
2
87
Pin
Signal Name
Pin
Signal Name
1
+USBVCC
2
+USBVCC
3
USB_A-
4
USB_B-
5
USB_A+
6
USB_B+
7
GND
8
GND
9
KEY
10
GND
SMD 10P 2R MALE STRAIGHT TYPE Pitch:2.54mm Remove PIN 9 NY
6T[YIMTEX 3362*05SANGR-09] *The power source of +USBVCC can be selected by JP9.
Chapter 2
26
ECX-APL0 Series User’s Manual
Table 17 CN7 SIM Interface Wafer for MPCIE1 and M2 KEY B
Pin
Signal Name
1
UIM_PWR
2
UIM_DATA
3
UIM_RESET
4
UIM_VPP
5
UIM_CLK
6
GND
SMD 6P 180D P-1.25mm WAFER [Pinrex 712-73-06TWB0] *SIM Interface can be selected by JP1.
Table 18 CN11 Audio Input / Output Pin Header
11
1 2
12
Pin
Signal Name
Pin
Signal Name
1
MIC-In_L
2
MIC-In_R
3
MIC-In_JD#
4
GND
5
Line-In_L
6
Line-In_R
7
Line-In_JD#
8
GND
9
Line-Out_L
10
Line-Out_R
11
Line-Out_JD#
12
GND
SMD 12P 2R 180D Pitch:2.54mm, Gold Flash, NY9T, Green Insulator [PINREX 212-92-06GBE1]
Table 19 CN12 Left Channel 3W Audio AMP Output Wafer
Pin
Signal Name
1 Speaker+
2
Speaker-
DIP 2P 180° Pitch=2.0mm WAFER [YIMTEX 503PW1*02STR & 503PW1*02ST-1R]
Table 20 CN14 Digital Input / Output Wafer
Pin
Signal Name
1
+5V
2
DIO_0
3
DIO_1
4
DIO_2
5
DIO_3
6
DIO_4
7
DIO_5
8
DIO_6
9
DIO_7
10
GND
SMD 10P 1R 180D MALE P=1.25mm, Tin Plated, NY46, White Insulator [Pinrex 712-73-10TWB0]
Chapter 2
27
ECX-APL0 Series User’s Manual
Table 21 CN16 Right Channel 3W Audio AMP Output Wafer
Pin
Signal Name
1
Speaker+
2
Speaker-
DIP 2P 180° Pitch=2.0mm WAFER [YIMTEX 503PW1*02STR & 503PW1*02ST-1R]
Table 22 CN17 COM1 RS-232/422/485 Por t Wafer
Pin RS-232 RS-422
Half Duplex
RS-485
Full Duplex
RS-485
1
DCD
TX-
DATA-
TX-
2
DSR
N/A
N/A
N/A
3
RXD
TX+
DATA+
TX+
4
RTS
N/A
N/A
N/A 5 TXD
RX+
N/A
RX+
6
CTS
N/A
N/A
N/A
7
DTR
RX-
N/A
RX- 8 RI
N/A
N/A
N/A
9
GND
GND
GND
GND
10
+5V
+5V
+5V
+5V
SMD 10P 1R 180D MALE P=1.25mm, Tin Plated, NY46, White Insulator [Pinrex 712-73-10TWB0]
Table 23 CN18 COM2 RS-232/422/485 Port Wafer
Pin RS-232 RS-422
Half Duplex
RS-485
Full Duplex
RS-485
1
DCD
TX-
DATA-
TX-
2
DSR
N/A
N/A
N/A
3
RXD
TX+
DATA+
TX+
4
RTS
N/A
N/A
N/A 5 TXD
RX+
N/A
RX+
6
CTS
N/A
N/A
N/A
7
DTR
RX-
N/A
RX- 8 RI
N/A
N/A
N/A
9
GND
GND
GND
GND
10
+5V
+5V
+5V
+5V
SMD 10P 1R 180D MALE P=1.25mm, Tin Plated, NY46, White Insulator [Pinrex 712-73-10TWB0]
Chapter 2
28
ECX-APL0 Series User’s Manual
Table 24 CN19~CN22 COM3~6 RS-232 Port Wafer
Pin
Signal Name
1
DCD
2
DSR
3
RXD
4
RTS
5
TXD
6
CTS
7
DTR 8 RI 9 GND
10
+5V
SMD 10P 1R 180D MALE P=1.25mm, Tin Plated, NY46, White Insulator [Pinrex 712-73-10TWB0]
Table 25 CN23 Backlight Power Output Wafer
Pin
Signal Name
1
BL_ADJ_PWM *
2
BL_ADJ_VOL *
3
GND
4
+5V / +12V **
5
+5V / +12V **
6
GND
7
BL_EN***
SMD 7P 90D P-1.25mm WAFER [YIMTEX 501MW1X07MTR-1R] *BL_ADJ can be setting in BIOS setup. **Backlight Power can be selected by JP3. ***BL_EN can be selected by JP2.
Table 26 LVDS1 18/24-bit, 1/2-channel LVDS Panel Connector
Pin
Signal Name
Pin
Signal Name
1
LVDS_A0-
16
LVDS_B1+
2
LVDS_A0+
17
GND
3
LVDS_A1-
18
LVDS_B2-
4
LVDS_A1+
19
LVDS_B2+
5
LVDS_A2-
20
LVDSBCLK-
6
LVDS_A2+
21
LVDS_BCLK+
7
GND
22
LVDS_B3-/NC
8
LVDS_ACLK-
23
LVDS_B3+/NC
9
LVDS_ACLK+
24
GND
10
LVDS_A3-/NC
25
DDC_DATA
11
LVDS_A3+/NC
26
VDDEN
12
LVDS_B0-
27
DDC_CLK
13
LVDS_B0+
28
+3.3V / +5V *
14
GND
29
+3.3V / +5V *
15
LVDS_B1-
30
+3.3V / +5V *
SMD MALE 30P 90° 1R Pitch:1mm [JAE JS-1267-30(G1)NH] *Panel Power can be selected by JP3.
Chapter 2
29
ECX-APL0 Series User’s Manual
Table 27 F AN1 DC5V F AN Wafer
Pin
Signal
1
SENSE
2
+5V
3
GND
SMD 3P 180D P-1.25mm WAFER [Pinrex 712-73-03TWE0]
Table 28 FP1 Front Panel 1 Pin Header
-
+
SPKR
+
7
8
HLED
21
-
+
RSTBTN
-
Pin Signal Pin Signal
1
Reset Button +
2
Speaker +
3
Reset Button -
4
NC
5
HDD LED +
6
Internal Speaker-
7
HDD LED -
8
Speaker -
SMD 8P 2R MALE STRAIGHT TYPE Pitch:2.54mm NY 6T [YIMTEX 3362*04SANGR] NoteInternal Buzzer is enabled when P in6-8 is shorted.
Table 29 FP2 Front Panel 2 Pin Header
+
KLOCK
PLED
2
-
-
9
+
SMC-
SMD
10
+
1
PWRBTN
Pin
Signal
Pin
Signal
1
Power LED +
2
Power Button +
3
NC
4
Power Button -
5
Power LED -
6
SMB_ALERT#
7
BATLOW#
8
SMBus Data
9
GND
10
SMBus Clock
SMD 10P 2R MALE STRAIGHT TYPE Pitch:2 .54mm NY 6T[YIMTEX 3362*05SANGR]
Chapter 2
30
ECX-APL0 Series User’s Manual
Table 30 MPCIE1 Mini-PCI Express v1.2 Socket (Full Size)
Signal
Pin
Pin
Signal
WAKE#
1
2
+3.3VSB
Reserved
3
4
Ground
Reserved
5
6
+1.5V
CLKREQ#
7 8 UIM_PWR*
Ground
9
10
UIM_DATA*
REFCLK-
11
12
UIM_CLK*
REFCLK+
13
14
UIM_RESET*
Ground
15
16
UIM_VPP*
Reserved
17
18
Ground
Reserved
19
20
W_Disable#
Ground
21
22
PERST#
PERn0
23
24
+3.3VSB
PERp0
25
26
Ground
Ground
27
28
+1.5V
Ground
29
30
SMB_CLK
PETn0
31
32
SMB_DATA
PETp0
33
34
Ground
Ground
35
36
USB_D-
Ground
37
38
USB_D+
+3.3VSB
39
40
Ground
+3.3VSB
41
42
LED_WWAN#
Ground
43
44
LED_WLAN#
Reserved
45
46
LED_WPAN#
Reserved
47
48
+1.5V
Reserved
49
50
Ground
Reserved
51
52
+3.3VSB
MINI PCI-Express Connector, H:5.6mm, Gold Flash, Tape Reel [FOXCONN AS0B221-S56Q-7H] *These pins are connected to CN7 SIM Interface directly
Chapter 2
31
ECX-APL0 Series User’s Manual
Table 31 CON1 NGFF M.2 KEY B Socket
Signal
Pin
Pin
Signal
CONFIG3
1
2
+3.3V
GND
3
4
+3.3V
GND
5 6 FULL CARD PWR OFF
USB-D+
7 8 W DISABLE#1
USB-D-
9
10
GPIO9
GND
11
12
KEY B
KEY B
13
14
KEY B
KEY B
15
16
KEY B
KEY B
17
18
KEY B
KEY B
19
20
GPIO5
CONFI0
21
22
GPIO6
GPIO11
23
24
GPIO7
GPIO12
25
26
GPIO10
GND
27
28
GPIO8
NC
29
30
UIM RESET*
NC
31
32
UIM CLK*
GND
33
34
UIM DATA*
NC
35
36
UIM PWR*
NC
37
38
DEVSLP
GND
39
40
GPIO0
PETn0/SATAB+
41
42
GPIO1
PETp0/SATAB-
43
44
GPIO2
GND
45
46
GPIO3
PERn0/SATAA-
47
48
GPIO4
PERp0/SATAA+
49
50
PERST
GND
51
52
CLKREQ
REFCLKN
53
54
PEWAKE
REFCLKP
55
56
MFG_DAT
GND
57
58
MFGCLK
ANTCTL
59
60
COEX
ANTCTL
61
62
COEX
ANTCTL
63
64
COEX
ANTCTL
65
66
SIM DETECT
PER1-
67
68
SUSCLK
CONFIG1
69
70
+3.3V
GND
71
72
+3.3V
GND
73
74
+3.3V
CONFIG2
75
SMD 75P 90D(F) M2.(NGFF)KEY B Connector, PITCH=0.5mm, H:4.0mm, Gold Flash, Tape Reel [YANNIS M2S01-2B1R] *These pins are connected to CN7 SIM Interface directly
Chapter 2
32
ECX-APL0 Series User’s Manual
Table 32 SATA1 Serial ATA Port 0 Connector
Pin
Signal Name
1
GND
2
TX+ 3 TX-
4
GND
5
RX- 6 RX+
7
GND
SATA-7P 180D CONN. BLUE/double row pin/parallel positioning peg [WIN WIN WATM-07ABN4A2B8UW4]
Table 33 CN26 USB2.0 Port Wafer (Option)
Pin
Signal Name
1
+USBVCC
2
USB_-
3
USB_+
4
GND
SMD 4P MALE 1R P=1.25mm [Pinrex 712-73-04TWE0]
Chapter 2
33
ECX-APL0 Series User’s Manual
Rear Panel Pin Assignments
Figure 5 Rear Panel IO
Table 34 Rear Panel Connector List
Label
Function
CN9
GbE LAN1 RJ-45 Connector
CN10
GbE LAN2 RJ-45 Connector
CN4
USB3.0 Port 1,2 Type-A Connector
CN5
USB3.0 Port 3,4 Type-A Connector
CN13
DP Connector
CN15
HDMI Connector
Table 35 CN9 GbE LAN1 RJ-45 Connector
Pin
Signal Name
Pin
Signal Name
1
TX1+
5
TX3-
2
TX1-
6
TX2-
3
TX2+
7
TX4+
4
TX3+
8
TX4-
RJ45+TFM+LED 10/100/1000 14P DIP 90° [UDE RT7-174AAM1A(XA)]
Table 36 CN10 GbE LAN2 RJ-45 Connector
Pin
Signal Name
Pin
Signal Name
1
TX1+
5
TX3-
2
TX1-
6
TX2-
3
TX2+
7
TX4+
4
TX3+
8
TX4-
RJ45+TFM+LED 10/100/1000 14P DIP 90° [UDE RT7-174AAM1A(XA)]
Chapter 2
34
ECX-APL0 Series User’s Manual
Table 37 CN4 USB3.0 Port-0,1 Type-A Connector
Pin
Signal Name
Pin
Signal Name
1
+USBA_VCC
10
+USBB_VCC
2
USBA_D-
11
USBB_D-
3
USBA_D-
12
USBB_D-
4
GND
13
GND
5
USBA_RX-
14
USBB_RX-
6
USBA_RX+
15
USBB_RX+
7
GND
16
GND
8
USBA_TX-
17
USBB_TX-
9
USBA_TX+
18
USBB_TX+
USB3.0x2, Double USB3.0 T ype A Receptacle, 30u” Pd/Ni Plated + Gold
flash, Blue, Tray [FOXCONN UEA1112C-8HS6-4F] *The power source of +USBVCC can be selected by JP9.
Table 38 CN5 USB3.0 Port-2,3 Type-A Connector
Pin
Signal Name
Pin
Signal Name
1
+USBA_VCC
10
+USBB_VCC
2
USBA_D-
11
USBB_D-
3
USBA_D-
12
USBB_D-
4
GND
13
GND
5
USBA_RX-
14
USBB_RX-
6
USBA_RX+
15
USBB_RX+
7
GND
16
GND
8
USBA_TX-
17
USBB_TX-
9
USBA_TX+
18
USBB_TX+
USB3.0x2, Double USB3.0 T ype A Receptacle, 30u” Pd/Ni Plated + Gold
flash, Blue, Tray [FOXCONN UEA1112C-8HS6-4F] *The power source of +USBVCC can be selected by JP9.
Table 39 CN13 DisplayPort Connector
Pin
Signal Name
Pin
Signal Name
1
TX0+
11
GND
2
GND
12
TX3-
3
TX0-
13
GND
4
TX1+
14
GND
5
GND
15
AUX+
6
TX1-
16
GND
7
TX2+
17
AUX-
8
GND
18
HPD
9
TX2-
19
GND
10
TX3+
20
PWR
DisplayPort Receptacle (Female) SMT type, 20-pin, Gold 30”, 90°, Tray [WIN WIN WDPE-20F3L1BU3]
Chapter 2
35
ECX-APL0 Series User’s Manual
Table 40 CN15 HDMI Connector
Pin
Signal
1
TMDS Data2+
2
Ground
3
TMDS Data2–
4
TMDS Data1+
5
Ground
6
TMDS Data1–
7
TMDS Data0+
8
Ground
9
TMDS Data0–
10
TMDS Clock+
11
Ground
12
TMDS Clock–
13
Reserved
14
Reserved
15
DDC_CLK
16
DDC_DATA
17
Ground
18
+5 V Power
19
Hot Plug Detect
HDMI Receptacle with Flange, selective gold / matte tin 15u”, Black, HDMI Certification [ ZI HUI 282-1921Q30243]
Chapter 3
36
ECX-APL0 Series User’s Manual
Chapter 3
System Installation
Memory Module Installation
Carefully follow the steps below in order to install the DIMMs:
1. To avoid generating static electricity and damaging the SO-DIMM, ground yourself by touching a grounded metal surface or use a ground strap before you touch the SO-DIMM.
2. Do not touch the connectors of the SO-DIMM. Dirt or other residue may cause a malfunction.
3. Hold the SO-DIMM with its notch aligned with the memory socket of the board and insert it at a 30-degree angle into the socket.
Figure 6 Align the SO-DIMM Memory Module with the onboard socket
Chapter 3
37
ECX-APL0 Series User’s Manual
4. Fully insert the module into the socket until a “click” is heard.
5. Press down on the SO-DIMM so that the tabs of the socket lock on both sides of the module
Figure 7 Press down on the SO-DIMM Memory Module to lock it in place
Removing a DIMM:
To remove the SO-DIMM, use your fingers or a small screwdriver to carefully push away the tabs that secure either side of the SO-DIMM. Lift it out of the socket. Make sure you store the SO-DIMM in an anti-static bag. The socket must be populated with memory modules of the same size and m anufacturer.
Chapter 4
38
ECX-APL0 Series User’s Manual
Chapter 4
AMI BIOS Setup
Overview
This chapter provides a description of the AMI BIOS. The BIOS setup menus and available sel ectio ns may vary from t hose o f your prod uct. F or spec i fic i nformat ion o n the BIOS for your product, please contact Quanmax.
NOTE: The BIOS menus and selections for your product may vary from those in this chapter. For the BIOS manual specific to your product, pl ease contact Quanmax
AMI's ROM BIOS provides a built-in Setup progr am, which allows the user to modify the basic system configuration and hardware parameters. The modified data will be stored in a battery-bac ked CM OS, s o th at da t a w il l be r et aine d even w hen the power is turned of f. In general, the information saved in the CMOS RAM will not need to be changed unless there is a configuration change in the system, such as a hard drive replacement or when a device is added.
It is possible for the CMOS battery to fail, which will cause data loss in the CMOS only. If this happens you will need to reconfigure your BIOS settings.
Chapter 4
39
ECX-APL0 Series User’s Manual
Main Menu
The BIOS Setup is accessed by pressing the DEL key after the Power-On Self-Test (POST) memory t est b eg ins an d be fore the o perat ing s ys tem boot beg ins . Onc e yo u enter the BIOS Setup Utility, the Main Menu will appear on the screen. The Main Menu provides System Ov ervi ew informa tion and allow s y ou to s et the Sy st em Time and Date. Use the “<” and “>” cursor keys to navigate between menu screens.
Table 41 BIOS Main Menu
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Product Information
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Product Name ECX-APL0
BIOS Version
R0.07 (x64)
BIOS Build Date 04/10/2017
TEX FW Version
3.0.13.1144
CPU Information
Intel® Pentium® CPU N4200 @1.10GHz
Microcode Revision
28
Process or Cores 4
Memory Information
Total Size 8192 MB (DDR3L)
Frequency
1600 MHz
System date
[Wed 05/17/2017]
System time [10:22:49]
Access Level Administrator
Version 2.18.1263. Copyright (C) 2017, American Megatrends, Inc.
Chapter 4
40
ECX-APL0 Series User’s Manual
Advanced Menu
Table 42 Advanced Menu
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Onboard LA N1 Controller
[Enabled]
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Onboard LAN2 Controller [Enabled]
Audio Controller
[Enabled]
M.2 Device Type
[mSATA]
> Display Conf i guration
> Super IO Configuration
> CPU Chipset Configuration
> SATA Configuration
> USB Configuration
> DIO Configurati on
> Network Stack
> H/W Monitor
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Onboard LAN 1 Controller
Options: Disabled, Enabled
Onboard LAN 2 Controller
Options: Disabled, Enabled
Audio Controller
Options: Disabled, Enabled
M.2 Device Type
Options: mSATA, mPCI-E
Chapter 4
41
ECX-APL0 Series User’s Manual
Table 43 Advanced Menu – Displa y Config ur at ion
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Dis pl ay Configurat i on
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Primary Dis pl ay
UMA Frame Buffer Size
[IGD ]
[256MB]
DVMT Pre-Allocated
[64M]
DVMT Total Gfx Mem
[256M]
> AMI Graphic Output Protocol Policy
Active LV DS
[Disabled]
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Primary Display
Options: IGD, PCIe
UMA Frame Buffer Size
Options: 128MB, 256M B, 512M B
DVMT Pre-Allocated
Options: 64M, 96M, 128M, 160M, 192M, 224M, 256M, 288M, 320M, 352M, 384M, 416M, 448M, 480M, 512M
DVMT Total Gfx Mem
Options: 128M, 256M, MA X
Active LVDS
Options: Disabled, Enabled
Chapter 4
42
ECX-APL0 Series User’s Manual
Table 44 Advanced Menu – Super IO Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Super IO Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit
ESC: Exit
>S eri al Port 1 Configurati on
>S erial Port 2 Configurat i on
>S eri al Port 3 Configuration
>Serial Port 4 Configuration >Serial Port 5 Configuration >Serial Port 6 Configuration
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Table 45 Advanced Menu – Super IO Configuration – Serial Port 1 Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Seri al Port 1 Configurati on

: Select Screen
↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Seri al Port
[Enabled]
Device Settings
IO=3F8h ; IRQ=4;
Change Sett i ngs
[Auto]
Seri al Port 1 Type
[RS232]
Version 2.18.1263. Copyright (C) 2017, Ameri can Megatrends, Inc.
Serial Port
Options: Disabled, Enabled
Change Settings
Options: Auto, IO=3F8h; IRQ=4; IO=3F8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2F8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=3E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12;
Serial Port 1 Type
Options: RS232, RS422, RS485
RS485 Duplex Mode
Options: Half Duplex, Full Duplex
RS485 Auto Flow Control
Options: Disabled, Enabled
Chapter 4
43
ECX-APL0 Series User’s Manual
Table 46 Advanced Menu – Super IO Configuration – Serial Port 2 Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Serial Port 2 Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Seri al Port
[Enabled]
Device Settings IO=2F8h ; IRQ=10;
Change Sett i ngs [Auto] Seri al Port 2 Type [RS232]
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Serial Port
Options: Disabled, Enabled
Change Settings
Options: Auto, IO=2F8h; IRQ=10; IO=3F8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2F8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=3E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12
Serial Port 2 Type
Options: RS232, RS422, RS485
RS485 Duplex Mode
Options: Half Duplex, Full Duplex
RS485 Auto Flow Control
Options: Disabled, Enabled
Chapter 4
44
ECX-APL0 Series User’s Manual
Table 47 Advanced Menu – Super IO Configuration – Serial Port 3 Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Serial Port 3 Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Seri al Port
[Enabled]
Device Settings IO=3E8h ; IRQ=7;
Change Sett i ngs [Auto]
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Serial Port
Options: Disabled, Enabled
Change Settings
Options: Auto, IO=3E8h; IRQ=7; IO=3E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2F0h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E0h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12;
Chapter 4
45
ECX-APL0 Series User’s Manual
Table 48 Advanced Menu – Super IO Configuration – Serial Port 4 Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Serial Port 4 Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Seri al Port
[Enabled]
Device Settings IO=2E8h ; IRQ=7;
Change Sett i ngs [Auto]
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Serial Port
Options: Disabled, Enabled
Change Settings
Options: Auto, IO=2E8h; IRQ=7; IO=3E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2F0h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E0h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12;
Chapter 4
46
ECX-APL0 Series User’s Manual
Table 49 Advanced Menu – Super IO Configuration – Serial Port 5 Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Serial Port 5 Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Seri al Port
[Enabled]
Device Settings IO=2F0h ; IRQ=7;
Change Sett i ngs [Auto]
Version 2.18.1263. Copyright (C) 2017, American Megatrends, Inc.
Serial Port
Options: Disabled, Enabled
Change Settings
Options: Auto, IO=2F0h; IRQ=7; IO=3E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2F0h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E0h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12;
Chapter 4
47
ECX-APL0 Series User’s Manual
Table 50 Advanced Menu – Super IO Configuration – Serial Port 6 Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Serial Port 6 Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Seri al Port
[Enabled]
Device Settings IO=2E0h ; IRQ=7;
Change Sett i ngs [Auto]
Version 2.18.1263. Copyright (C) 2017, American Megatrends, Inc.
Serial Port
Options: Disabled, Enabled
Change Settings
Options: Auto, IO=2E0h; IRQ=7; IO=3E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2F0h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2E0h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12;
Chapter 4
48
ECX-APL0 Series User’s Manual
Table 51 Advanced Menu – CPU Chipset Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
CPU Chipset Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit
ESC: Exit
EIST
[Enabled]
Turbo Mode [Enabled]
Active Processor Cores
[Disabled]
Intel Virtualization Technology [Enabled] VT-d [Disabled]
Version 2.18.1263. Copyright (C) 2017, Am e r ican Megatrends, Inc.
EIST
Options: Disabled, Enabled
Turbo Mode
Options: Disabled, Enabled
Active Processor Cores
Options: Disabled, Enabled
Intel® Virtualization Technology
Options: Disabled, Enabled
VT-d
Options: Disabled, Enabled
Chapter 4
49
ECX-APL0 Series User’s Manual
Table 52 Advanced Menu – SATA Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
SATA Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
SATA Controller
[Enabled]
SATA Mode Selection [AHCI]
Serial ATA Port 1 [Not Installed]
P o r t 1 [Enabled]
mSATA Port 1
[Not Installed]
Port 1 [Enabled]
Version 2.18.1263. Copyright (C) 2017, American Megatrends, Inc.
SATA Controller
Options: Enabled, Disabled
SATA Mode Selection
Options: AHCI
Serial ATA Port 1
Port 1
Options: Disabled, Enabled
mSATA Port 1
Port 1
Options: Disabled, Enabled
Chapter 4
50
ECX-APL0 Series User’s Manual
Table 53 Advanced Menu – USB Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
USB Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit
ESC: Exit
USB Devices:
1 Keyboard
Legacy USB Support [Enabled]
XHCI hand-off
[Enabled]
USB Mass Storage Driver Support [Enabled]
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Legacy USB Support
Options: Enabled, Disabled
XHCI hand-off
Options: Enabled, Disabled
USB Mass Storage Driver Support
Options: Disabled, Enabled
Chapter 4
51
ECX-APL0 Series User’s Manual
Table 54 Advanced Menu – DIO Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
DIO Configuration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
User Configuration
[Disabled]
DIO_0 Value
1
DIO_1 Value 1
DIO_2 Value
1
DIO_3 Value 1
DIO_4 Value
1
DIO_5 Value 1
DIO_6 Value
1
DIO_7 Value 1
Version 2.18.1263. Copyright (C) 2017, Ameri can Megatrends, Inc.
User Configuration
Options: Enabled, Disabled
DIO_0
Options: Output Low, Output High , Input
DIO_1
Options: Output Low, Output High , Input
DIO_2
Options: Output Low, Output High , Input
DIO_3
Options: Output Low, Output High, Input
DIO_4
Options: Output Low, Output High , Input
DIO_5
Options: Output Low, Output High , Input
DIO_6
Options: Output Low, Output High , Input
DIO_7
Options: Output Low, Output High , Input
Chapter 4
52
ECX-APL0 Series User’s Manual
Table 55 Advanced Menu – Network Stack
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Network Stack [Disabled] : Select Screen
↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit
ESC: Exit
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Network Stack
Options: Disabled, Enabled
Ipv4 PXE Support
Options: Disabled, Enabled
Ipv6 PXE Support
Options: Disabled, Enabled
Chapter 4
53
ECX-APL0 Series User’s Manual
Table 56 Advanced Menu – H/W Monitor
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
PC Health Status
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
> Smart FAN Configuration
CPU Temperature
: +39 C
System Temperature
: +39 C
CPU Fan Speed
: N/A
+VCORE
: +0.733 V
+12V
: +18.924 V
+5V
: +5.066 V
+VMEM
: +1.349 V
+3.3V
: +3.312 V
+VRTC
: +3.120 V
Version 2.18.1263. Copyright (C) 2017, American Megatrends, Inc.
Smart FAN Configuration
CPU FAN Setting [Manual]
Options: Manual, Smart
Chapter 4
54
ECX-APL0 Series User’s Manual
Power Menu
Table 57 Power Configuration
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Power Configurat i on
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
ACPI Sleep State [S3 (Suspend to RAM)]
Restore A C Power Loss
[Power Off]
Power Saving Mode [EUP Enabled]
Resume Event Control
R esume By LAN 1 Device
[Disabled]
R esume By LAN 2 Device [Disabled]
R esume By MPCIE1 Device
[Disabled]
Resum e By M2 Device [Disabled]
Resume By Ring Device
[Disabled]
Res ume By RTC Alarm [Disabled]
>WatchDog Timer Configuration
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Restore AC Power Loss
Options: Power Off, Power On, Last State
Power Saving Mode
Options: Disabled, EUP Enabled
Resume By LAN 1 Device
Options: Disabled, Enabled
Resume By LAN 2 Device
Options: Disabled, Enabled
Resume By MPCIE1 Device
Options: Disabled, Enabled
Resume By M2 Device
Options: Disabled, Enabled
Resume By Ring Device
Options: Disabled, Enabled
Resume By RTC Alarm
Options: Disabled, Enabled
WatchDog Timer Configuration
WDT Function [Disabled]
Options: Disabled, Enabled
Chapter 4
55
ECX-APL0 Series User’s Manual
Boot Menu
Table 58 Boot Menu
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Boot Conf i guration
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
Ful l Screen LOGO Display [Disabled]
Setup Prompt Timeout
1
Bootup NumLock Stat e [On]
CSM Support [Enabled]
Boot Option F ilt er
[UEFI only]
Boot Option Priorities
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Full Screen LOGO Display
Options: Disabled, Enabled
Bootup NumLock State
Options: On, Off
CSM Support
Options: Enabled, Disabled
Boot Option Filter
Options: UEFI and Legacy, Legacy only, UEFI only
Chapter 4
56
ECX-APL0 Series User’s Manual
Security Menu
Table 59 Security Menu
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Password Description
If ONLY the Administrator’s p
assword is set, then this only limits access to
Setup and is only asked for when entering Setup If ONLY the User’
s password is set, then this is a power on password and
must be entered to boot or enter Setup. In Setup the User will have
Administrator rights
The pass word length must be in the following range:
Minimum Length 3 Maximum length 20
Setup Administrator Password
User Password
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit ESC: Exit
> Secure Boot
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Chapter 4
57
ECX-APL0 Series User’s Manual
Save & Exit Menu
Table 60 Sa ve & Ex it Menu
BIOS SETUP UTILITY
Main Advanced Power Boot Security Save & Exit
Save Changes and Reset
Discard Changes and Reset
Save Options Save Changes Discard Changes
Restore Defaults
: Select Screen ↑↓: Select Item Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save & Exit
ESC: Exit
Version 2.18.1263. Copyright (C) 2017, Americ an Megatrends, Inc.
Save Changes and Exit
Exit system setup after saving the changes. Once you are finished making your selections, choose this option from the Exit menu to ensure the values you selected are saved to the CMOS RAM. The CMOS RAM is sustained by an onboard backup battery and stays on even when the PC is turned off. W hen you select this option, a confirmation window appears. Select [Yes] to save changes and exit.
Discard Changes and Exit
Exit system setup without saving any changes. Select this option only if you do not want to save the changes that you made to the Setup program. If you made changes to fields other than system date, system time, and password, the BIOS asks for a confirmation before ex iti ng .
Discard Changes
Discards changes done so far to any of the setup values. This option allows you to discard the selections you made and restore the previously saved values. After selecting this optio n, a con firmation a ppears. Select [Y es] to discar d any changes and load the previously saved values.
Load Optimal Defaults
Load Optimal Default values for all the setup values. This option allows you to load optimal default values for each of the parameters on the Setup menus, which will provide the best performance settings for your system. The F9 key can be used for this operation.
Chapter 4
58
ECX-APL0 Series User’s Manual
Load Failsafe Defaults
Load Optimal Default values for all the setup values. This option allows you to load failsafe default values for each of the parameters on the Setup menus, which will provide the most stable performance settings. The F8 key can be used for this operation.
Save Changes and Exit
Exit system setup after saving the changes. Once you are finished making your selections, choose this option from the Exit menu to ensure the values you selected are saved to the CMOS RAM. The CMOS RAM is sustained by an onboard backup battery and stays on even when the PC is turned off. When you select this option, a confirmation window appears. Select [Yes] to save changes and exit.
Discard Changes and Exit
Exit system setup without saving any changes. Select this option only if you do not want to save the changes that you made to the Setup program. If you made changes to fields other than system date, system time, and password, the BIOS asks for a confirmation before ex iti ng .
Discard Changes
Discards changes done so far to any of the setup values. This option allows you to discard the selections you made and restore the previously saved values. After selecting this optio n, a con firmation a ppears. Select [Y es] to discar d any changes and load the previously saved values.
Load Optimal Defaults
Load Optimal Default values for all the setup values. This option allows you to load optimal default values for each of the parameters on the Setup menus, which will provide the best performance settings for your system. The F9 key can be used for this operation.
Load Failsafe Defaults
Load Optimal Default values for all the setup values. This option allows you to load failsafe default values for each of the parameters on the Setup menus, which will provide the most stable performance settings. The F8 key can be used for this operation.
Chapter 5
59
ECX-APL0 Series User’s Manual
Chapter 5
Driver Installat ion
If your ECX-APL0 Series does not come with an operating system pre-installed, you will need to install an operating system and the necessary drivers to operate it. After you have finished assembling your system and connected the appropriate power source, power it up us ing the power supply and install th e des i r e d o per ati ng s y s tem . You can download the drivers for the ECX-APL0 Series from the Quanmax website at www.quanmax.com and install as instructed there. For other operating systems, please contact Quanmax.
NOTE
When the system reboots without connecting the CRT, there might be no image on screen when you insert the CRT/VGA cable. Please pressing <Ctrl>+<Alt>+<F1> simultaneously to show the imag e on s cr een.
Appendix A
60
ECX-APL0 Series User’s Manual
Appendix A
DIO (Digital I/O) Sample Code
//***************************************************************** //ECX-APL0 DOS DIO sample program //Please compile with Microsoft(R) Visual C++ Version 1.5 & MASM611 //to utilized the program // //Access Method // 32 bits memory address access // // Memory address|| TX state|| RX state|| TX Disable|| RX Disable //DIO_1: 0xD0C50500 || bit0 || bit1 || bit8 || bit9 //DIO_2: 0xD0C50508 || bit0 || bit1 || bit8 || bit9 //DIO_3: 0xD0C50510 || bit0 || bit1 || bit8 || bit9 //DIO_4: 0xD0C50518 || bit0 || bit1 || bit8 || bit9 //DIO_5: 0xD0C50520 || bit0 || bit1 || bit8 || bit9 //DIO_6: 0xD0C50528 || bit0 || bit1 || bit8 || bit9 //DIO_7: 0xD0C50530 || bit0 || bit1 || bit8 || bit9 //DIO_8: 0xD0C50538 || bit0 || bit1 || bit8 || bit9 //0:Low 1:High //***************************************************************** #include <stdio.h> #include <stdlib.h> #include <string.h>
typedef unsigned long DWORD;
DWORD MEM_BASE_ADDRESS = 0xD0C50000; DWORD addr_off set[8] = {0x500, //DIO_1 0x508, //DIO_2 0x510, //DIO_3 0x518, //DIO_4
Appendix A
61
ECX-APL0 Series User’s Manual
0x520, //DIO_5 0x528, //DIO_6 0x530, //DIO_7 0x538}; //DIO_8 DWORD addr=0;
int main() { DWORD RetVal = 0; DWORD gGpioLvValue = 0; int i=0;
//Read the DIO pin 1~8 vaulue into_PT_mode();//into the protect mode //Setting the DIO pin as RX printf("Setting DIO_1~8 pin as RX mode\n"); for (i=0; i<8; i++) { RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]); RetVal = RetVal & 0xFFFFFCFF; gGpioLvValue = RetVal | 0x100; //Set TX Disable(Bit8) write_mem_dword(MEM_BASE_ADDRESS + addr_offset[i], gGpioLvValue); }
printf("Read DIO_1~ 8 value\n"); for (i=0; i<8; i++) { RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]); gGpioLvValue = RetVal & 0x2; printf("DIO_%d = %d\n",i+1 ,gGpioLvValue > 0); } into_RL_mode(); system("pause");
//Setting the DIO pin as TX into_PT_mode(); printf("Setting DIO_1~8 pin as TX mode\n"); for (i=0; i<8; i++)
Appendix A
62
ECX-APL0 Series User’s Manual
{ RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]); RetVal = RetVal & 0xFFFFFCFF; gGpioLvValue = RetVal | 0x200; //Set RX Disable(Bit9) write_mem_dword(MEM_BASE_ADDRESS + addr_offset[i], gGpioLvValue); }
//Write the DIO pin 1~8 to High printf("Write DIO_1~8 value to High\n"); for (i=0; i<8; i++) { RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]); gGpioLvValue = RetVal | 0x1; write_mem_dword(MEM_BASE_ADDRESS + addr_offset[i], gGpioLvValue); } printf("Read DIO_1~ 8 value\n"); for (i=0; i<8; i++) { RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]); gGpioLvValue = RetVal & 0x1; printf("DIO_%d = %d\n",i+1 ,gGpioLvValue > 0); } into_RL_mode(); system("pause");
//Write the DIO pin 1~8 to Low into_PT_mode(); printf("Write DIO_1~8 value to Low\n"); for (i=0; i<8; i++) { RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]); gGpioLvValue = RetVal & 0xFFFFFFFE; write_mem_dword(MEM_BASE_ADDRESS + addr_offset[i], gGpioLvValue); } printf("Read DIO_1~ 8 value\n"); for (i=0; i<8; i++) { RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]);
Appendix A
63
ECX-APL0 Series User’s Manual
gGpioLvValue = RetVal & 0x1; printf("DIO_%d = %d\n",i+1 ,gGpioLvValue > 0); } into_RL_mode();
return 0; }
Appendix B
64
ECX-APL0 Series User’s Manual
Appendix B
WatchDog Timer Sample Code
//********************************************************************** //********************************************************************** //** ** //** (C) Copyright 2013-2017, Quanmax, Inc. ** //** ** //** All Rights Reserved. ** //** ** //** 5F, No.455, Ti-Ding Blvd., Sec. 2, ** //** Neihu District, Taipei, Taiwan 114 ** //** ** //** Phone: +886-2-2799-2789 ** //** ** //********************************************************************** //********************************************************************** //========================================================== ==========// //ECX-APL0 DOS Watchdog sample program // //Please compile with Turbo C 3.0 to utilized the program // //========================================================== ==========//
#include<stdio.h> #define SIO_CONFIG_INDEX 0x2e
#define SIO_CONFIG_DATA SIO_CONFIG_INDEX+1
void UnlockSIO() { outp(SIO_CONFIG_INDEX,0x87); outp(SIO_CONFIG_INDEX,0x87); }
void LockSIO()
Appendix B
65
ECX-APL0 Series User’s Manual
{ outp(SIO_CONFIG_INDEX,0xAA); }
void SetLDN(int LDN) { outp(SIO_CONFIG_INDEX, 0x07); outp(SIO_CONFIG_DATA, LDN); }
void main() { int value = 0;
UnlockSIO(); SetLDN(0x08);
//Enable WDT outp(SIO_CONFIG_INDEX,0x30); outp(SIO_CONFIG_DATA,0x01);
//Set Timer unit(0xF0 bit3(0: 1sec, 1: 60 sec) of watchdog timer by setting this bit) outp(SIO_CONFIG_INDEX,0xF0); value=inp(SIO_CONFIG_DATA); outp(SIO_CONFIG_DATA,(value & 0xF7));//set unit sec.
//Set Timer Value(0xF1 Time of watchdog timer) outp(SIO_CONFIG_INDEX,0xF1); outp(SIO_CONFIG_DATA,0x14);//set to 20 sec (0x14)
LockSIO(); }
Loading...