CEM842/843 Intel® Celeron® J1900/N2807 Intel® AtomTM E3845 COM ExpressTM Type 6 Compact Module User’s Manual Disclaimers This manual has been carefully checked and believed to contain accurate information. Axiomtek Co., Ltd. assumes no responsibility for any infringements of patents or any third party’s rights, and any liability arising from such use. Axiomtek does not warrant or assume any legal liability or responsibility for the accuracy, completeness or usefulness of any information in this document. Axiomtek does not make any commitment to update the information in this manual. Axiomtek reserves the right to change or revise this document and/or product at any time without notice. No part of this document may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Axiomtek Co., Ltd. CAUTION If you replace wrong batteries, it causes the danger of explosion. It is recommended by the manufacturer that you follow the manufacturer’s instructions to only replace the same or equivalent type of battery, and dispose of used ones. Copyright 2015 Axiomtek Co., Ltd. All Rights Reserved May 2015, Version A1 Printed in Taiwan ii ESD Precautions Computer boards have integrated circuits sensitive to static electricity. To prevent chipsets from electrostatic discharge damage, please take care of the following jobs with precautions: Do not remove modules or integrated circuits from their anti-static packaging until you are ready to install them. Before holding the module or integrated circuit, touch an unpainted portion of the system unit chassis for a few seconds. It discharges static electricity from your body. Wear a wrist-grounding strap, available from most electronic component stores, when handling modules and components. Trademarks Acknowledgments Axiomtek is a trademark of Axiomtek Co., Ltd. ® Windows is a trademark of Microsoft Corporation. AMI is a trademark of American Megatrend Inc. IBM, PC/AT, PS/2, VGA are trademarks of International Business Machines Corporation. ® ® Intel , Celeron are trademarks of Intel Corporation. Other brand names and trademarks are the properties and registered brands of their respective owners. iii Table of Contents Disclaimers ..................................................................................................... ii ESD Precautions ........................................................................................... iii Chapter 1 Introduction ............................................. 1 1.1 Features ............................................................................................... 1 1.2 Specifications ...................................................................................... 2 1.3 Utilities Supported .............................................................................. 3 Chapter 2 Module and Pin Assignments .................. 5 2.1 Module Dimensions and Fixing Holes ............................................... 5 2.2 Module Layout ..................................................................................... 7 2.3 Installing Heatsink ............................................................................... 9 2.4 Switch Settings ................................................................................. 10 2.4.1 2.5 Auto Power On and Restore BIOS Optimal Defaults (SW1)..................... 10 Connectors ........................................................................................ 11 2.5.1 Chapter 3 COM Express TM Connectors (SS1 and SS2) ............................................. 11 Hardware Description ........................... 15 3.1 Microprocessor ................................................................................. 15 3.2 BIOS ................................................................................................... 15 3.3 System Memory ................................................................................. 15 3.4 I/O Port Address Map ........................................................................ 16 3.5 Interrupt Controller (IRQ) Map ......................................................... 17 3.6 Memory Map ...................................................................................... 20 Chapter 4 AMI BIOS Setup Utility .......................... 21 4.1 Starting ............................................................................................... 21 4.2 Navigation Keys ................................................................................ 21 4.3 Main Menu.......................................................................................... 23 4.4 Advanced Menu ................................................................................. 24 4.5 Chipset Menu ..................................................................................... 37 4.6 Security Menu .................................................................................... 42 4.7 Boot Menu.......................................................................................... 43 4.8 Save & Exit Menu .............................................................................. 44 iv Appendix A BIOS Flash Utility ................................ 47 Appendix B Watchdog Timer and GPIO .................. 51 B.1 About Watchdog Timer ..................................................................... 51 B.2 About GPIO ........................................................................................ 51 B.2 Sample Program ................................................................................ 51 v This page is intentionally left blank. vi CEM842/843 COM Express TM Type 6 Compact Module Chapter 1 Introduction TM ® ® The CEM842 is a new COM Express Type 6 Compact Module supporting Intel Celeron TM quad/dual core J1900/N2807. Meanwhile, CEM843 is a new COM Express Type 6 Compact ® TM Module supporting Intel Atom quad core E3845. Both of them deliver outstanding system performance and support excellent multiple I/Os like LVDS, one Gigabit Ethernet, HD Audio interface, two SATA-300, one USB 3.0 and eight USB 2.0 ports to make all in one single module as computing engine. For extension purpose, it provides maximum up to 6 lanes of PCI-Express Gen 2 at 5GT/s. 1.1 Features ® ® CEM842: Intel Celeron J1900/N2807 processors ® TM CEM843: Intel Atom E3845 processor Two 204-pin SO-DIMMs supporting up to 8GB memory capacity Support max. up to 6 lanes of PCI-Express 2 SATA-300 1 USB 3.0 and 8 USB 2.0 ports Introduction 1 CEM842/843 COM Express 1.2 TM Type 6 Compact Module Specifications CPU CEM842 ® ® - Intel Celeron quad core J1900 2.0GHz ® ® - Intel Celeron dual core N2807 1.58GHz CEM843 ® TM - Intel Atom quad core E3845 1.91GHz BIOS American Megatrends Inc. BIOS. 64Mbit SPI Flash, DMI, Plug and Play. PXE Ethernet Boot ROM, customized default saving features, LPC-free supported, uses SPI type Flash memory. System Memory Two 204-pin DDR3L 1333/1066MHz SO-DIMM sockets support maximum memory capacity up to 8GB. N2807 supports only one SO-DIMM socket (DIMM2). Note Expansion Interface Six PCI-Express x1 or five PCI-Express x1 (while internal LAN is connected) routed TM through COM Express A_B connector. USB Interface One USB port complies with USB Spec. Rev. 3.0. Eight USB ports comply with USB Spec. Rev. 2.0. USB 2.0 port 4~7 do not support wake up function. Note SATA Interface TM Two SATA 3Gb/s ports supported through COM Express connector. Graphics Integrated in processor HD graphics Gen 7. CRT interface supports up to 1920x1200. 18/24-bit dual channel LVDS interface. One DDI interface support DVI/HDMI/DisplayPort. Ethernet ® CEM842 supports one 1000/100/10 Base-T provided by Intel I210AT with integrated boot ROM. ® CEM843 supports one 1000/100/10 Base-T provided by Intel I210IT with integrated boot ROM. Audio ® Intel High Definition Audio interface. Power Management ACPI (Advanced Configuration and Power Interface). 2 Introduction CEM842/843 COM Express Type 6 Compact Module Form Factor Compact module 95mm x 95mm. 1.3 TM Utilities Supported Chipset driver Graphics driver Ethernet utility and driver Trusted execution engine Sideband fabric device USB 3.0 driver All specifications and images are subject to change without notice. Note Introduction 3 CEM842/843 COM Express TM Type 6 Compact Module This page is intentionally left blank. 4 Introduction CEM842/843 COM Express TM Type 6 Compact Module Chapter 2 Module and Pin Assignments 2.1 Module Dimensions and Fixing Holes Top View Module and Pin Assignments 5 CEM842/843 COM Express TM Type 6 Compact Module Bottom View 6 Module and Pin Assignments CEM842/843 COM Express 2.2 TM Type 6 Compact Module Module Layout Top View Module and Pin Assignments 7 CEM842/843 COM Express TM Type 6 Compact Module Bottom View 8 Module and Pin Assignments CEM842/843 COM Express 2.3 TM Type 6 Compact Module Installing Heatsink For thermal dissipation, a thermal solution enables the CEM842/843’s components to dissipate heat efficiently. All heat generating components are thermally conducted to the heatsink in order to avoid hot spots. Figure below illustrates how to install the thermal solution on CEM842/843. 1. There is a protective plastic covering on the thermal pads. This must be removed before the heatspreader can be mounted. 2. Each thermal solution is designed for a specific CEM module. The thermal pads on the heatspreader are designed to make contact with the necessary components on the CEM module. When mounting the heatspreader you must make sure that the thermal pads on the heatspreader make complete contact (no space between thermal pad and component) with the corresponding components on the CEM module. This is especially critical for CEM modules that have higher CPU speeds (for example 1.46GHz or more) to ensure that the heatspreader acts as a proper thermal interface for cooling solutions. 3. Before installing the heatspreader to the CPU module, please apply thermal grease on the CPU die. This CPU module has four assembly holes for installing heatspreader plate. Use the four screws to secure the heatspreader plate to the CEM842/843. Be careful not to over-tighten the screws. Then, apply thermal grease at the bottom of heatsink and secure the heatsink on the heatspreader by another four screws. Module and Pin Assignments 9 CEM842/843 COM Express 2.4 TM Type 6 Compact Module Switch Settings Properly configure switch settings on the CEM842/843 to meet your application purpose. Below you can find a summary table of all switches and onboard default settings. Once the default switch setting needs to be changed, please do it under power-off condition. Note Switch SW1 2.4.1 Description Setting Auto Power On Default: Disable SW1-1 OFF Restore BIOS Optimal Defaults Default: Normal Operation SW1-2 OFF Auto Power On and Restore BIOS Optimal Defaults (SW1) If dip1 of SW1 (SW1-1) is set to ON position, the system will be automatically power on without pressing soft power button. If this jumper is set to OFF position, it is necessary to manually press soft power button to power on the system. The dip2 of SW1 (SW1-2) is for restoring BIOS default status. Flip SW1-2 to ON position for a few seconds then flip it back to OFF position. Doing this procedure can restore BIOS optimal defaults. 10 Function Setting Disable auto power on (Default) SW1-1 OFF Enable auto power on SW1-1 ON Normal operation (Default) SW1-2 OFF Restore BIOS optimal defaults SW1-2 ON Module and Pin Assignments CEM842/843 COM Express 2.5 TM Type 6 Compact Module Connectors Signals go to the other parts of the system through connectors. Loose or improper connection might cause problems, please make sure all connectors are properly and firmly connected. Here is a summary table which shows connectors on the hardware. Connector Description DIMM1 Channel 1 DDR3L SO-DIMM Socket DIMM2 Channel 0 DDR3L SO-DIMM Socket SS1 COM ExpressTM Connector SS2 COM ExpressTM Connector Note 2.5.1 For single memory channel configuration, install memory module in channel 0 DDR3L SO-DIMM socket (DIMM2). For dual memory channel configuration, install memory modules of the same size, chip width, density and rank in channel 0 (DIMM2) and channel 1 (DIMM1) DDR3L SO-DIMM sockets. COM ExpressTM Connectors (SS1 and SS2) The following table shows the pin assignments of the 220-pin COM Express connectors. Module and Pin Assignments TM 11 CEM842/843 COM Express TM Type 6 Compact Module Pin Signal Pin Signal Pin Signal Pin Signal A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 A31 A32 A33 A34 A35 A36 A37 A38 A39 A40 A41 A42 A43 A44 A45 A46 A47 A48 A49 A50 A51 A52 A53 A54 A55 GND (FIXED) GBE0_MDI3GBE0_MDI3+ GBE0_LINK100# GBE0_LINK1000# GBE0_MDI2GBE0_MDI2+ GBE0_LINK# GBE0_MDI1GBE0_MDI1+ GND (FIXED) GBE0_MDI0GBE0_MDI0+ GBE0_CTREF SUS_S3# SATA0_TX+ SATA0_TXSUS_S4# SATA0_RX+ SATA0_RXGND (FIXED) N.C. N.C. SUS_S5# N.C. N.C. BATLOW# (S)ATA_ACT# AC/HDA_SYNC AC/HDA_RST# GND (FIXED) AC/HDA_BITCLK AC/HDA_SDOUT BIOS_DISABLE# N.C. USB6USB6+ USB_6_7_OC# USB4USB4+ GND (FIXED) USB2USB2+ USB_2_3_OC# USB0USB0+ VCC_RTC EXCD0_PERST# EXCD0_CPPE# LPC_SERIRQ GND (FIXED) PCIE_TX5+ (optional) PCIE_TX5- (optional) GPI0 PCIE_TX4+ B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15 B16 B17 B18 B19 B20 B21 B22 B23 B24 B25 B26 B27 B28 B29 B30 B31 B32 B33 B34 B35 B36 B37 B38 B39 B40 B41 B42 B43 B44 B45 B46 B47 B48 B49 B50 B51 B52 B53 B54 B55 GND (FIXED) GBE0_ACT# LPC_FRAME# LPC_AD0 LPC_AD1 LPC_AD2 LPC_AD3 N.C. N.C. LPC_CLK GND (FIXED) PWRBTN# SMB_CK SMB_DAT SMB_ALERT# SATA1_TX+ SATA1_TXSUS_STAT# SATA1_RX+ SATA1_RXGND (FIXED) N.C. N.C. PWR_OK N.C. N.C. WDT N.C. AC/HDA_SDIN1 AC/HDA_SDIN0 GND (FIXED) SPKR N.C. N.C. THRM# USB7USB7+ USB_4_5_OC# USB5USB5+ GND (FIXED) USB3USB3+ USB_0_1_OC# USB1USB1+ EXCD1_PERST# EXCD1_CPPE# SYS_RESET# CB_RESET# GND (FIXED) PCIE_RX5+ (optional) PCIE_RX5- (optional) GPO1 PCIE_RX4+ C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 C32 C33 C34 C35 C36 C37 C38 C39 C40 C41 C42 C43 C44 C45 C46 C47 C48 C49 C50 C51 C52 C53 C54 C55 GND (FIXED) GND USB_SSRX0USB_SSRX0+ GND N.C. N.C. GND N.C. N.C. GND (FIXED) N.C. N.C. GND N.C. N.C. N.C. N.C. N.C. N.C. GND (FIXED) N.C. N.C. DDI1_HPD N.C. N.C. N.C. N.C. N.C. N.C. GND (FIXED) N.C. N.C. N.C. N.C. N.C. N.C. N.C N.C N.C GND (FIXED) N.C N.C N.C N.C. N.C N.C N.C. N.C. N.C. GND (FIXED) N.C. N.C. TYPE0# N.C. D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 D21 D22 D23 D24 D25 D26 D27 D28 D29 D30 D31 D32 D33 D34 D35 D36 D37 D38 D39 D40 D41 D42 D43 D44 D45 D46 D47 D48 D49 D50 D51 D52 D53 D54 D55 GND (FIXED) GND USB_SSTX0USB_SSTX0+ GND N.C. N.C. GND N.C. N.C. GND (FIXED) N.C. N.C. GND DDI1_CTRLCLK_AUX+ DDI1_CTRLDATA_AUXN.C. N.C. N.C. N.C. GND (FIXED) N.C. N.C. N.C. N.C. DDI1_PAIR0+ DDI1_PAIR0N.C. DDI1_PAIR1+ DDI1_PAIR1GND (FIXED) DDI1_PAIR2+ DDI1_PAIR2DDI1_DDC_AUX_SEL N.C. DDI1_PAIR3+ DDI1_PAIR3N.C. N.C. N.C. GND (FIXED) N.C N.C N.C N.C. N.C N.C N.C. N.C. N.C. GND (FIXED) N.C. N.C. N.C. N.C. 12 Module and Pin Assignments CEM842/843 COM Express TM Type 6 Compact Module Pin Signal Pin Signal Pin Signal Pin Signal A56 A57 A58 A59 A60 A61 A62 A63 A64 A65 A66 A67 A68 A69 A70 A71 A72 A73 A74 A75 A76 A77 A78 A79 A80 A81 A82 A83 A84 A85 A86 A87 A88 A89 A90 A91 A92 A93 A94 A95 A96 A97 A98 A99 A100 A101 A102 A103 A104 A105 A106 A107 A108 A109 A110 PCIE_TX4GND PCIE_TX3+ PCIE_TX3GND (FIXED) PCIE_TX2+ PCIE_TX2GPI1 PCIE_TX1+ PCIE_TX1GND GPI2 PCIE_TX0+ PCIE_TX0GND(FIXED) LVDS_A0+ LVDS_A0LVDS_A1+ LVDS_A1LVDS_A2+ LVDS_A2LVDS_VDD_EN LVDS_A3+ LVDS_A3GND(FIXED) LVDS_A_CK+ LVDS_A_CKLVDS_I2C_CK LVDS_I2C_DAT GPI3 N.C. N.C. PCIE0_CK_REF+ PCIE0_CK_REFGND (FIXED) SPI_POWER SPI_MISO GPO0 SPI_CLK SPI_MOSI TPM_PP TYPE10# N.C. N.C. GND (FIXED) N.C. N.C. LID# VCC_12V VCC_12V VCC_12V VCC_12V VCC_12V VCC_12V GND (FIXED) B56 B57 B58 B59 B60 B61 B62 B63 B64 B65 B66 B67 B68 B69 B70 B71 B72 B73 B74 B75 B76 B77 B78 B79 B80 B81 B82 B83 B84 B85 B86 B87 B88 B89 B90 B91 B92 B93 B94 B95 B96 B97 B98 B99 B100 B101 B102 B103 B104 B105 B106 B107 B108 B109 B110 PCIE_RX4GPO2 PCIE_RX3+ PCIE_RX3GND (FIXED) PCIE_RX2+ PCIE_RX2GPO3 PCIE_RX1+ PCIE_RX1WAKE0# WAKE1# PCIE_RX0+ PCIE_RX0GND(FIXED) LVDS_B0+ LVDS_B0LVDS_B1+ LVDS_B1LVDS_B2+ LVDS_B2LVDS_B3+ LVDS_B3LVDS_BKLT_EN GND(FIXED) LVDS_B_CK+ LVDS_B_CKLVDS_BKLT_CTRL VCC_5V_SBY VCC_5V_SBY VCC_5V_SBY VCC_5V_SBY BIOS_DIS1 VGA_RED GND (FIXED) VGA_GRN VGA_BLU VGA_HSYNC VGA_VSYNC VGA_I2C_CK VGA_I2C_DAT SPI_CS# N.C. N.C. GND (FIXED) FAN_PWMOUT FAN_TACHIN SLEEP# VCC_12V VCC_12V VCC_12V VCC_12V VCC_12V VCC_12V GND (FIXED) C56 C57 C58 C59 C60 C61 C62 C63 C64 C65 C66 C67 C68 C69 C70 C71 C72 C73 C74 C75 C76 C77 C78 C79 C80 C81 C82 C83 C84 C85 C86 C87 C88 C89 C90 C91 C92 C93 C94 C95 C96 C97 C98 C99 C100 C101 C102 C103 C104 C105 C106 C107 C108 C109 C110 N.C. TYPE1# N.C. N.C. GND (FIXED) N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. GND(FIXED) N.C. N.C. N.C. N.C. N.C. GND N.C. N.C. N.C. GND(FIXED) N.C. N.C. N.C. GND N.C. N.C. GND N.C. N.C. GND (FIXED) N.C. N.C. GND N.C. N.C. GND N.C. N.C. N.C. GND (FIXED) N.C. N.C. GND VCC_12V VCC_12V VCC_12V VCC_12V VCC_12V VCC_12V GND (FIXED) D56 D57 D58 D59 D60 D61 D62 D63 D64 D65 D66 D67 D68 D69 D70 D71 D72 D73 D74 D75 D76 D77 D78 D79 D80 D81 D82 D83 D84 D85 D86 D87 D88 D89 D90 D91 D92 D93 D94 D95 D96 D97 D98 D99 D100 D101 D102 D103 D104 D105 D106 D107 D108 D109 D110 N.C. TYPE2# N.C. N.C. GND (FIXED) N.C. N.C. N.C. N.C. N.C. N.C. GND N.C. N.C. GND(FIXED) N.C. N.C. N.C. N.C. N.C. GND N.C. N.C. N.C. GND(FIXED) N.C. N.C. N.C. GND N.C. N.C. GND N.C. N.C. GND (FIXED) N.C. N.C. GND N.C. N.C. GND N.C. N.C. N.C. GND (FIXED) N.C. N.C. GND VCC_12V VCC_12V VCC_12V VCC_12V VCC_12V VCC_12V GND (FIXED) Module and Pin Assignments 13 CEM842/843 COM Express TM Type 6 Compact Module This page is intentionally left blank. 14 Module and Pin Assignments CEM842/843 COM Express TM Type 6 Compact Module Chapter 3 Hardware Description 3.1 Microprocessor ® ® TM The CEM842/843 supports Intel Celeron J1900/N2807 and Atom E3845 processors which ® ® enable your system to operate under Windows 7, Windows 8 and Linux environments. The system performance depends on the microprocessor. You must install the heatsink or cooler carefully and properly to prevent damage. 3.2 BIOS The CEM842/843 uses AMI Plug and Play BIOS with a single 64Mbit SPI Flash. 3.3 System Memory The CEM842/843 supports two 204-pin DDR3L SO-DIMM sockets for maximum memory capacity up to 8GB DDR3L SDRAMs. The memory module comes in sizes of 1GB, 2GB, 4GB or 8GB. Hardware Description 15 CEM842/843 COM Express 3.4 TM Type 6 Compact Module I/O Port Address Map ® ® TM The Intel Celeron J1900/N2807 and Atom E3845 processors communicate via I/O ports. The I/O port addresses are available for assigning to other devices via I/O expansion cards. ® The I/O port addresses (with CEB94006 baseboard under Windows 7) are as follows: 16 Hardware Description CEM842/843 COM Express 3.5 TM Type 6 Compact Module Interrupt Controller (IRQ) Map ® The interrupt controller (IRQ) mapping list (with CEB94006 baseboard under Windows 7) is shown as follows: Hardware Description 17 CEM842/843 COM Express 18 TM Type 6 Compact Module Hardware Description CEM842/843 COM Express Hardware Description TM Type 6 Compact Module 19 CEM842/843 COM Express 3.6 TM Type 6 Compact Module Memory Map ® The memory (with CEB94006 baseboard under Windows 7) mapping list is shown as follows: 20 Hardware Description CEM842/843 COM Express TM Type 6 Compact Module Chapter 4 AMI BIOS Setup Utility The AMI UEFI BIOS provides users with a built-in setup program to modify basic system configuration. All configured parameters are stored in a flash chip to save the setup information whenever the power is turned off. This chapter provides users with detailed description about how to set up basic system configuration through the AMI BIOS setup utility. 4.1 Starting To enter the setup screens, follow the steps below: 1. 2. Turn on the computer and press the <Del> key immediately. After you press the <Del> key, the main BIOS setup menu displays. You can access the other setup screens from the main BIOS setup menu, such as the Advanced and Chipset menus. If your computer cannot boot after making and saving system changes with BIOS setup, you can restore BIOS optimal defaults by setting SW1-2 (see section 2.4.1). Note It is strongly recommended that you should avoid changing the chipset’s defaults. Both AMI and your system manufacturer have carefully set up these defaults that provide the best performance and reliability. 4.2 Navigation Keys The BIOS setup/utility uses a key-based navigation system called hot keys. Most of the BIOS setup utility hot keys can be used at any time during the setup navigation process. These keys include <F1>, <F2>, <Enter>, <ESC>, <Arrow> keys, and so on. Some of the navigation keys differ from one screen to another. Note AMI BIOS Setup Utility 21 CEM842/843 COM Express TM Type 6 Compact Module Hot Keys Description Left/Right The Left and Right <Arrow> keys allow you to select a setup screen. Up/Down The Up and Down <Arrow> keys allow you to select a setup screen or sub-screen. + Plus/Minus The Plus and Minus <Arrow> keys allow you to change the field value of a particular setup item. Tab The <Tab> key allows you to select setup fields. F1 The <F1> key allows you to display the General Help screen. F2 The <F2> key allows you to Load Previous Values. F3 The <F3> key allows you to Load Optimized Defaults. F4 The <F4> key allows you to save any changes you have made and exit Setup. Press the <F4> key to save your changes. Esc The <Esc> key allows you to discard any changes you have made and exit the Setup. Press the <Esc> key to exit the setup without saving your changes. Enter The <Enter> key allows you to display or change the setup option listed for a particular setup item. The <Enter> key can also allow you to display the setup sub- screens. 22 AMI BIOS Setup Utility CEM842/843 COM Express 4.3 TM Type 6 Compact Module Main Menu When you first enter the setup utility, you will enter the Main setup screen. You can always return to the Main setup screen by selecting the Main tab. System Time/Date can be set up as described below. The Main BIOS setup screen is shown below. BIOS Information Display BIOS information. System Date/Time Use this option to change the system time and date. Highlight System Time or System Date using the <Arrow> keys. Enter new values through the keyboard. Press the <Tab> key or the <Arrow> keys to move between fields. The date must be entered in MM/DD/YY format. The time is entered in HH:MM:SS format. Access Level Display the access level of current user. AMI BIOS Setup Utility 23 CEM842/843 COM Express 4.4 TM Type 6 Compact Module Advanced Menu The Advanced menu also allows users to set configuration of the CPU and other system devices. You can select any of the items in the left frame of the screen to go to the sub menus: ► ► ► ► ► ► ► ► ACPI Settings W83627DHG Super IO Configuration Hardware Monitor CPU Configuration IDE Configuration CSM Configuration Trusted Configuration Utility Configuration For items marked with “”, please press <Enter> for more options. W83627DHG Super IO configuration is applied on CEB94006. Note 24 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module Launch PXE OpROM Control the execution of legacy Preboot eXecution Environment (PXE) boot ROM function of the onboard LAN chip during system boots up. AMI BIOS Setup Utility 25 CEM842/843 COM Express TM Type 6 Compact Module ACPI Settings You can use this screen to select options for the ACPI configuration, and change the value of the selected option. A description of the selected item appears on the right side of the screen. ACPI Sleep State Select the ACPI (Advanced Configuration and Power Interface) sleep state. Configuration options are Suspend Disabled and S3 (Suspend to RAM). The S3 (Suspend to RAM) option selects ACPI sleep state the system will enter when suspend button is pressed. 26 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module W83627DHG Super IO Configuration You can use this screen to select options for the Super IO Configuration, and change the value of the selected option. A description of the selected item appears on the right side of the screen. For items marked with “”, please press <Enter> for more options. Serial Port 1~2 Configuration Set parameters of serial port 1~2 . Parallel Port Configuration Set parameters of parallel port. AMI BIOS Setup Utility 27 CEM842/843 COM Express TM Type 6 Compact Module Serial Port 1 Configuration Serial Port Enable or disable serial port 1. The optimal setting for base I/O address is 3F8h and for interrupt request line is IRQ4. Serial Port 2 Configuration Serial Port Enable or disable serial port 2. The optimal setting for base I/O address is 2F8h and for interrupt request line is IRQ3. 28 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module Parallel Port Configuration Parallel Port Enable or disable parallel port (LPT). The optimal setting for base I/O address is 378h and for interrupt request line is IRQ5. Hardware Monitor This screen is for hardware health status monitoring. This screen displays the temperature of system and CPU, fan speed in RPM and system voltages (VCORE, +12V and VGFX). AMI BIOS Setup Utility 29 CEM842/843 COM Express TM Type 6 Compact Module NCT7802Y Smart Fan1 Config Smart Fan configuration provides two modes: FAN SMART IV MODE and FAN MANUAL CONTROL to control fan speed. In FAN SMART IV MODE, the fan speed is controlled by T1(temperature level1)/F1(fan duty 1), T2(temperature level2)/F2(fan duty 2) and T3(temperature level3)/F3(fan duty 3). Please base on the specification of the fan to set these parameters. We suggest that the range of fan duty is from 111 to 255. Setting the value of these parameters must follow T3>T2>T1 and F3>F2>F1. The default is FAN SMART IV MODE, and each default setting of temperature/fan duty is T1:20 F1:111, T2:70 F2:192, T3:80 F3:255. In FAN MANUAL CONTROL mode, the fan speed is controlled by fan PWM duty and the range is from 111 to 255. 30 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module CPU Configuration This screen shows the CPU Configuration, and you can change the value of the selected option. Socket 0 CPU Information Show CPU information. Intel Virtualization Technology Enable or disable Intel Virtualization Technology. When enabled, a VMM can utilize the additional hardware capabilities. It allows a platform to run multiple operating systems and applications independently, hence enabling a computer system to work as several virtual systems. AMI BIOS Setup Utility 31 CEM842/843 COM Express TM Type 6 Compact Module IDE Configuration In the IDE Configuration menu, you can see the currently installed hardware in the SATA ports. During system boot up, the BIOS automatically detects the presence of SATA devices. Serial-ATA (SATA) Enable or disable SATA controller. SATA Mode Select what mode is operated on SATA controller. Operation modes are IDE Mode and AHCI Mode. Default is AHCI Mode. 32 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module CSM Configuration In the CSM (Compatibility Support Module) Configuration menu, you can enable or disable option ROM execution settings. CSM support Enable or disable CSM support. Boot option filter Select UEFI or Legacy ROM priority. Default is UEFI and Legacy mode. AMI BIOS Setup Utility 33 CEM842/843 COM Express TM Type 6 Compact Module Storage Select the execution of UEFI or Legacy storage option ROM. Default is Legacy mode. Video Select the execution of UEFI or Legacy video option ROM. Default is Legacy mode. 34 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module Other PCI devices Select the execution of UEFI or Legacy option ROM of other PCIe network, storage or video devices. Default is Legacy mode. Trusted Computing You can use this screen for TPM (Trusted Platform Module) configuration. It also shows current TPM status information. Security Device Support Enable or disable BIOS support for security device. The default is Disabled. AMI BIOS Setup Utility 35 CEM842/843 COM Express TM Type 6 Compact Module Utility Configuration BIOS Flash Utility BIOS flash utility configuration. For more detailed information, please refer to Appendix A. 36 AMI BIOS Setup Utility CEM842/843 COM Express 4.5 TM Type 6 Compact Module Chipset Menu The Chipset menu allows users to change the advanced chipset settings. You can select any of the items in the left frame of the screen to go to the sub menus: ► North Bridge ► South Bridge For items marked with “”, please press <Enter> for more options. AMI BIOS Setup Utility 37 CEM842/843 COM Express TM Type 6 Compact Module North Bridge This screen shows system memory information and allows users to configure parameters of North Bridge chipset. 38 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module LVDS Panel Type Select LVDS panel resolution; see the selection options in image above. South Bridge This screen allows users to configure parameters of South Bridge chipset. For items marked with “”, please press <Enter> for more options. AMI BIOS Setup Utility 39 CEM842/843 COM Express TM Type 6 Compact Module South Bridge - Audio Controller Audio Controller Control detection of the HD Audio device. - Disabled: Audio device will be unconditionally disabled. - Enabled: Audio device will be unconditionally enabled. 40 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module South Bridge – USB Configuration OS Selection ® ® Use this item to select Windows 8.x or Windows 7 operating system to control XHCI Mode default operating mode. Please use USB 2.0 port 0~3 of COM Express ® Window 7. TM connector raw A_B to install Note AMI BIOS Setup Utility 41 CEM842/843 COM Express TM Type 6 Compact Module XHCI Mode Select operation mode of XHCI controller. USB 2.0(EHCI) Support Control the USB 2.0(EHCI) functions. One EHCI controller must always be enabled. This item is selectable if XHCI Mode is Disabled. TM In order for the USB 2.0 port 4~7 of COM Express connector raw A_B to ® function properly in Windows 7, please install USB 3.0 driver in advance. Note 4.6 Security Menu The Security menu allows users to change the security settings for the system. Administrator Password Set administrator password. User Password Set user password. 42 AMI BIOS Setup Utility CEM842/843 COM Express 4.7 TM Type 6 Compact Module Boot Menu The Boot menu allows users to change boot options of the system. Setup Prompt Timeout Number of seconds to wait for setup activation key. 65535(0xFFFF) means indefinite waiting. Bootup NumLock State Use this item to select the power-on state for the keyboard NumLock. Quiet Boot Select to display either POST output messages or a splash screen during boot up. Boot Option Priorities [Boot Option #1, …] These are settings for boot priority. Specify the boot device priority sequence from the available devices. AMI BIOS Setup Utility 43 CEM842/843 COM Express 4.8 TM Type 6 Compact Module Save & Exit Menu The Save & Exit menu allows users to load your system configuration with optimal or fail-safe default values. Save Changes and Exit When you have completed the system configuration changes, select this option to leave Setup and continue to boot to operating system. Select Save Changes and Exit from the Save & Exit menu and press <Enter>. Select Yes to save changes and exit. Discard Changes and Exit Select this option to quit Setup without making any permanent changes to the system configuration and continue to boot to operating system. Select Discard Changes and Exit from the Save & Exit menu and press <Enter>. Select Yes to discard changes and exit. Save Changes and Reset When you have completed the system configuration changes, select this option to leave Setup and reboot the computer so the new system configuration parameters can take effect. Select Save Changes and Reset from the Save & Exit menu and press <Enter>. Select Yes to save changes and reset. Discard Changes and Reset Select this option to quit Setup without making any permanent changes to the system configuration and reboot the computer. Select Discard Changes and Reset from the Save & Exit menu and press <Enter>. Select Yes to discard changes and reset. Save Changes When you have completed the system configuration changes, select this option to save changes. Select Save Changes from the Save & Exit menu and press <Enter>. Select Yes to save changes. 44 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module Discard Changes Select this option to quit Setup without making any permanent changes to the system configuration. Select Discard Changes from the Save & Exit menu and press <Enter>. Select Yes to discard changes. Restore Defaults It automatically sets all Setup options to a complete set of default settings when you select this option. Select Restore Defaults from the Save & Exit menu and press <Enter>. Save as User Defaults Select this option to save system configuration changes done so far as User Defaults. Select Save as User Defaults from the Save & Exit menu and press <Enter>. Restore User Defaults It automatically sets all Setup options to a complete set of User Defaults when you select this option. Select Restore User Defaults from the Save & Exit menu and press <Enter>. Boot Override Select a drive to immediately boot that device regardless of the current boot order. AMI BIOS Setup Utility 45 CEM842/843 COM Express TM Type 6 Compact Module This page is intentionally left blank. 46 AMI BIOS Setup Utility CEM842/843 COM Express TM Type 6 Compact Module Appendix A BIOS Flash Utility The BIOS Flash utility is a new function in BIOS setup program. In this appendix you may learn how to configure it. Please follow instructions below to update system BIOS from BIOS setup menu. 1. In your USB thumb drive, create a new folder and name it “Axiomtek”, see figure below. 2. Copy BIOS ROM file (e.g. CEM842X.005) to “Axiomtek” folder. CEM842X.005 3. Insert the USB thumb drive to your system. 4. Enter BIOS setup menu and go to Advanced\Utility Configuration. Select BIOS Flash Utility and press <Enter>. BIOS Flash Utility 47 CEM842/843 COM Express TM Type 6 Compact Module 5. BIOS automatically detect all USB drive(s) attached to the system. In this example only one USB drive is attached to the system. That’s why, you can see only one device is displayed in figure below. 6. Select the USB drive containing BIOS ROM file you want to update using the <> or <> key. Then press <Enter> to get into “Axiomtek” folder. 7. Now you can see the BIOS ROM file on the screen, press <Enter> to select. 8. Select Start to flash system BIOS option to begin updating procedure. 48 BIOS Flash Utility CEM842/843 COM Express TM Type 6 Compact Module 9. Please wait while BIOS completes the entire flash update process: erase data, write new data and verify data. 10. When you see the following figure, press <Enter> to finish the update process. After that the system will shut down and restart immediately. BIOS Flash Utility 49 CEM842/843 COM Express TM Type 6 Compact Module This page is intentionally left blank. 50 BIOS Flash Utility CEM842/843 COM Express TM Type 6 Compact Module Appendix B Watchdog Timer and GPIO B.1 About Watchdog Timer Software stability is major issue in most application. Some embedded systems are not watched by human for 24 hours. It is usually too slow to wait for someone to reboot when computer hangs. The systems need to be able to reset automatically when things go wrong. The watchdog timer gives us solution. The watchdog timer is a counter that triggers a system reset when it counts down to zero from a preset value. The software starts counter with an initial value and must reset it periodically. If the counter ever reaches zero which means the software has crashed, the system will reboot. B.2 About GPIO The onboard GPIO (general input and output) has 8 bits (GPI0~3 and GPO0~3). In default, all pins are pulled high with +3.3V level (according to main power). The BIOS default settings are 4 inputs and 4 outputs where all of these pins are set to 1. Use these GPIO signals to control cash drawers and sense warning signals from an Uninterrupted Power System (UPS), or perform store security control. B.2 Sample Program Programming sample code (from CEM842/843 FINTEK F75111R): /*---------------- INCLUDE FILE ---------------------*/ #include <stdio.h> #include <conio.h> #include <bios.h> #define UCHAR unsigned char #define UINT unsigned int #define SMIOBASE 0xF040 /***************** SMIOBASE can get from PCI device Bus-0,Device-31, Function-3 Register 20h~23h, the value is the IO base address. ******************/ #define SM_REG (SMIOBASE+3) #define SM_ADDR (SMIOBASE+4) #define SM_DATA (SMIOBASE+5) #define SM_CMD (SMIOBASE+2) #define SM_STATUS (SMIOBASE+0) #define SM_byteAccess 0x48 #define Device_Addr 0x6E // depend on hardware designed Low:0x9C, High:0x6E UCHAR _read_smbus(UCHAR ,UCHAR); void _write_smbus(UCHAR,UCHAR, UCHAR); #define F75111_CHIPID 0x0003 #define F75111_VENDORID 0x3419 #define WDTOUT10_CntlReg1 0x34 #define WDTOUT10_2S_bit 0x04 //bit 2 #define WDTOUT10_OINV_bit 0x02 //bit 1 #define WDTOUT10_Status_bit 0x01 //bit 0 , write 1 for clear status #define WDTOUT10_CntlReg2 0x35 #define WDTOUT10_Enable_bit 0x80 //bit 7 #define WDTOUT10_PTIME 0x7f //bit 0~6 Watchdog Timer and GPIO 51 CEM842/843 COM Express TM Type 6 Compact Module /* ------------------ MAIN PROGRAM ------------------*/ main() { UCHAR xch,xch2; UINT chipid=0, vendorid=0; //Check the Chip ID information xch=_read_smbus(Device_Addr,0x5a); //Chip ID 1 xch2=_read_smbus(Device_Addr,0x5b); //Chip ID 2 chipid=((UINT)xch2 << 8) + (UINT)xch; xch=_read_smbus(Device_Addr,0x5d); //Vendor ID 1 xch2=_read_smbus(Device_Addr,0x5E); //Vendor ID 2 vendorid=((UINT)xch2 << 8) + (UINT)xch; if (F75111_CHIPID != chipid || F75111_VENDORID != vendorid ) { printf("!!! Not found F75111 chip !!!\n"); exit(-1); } printf("=== Found F75111 chip ===\n"); printf("=== GPIO Output Test ===\n"); //set GPIO3x direction printf("Set F75111 GPIO3x pin is output direction\n"); _write_smbus(Device_Addr,0x40,0x0f); //GPIO3x Output direction //set GPIO3x output level or plus printf("Set F75111 GPIO3x pin is output Level\n"); _write_smbus(Device_Addr,0x43,0); //GPIO3x Level control //write GPIO3x data printf("Write GPIO3x data is 0x0A\n"); printf("GPO0=0, GPO1=1, GPO2=0, GPO3=1\n"); _write_smbus(Device_Addr,0x41,0x0a); printf("Please check the GPO level and hit any key to continue\n"); getch(); //write GPIO3x data printf("Write GPIO3x data is 0x05\n"); printf("GPO0=1, GPO1=0, GPO2=1, GPO3=0\n"); _write_smbus(Device_Addr,0x41,0x05); printf("Please check the GPO level and hit any key to continue\n"); getch(); //set GPIO10,11,12 used printf("=== GPIO Input Test ===\n"); printf("Set F75111 GPIO1x is used GPIO function\n"); xch=_read_smbus(Device_Addr,0x03); xch &= 0xE0 ; _write_smbus(Device_Addr,0x03,xch); //set Pin GPIO10/11/12 used _write_smbus(Device_Addr,0x04,0); //set Pin GPIO1x used printf("Set F75111 GPIO10,11,12,13 is input function\n"); _write_smbus(Device_Addr,0x10,0x00); //set GPIO1x input direction printf("Set F75111 GPIO10,11,12,13 is Level mode\n"); _write_smbus(Device_Addr,0x13,0x00); //set GPIO1x Level Control xch=_read_smbus(Device_Addr,0x12); //read GPIO1x Status printf("Read the GPI0,1,2,3 input data is %02X\n",xch); printf("Please Change the GPIx input and hit any key to continue\n"); getch(); xch=_read_smbus(Device_Addr,0x12); //read GPIO1x Status printf("Read the GPI0,1,2,3 input data is %02X\n",xch); printf("Please Change the GPIx input and hit any key to continue\n"); getch(); xch=_read_smbus(Device_Addr,0x12); //read GPIO1x Status printf("Read the GPI0,1,2,3 input data is %02X\n",xch); /*********************************************/ printf("===== WatchDogTimer Test =====\n"); printf("Set WDTOUT10 pin used\n"); _write_smbus(Device_Addr,0x01,0x20); //Pin1 config printf("Set WDTOUT10 output 100ms plus, normal level\n"); _write_smbus(Device_Addr,WDTOUT10_CntlReg1,0); //WDT10 control printf("Set WDTOUT10 Time 10 seconds and enable WDT\n"); _write_smbus(Device_Addr,WDTOUT10_CntlReg2,0x8A); //WDT10 control 52 Watchdog Timer and GPIO CEM842/843 COM Express TM Type 6 Compact Module printf("Please hit any key in period of 10 seconds\n"); getch(); _write_smbus(Device_Addr,WDTOUT10_CntlReg2,0x8A); //WDT10 control printf("The sytsem will reset when the 10 seconds times out\n"); } void _write_smbus(UCHAR xAddr,UCHAR xReg, UCHAR xData) { while (1) { if (_check_smbus_busy()==0) break; } outp(SM_REG, xReg); xdelay(); //because the CPU too fast,delay outp(SM_ADDR, xAddr); xdelay(); //because the CPU too fast,delay outp(SM_DATA, xData); xdelay(); //because the CPU too fast,delay outp(SM_CMD, SM_byteAccess); xdelay(); //because the CPU too fast,delay outp(SM_STATUS, 02); //clear interrupt status } UCHAR _read_smbus(UCHAR xAddr,UCHAR xReg) { UCHAR xch,xch2; while (1) { if (_check_smbus_busy()==0) break; } outp(SM_REG, xReg); xdelay(); //because the CPU outp(SM_ADDR, xAddr+1); xdelay(); //because the CPU outp(SM_CMD, SM_byteAccess); xdelay(); //because the CPU while (1) { if (_check_smbus_busy()==0) break; } xch=inp(SM_DATA); xdelay(); //because the CPU outp(SM_STATUS, 2); //clear interrupt return xch; } _check_smbus_busy(void) { UCHAR xch; xch=inp(SM_STATUS); if (xch & 0x02 ) outp(SM_STATUS, 2); if ( xch & 0x02 ) return 1; if ( xch & 0x01 ) return 1; return 0; } for IO for IO for IO for IO too fast,delay for IO too fast,delay for IO too fast,delay for IO too fast,delay for IO status //clear interrupt status xdelay() { int xxi,xxj,xxk=0; for (xxi=0 ; xxi< 0x1000 ; xxi++) { for (xxj=0 ; xxj < 0x100 ; xxj++) { xxk++; } } } Watchdog Timer and GPIO 53