Quanmax KEMX-6000 User Manual

Quanmax KEMX-6000 User Manual

Industrial motherboard in mini-itx form factor with 2nd generation intel core i3/i5/i7 processors and qm67 express chipset
Table of Contents

Advertisement

KEMX-6000
Industrial Motherboard in Mini-ITX form factor
nd
with 2
generation Intel
Core™ i3/i5/i7 Processors and
®
QM67 Express Chipset
User's Guide
KEMX-6000 User's Manual
I

Advertisement

Table of Contents
loading

Summary of Contents for Quanmax KEMX-6000

  • Page 1 KEMX-6000 Industrial Motherboard in Mini-ITX form factor with 2 generation Intel Core™ i3/i5/i7 Processors and ® QM67 Express Chipset User’s Guide KEMX-6000 User’s Manual...
  • Page 2 © 2011 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.
  • Page 3: Table Of Contents

    Memory Module Installation ............... 46 Chapter 4 AMI BIOS Setup ..................47 Overview ....................47 Main Menu ....................48 Advanced Menu ..................48 Boot Menu ....................59 Security Menu .................... 60 Save & Exit Menu ..................61 KEMX-6000 User’s Manual...
  • Page 4 Content Chapter 5 Driver Installation ................. 63 Appendix A DIO (Digital I/O) Sample Code ............64 Appendix B WatchDog Timer Sample Code ............66 KEMX-6000 User’s Manual...
  • Page 5: Figures

    Figure 5 Rear Panel IO ................28 Figure 6 Expansion Interfaces ..............45 Figure 7 Align the SO-DIMM Memory Module with the onboard socket ..46 Figure 8 Press down on the SO-DIMM Memory Module to lock it in place 46 KEMX-6000 User’s Manual...
  • Page 6: Tables

    Tables Tables Table 1 KEMX-6000 Specification .............. 19 Table 2 Jumper List ..................25 Table 3 JP1 AT / ATX Mode Selection ............25 Table 4 JP2 Signal / Power Selection for COM5 ........25 Table 5 JP3 Panel Backlight Power Selection for LVDS2 ......26 Table 6 JP4 Signal / Power Selection for COM6 ........
  • Page 7 Table 64 Advanced Menu – Super IO Configuration –Serial Port 4 Configuration ................52 Table 65 Advanced Menu – Super IO Configuration –Serial Port 5 Configuration ................53 Table 66 Advanced Menu – Super IO Configuration –Serial Port 6 Configuration ................53 KEMX-6000 User’s Manual...
  • Page 8 Table 71 Advanced Menu – H/W Monitor ........... 58 Table 72 Advanced Menu – CPU Advanced Configuration ......58 Table 73 Boot Menu ................... 59 Table 74 Security Menu ................60 Table 75 Save & Exit Menu ................ 61 KEMX-6000 User’s Manual...
  • Page 9: Safety Instructions

    Use extreme caution when installing or removing 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 Technical Support. WARNING High voltages are present inside the chassis when the unit’s power cord is plugged into an electrical outlet.
  • Page 10: Preventing Electrostatic 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.
  • Page 11 Handle components and boards with care. Don’t touch the components or  contacts on a board. Hold a board by its edges or by its metal mounting bracket. Do not handle or store system boards near strong electrostatic, electromagnetic,  magnetic, or radioactive fields. KEMX-6000 User’s Manual...
  • Page 12: Preface

    Remove all items from the box. If any items listed on the purchase order are missing, notify Quanmax customer service immediately. Inspect the product for damage. If there is damage, notify Quanmax customer service immediately. Refer to “Warranty Policy” for the return procedure.
  • Page 13: Warranty Policy

    Quanmax or its authorized agent; or if the failure is caused 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.
  • Page 14: Maintaining Your Computer

    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.
  • Page 15 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 complete loss of power. KEMX-6000 User’s Manual...
  • Page 16 Surge protectors should be used with all UPS systems, and the UPS system should be Underwriters Laboratories (UL) safety approved. KEMX-6000 User’s Manual...
  • Page 17: Chapter 1 Introduction

    Chapter 1 Chapter 1 Introduction  Overview The KEMX-6000 is a Mini-ITX form factor industrial motherboard combining the latest ® ® 2nd generation Intel Core™ i3/i5/i7 processors with the high integration of the Intel QM67 chipset. Featured are DDR3 1066/1333 SO-DIMM up to 16GB, 24-bit LVDS, HDMI, DVI-D, VGA, 2x Gigabit Ethernet, 5x SATA, 1x PCIe x 16, mini PCIe Expansion slot, 2x USB 3.0, 8x USB 2.0, 6x COM ports with Power Selection, HD...
  • Page 18: Product Specifications

    2x ports stack with two RJ-45 connectors 6x ports via 4x headers for internal. 1x header for 8-bits DIO supported 4-bits Input and 4-bits Output 1x wafer connector for PS/2 Keyboard/Mouse 6x COM ports supported 2x DB-9 male connectors for COM1, COM2 KEMX-6000 User’s Manual...
  • Page 19: Table 1 Kemx-6000 Specification

    CPU and system fan speed detection Dimensions Mini-ITX (170 x 170 mm) Operation Temp: 0ºC - 60ºC Environmental Factors Storage Temp.: -10ºC - 85ºC Humidity: 0% - 90% Certifications CE, FCC Class A Table 1 KEMX-6000 Specification KEMX-6000 User’s Manual...
  • Page 20: System Block Diagram

    Chapter 1  System Block Diagram Figure 1 Block Diagram KEMX-6000 User’s Manual...
  • Page 21: Mechanical Dimensions

    Chapter 1  Mechanical Dimensions ø ø : 3.51mm : 2.6mm Figure 2 Mechanical Dimensions KEMX-6000 User’s Manual...
  • Page 22: Chapter 2 Hardware Settings

    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. KEMX-6000 User’s Manual...
  • Page 23: Jumper Settings And Pin Definitions

    Chapter 2  Jumper Settings and Pin Definitions For jumper and connector locations, please refer to the diagrams below. KEMX-6000 User’s Manual...
  • Page 24: Figure 4 Jumper And Connector Locations

    Chapter 2 Figure 4 Jumper and Connector Locations KEMX-6000 User’s Manual...
  • Page 25: Jumper Settings

    Pin 1 = +5V 7-9 Short Pin 1 = DCD 2-4 Short Pin 9 = +12V 4-6 Short Pin 9 = +5V 6-8 Short Pin 9 = +5V 8-10 Short Pin 9 = RI Pitch: 2.54mm [YIMTEX 3362*05SANGR] KEMX-6000 User’s Manual...
  • Page 26: Table 5 Jp3 Panel Backlight Power Selection For Lvds2

    Panel Power = +5V Pitch: 2.54mm [YIMTEX 3362*03SAGR] Table 8 JP6 Backlight Power Enable Selection for LVDS1 Jumper Setting Status Backlight Enable Voltage = +3.3V Backlight Enable Voltage = +5V Active High Active Low Pitch: 2.0mm [PINREX 222-97-03GBB1] KEMX-6000 User’s Manual...
  • Page 27: Table 9 Jp7 Backlight Power Enable Selection For Lvds2

    Table 11 JP9 SRTC Reset Selection Jumper Status 1-2 Open Normal Operation 1-2 Short Clear ME Registers Pitch: 2.54mm [YIMTEX 3321*02SAGR (6T)] Table 12 JP11 Flash Description Security Over-ride Jumper Status 1-2 Open Disable 2-3 Short Enable Pitch: 2.54mm [YIMTEX 3321*03SAGR (6T)] KEMX-6000 User’s Manual...
  • Page 28: Rear Panel Pin Assignments

    GREEN LINE OUT PINK MIC IN [Foxconn JA33331-H11P-4F] Table 15 CN10 LAN1 & USB2.0 Port 0, 1 Connector Signal Signal MDI[0]+ +USBVCC MDI[0]- USB_A- MDI[1]+ USB_A+ MDI[1]- MDI[2]+ +USBVCC MDI[2]- USB_B- MDI[3]+ USB_B+ MDI[3]- [UDE RU1-161F9WGF (XB)] KEMX-6000 User’s Manual...
  • Page 29: Table 16 Cn11 Lan2 & Usb2.0 Port 2,3 Connector

    Activity  Yellow LED blink Table 17 CN12 CRT DB-15 & DVI-D Connector Signal Name Signal Name Green Blue DDC_DATA HSYNC VSYNC DDC_CLK Signal Name Signal Name TX2- TX2+ DDC_CLK DDC_DATA TX1- TX1+ HTPLG TX0- TX0+ TXC+ TXC- [FAN YING G205D2C01012PHN] KEMX-6000 User’s Manual...
  • Page 30: Table 18 Cn13 Rs-232 / 422 / 485 Port 1, 2 Connector

    Table 19 HDMI Connector Signal TMDS Data2+ Ground TMDS Data2– TMDS Data1+ Ground TMDS Data1– TMDS Data0+ Ground TMDS Data0– TMDS Clock+ Ground TMDS Clock– Reserved Reserved DDC_CLK DDC_DATA Ground +5 V Power Hot Plug Detect [ARGOSY HDMIV-A1915-DK2R] KEMX-6000 User’s Manual...
  • Page 31: Main Board Pin Assignments

    Table 20 ATX1 24-pin ATX Power Input Connector Signal Signal +3.3V +3.3V +3.3V PS_ON POWER OK +5VSB +12V +12V +3.3V Pitch: 4.2mm [YIMTEX 576MWA2*12STR] Table 21 ATX 4-pin ATX Power Input Connector Signal Name +12V +12V Pitch: 4.2mm[YIMTEX576MWA2*02STR] KEMX-6000 User’s Manual...
  • Page 32: Table 22 Cfd1 Cf Type Ii Connector

    DCD, Data carrier detect RXD, Receive data TXD, Transmit data DTR, Data terminal ready GND, ground DSR, Data set ready RTS, Request to send CTS, Clear to send RI, Ring indicator NC, Key Pitch: 2.54mm [YIMTEX 3362*05SANGR-10] KEMX-6000 User’s Manual...
  • Page 33: Table 24 Com4 Rs-232 Port 4 Pin Header

    RXD, Receive data TXD, Transmit data DTR, Data terminal ready GND, ground DSR, Data set ready RTS, Request to send CTS, Clear to send RI, Ring indicator/ +12V / +5V * NC, Key Pitch: 2.54mm [YIMTEX3362*05SANGR-10] *:Selected by JP2 KEMX-6000 User’s Manual...
  • Page 34: Table 26 Com6 Rs-232 Port 6 Pin Header

    Table 27 CN1 SIM Interface Wafer for MPCIE1 Signal Name UIM_PWR UIM_DATA UIM_RESET UIM_VPP UIM_CLK Pitch: 1.27mm [Pinrex 712-73-06TWB0] Table 28 CN2 MPCIE Activity Indication Pin Header Signal Name MPCIE1_ACT+ MPCIE1_ACT- MPCIE2_ACT+ MPCIE2_ACT- Pitch: 2.54mm [YIMTEX 3321*04SAGR (6T)] KEMX-6000 User’s Manual...
  • Page 35: Table 29 Cn3 Panel Backlight Wafer For Lvds2

    +5V / +12V ** +5V / +12V ** BL_EN*** Pitch: 1.25mm [Townes Enterprise 1250W-07T1-V] *:BL_ADJ can be setting from 0V to 5V in BIOS setup. **:Backlight Power can be selected by JP5. ***:BL_EN can be selected by JP6 KEMX-6000 User’s Manual...
  • Page 36: Table 32 Cn6 Keyboard & Mouse Wafer

    Table 35 CN9 Left Channel 2W Audio AMP Output Wafer Signal Name Speaker+ Speaker- Pitch: 2.0mm [YIMTEX 503PW1*02STR] Table 36 DIMM1 Primary DDR3 Memory SO-DIMM Socket Height: 9.2mm [ARGOSY DDRSK-20401-TP9D] Table 37 DIMM2 Secondary DDR3 Memory SO-DIMM Socket Height: 5.2mm [ARGOSY DDRSK-20401-TP5B] KEMX-6000 User’s Manual...
  • Page 37: Table 38 Fan1 Pu Fan Wafer

    Power Button + Power Button - PWRBTN PLED Power LED - Keyboard Lock SMBus Data KLOCK SMBus Clock Pitch: 2.54mm [YIMTEX 3362*05SANGR] Table 42 IR1 IrDA Pin Header Signal Name IR_Rx IR_Tx Pitch: 2.54mm [YIMTEX 3321*05SAGR (6T)-02] KEMX-6000 User’s Manual...
  • Page 38: Table 43 Lvds1 Primary 24-Bit, 2-Channel Lvds Panel Connector

    +3.3V / +5V* TxclkB- TxclkA- TxclkB+ TxclkA+ TxoutB0- TxoutA0- TxoutB0+ TxoutA0+ TxoutB1- TxoutA1- TxoutB1+ TxoutA1+ TxoutB2- TxoutA2- TxoutB2+ TxoutA2+ TxoutB3- TxoutA3- TxoutB3+ TxoutA3+ DDC_Clock DDC_Data Pitch: 1.25mm [HIROSE DF13-30DP-1.25(24)] *:LVDS2 panel power can be selected by JP3. KEMX-6000 User’s Manual...
  • Page 39: Table 45 Pcie1 Mini-Pcie Express V1.2 Socket 1

    Ground Ground +1.5V Ground SMB_CLK PETn0 SMB_DATA PETp0 Ground Ground USB_D- Ground USB_D+ +3.3VSB Ground +3.3VSB LED_WWAN# Ground LED_WLAN# NC/ CL_CLK* LED_WPAN# NC/ CL_DATA* +1.5V NC/ CL_RST#* Ground Reserved +3.3VSB Height: 9.0mm [ARGOSY MPCEC-S00F1-TP09] * (Default NC) KEMX-6000 User’s Manual...
  • Page 40: Table 46 Pcie2 Mini-Pcie Express V1.2 Socket 2

    +3.3VSB LED_WWAN# Ground LED_WLAN# NC/ LPC_AD0* LED_WPAN# NC/LPC_AD1* +1.5V NC/ LPC_AD2* Ground NC/ LPC_AD3* +3.3VSB Height: 5.5mm [ARGOSY MPCEC-S00F1-TP03] *:These pins are connected to CN1 directly. * : Internal debug only, left these pins open. (Default NC) KEMX-6000 User’s Manual...
  • Page 41: Table 47 Peg1 Pcie Express X 16 Slot

    HSON4 Ground HSON14 Ground Ground HSIP4 Ground HSIP14 Ground HSIN4 Ground HSIN14 HSOP5 Ground HSOP15 Ground HSON5 Ground Ground HSIP5 HSON15 Ground Ground HSIN5 Ground HSIP15 HSOP6 Ground PRSNT2# HSIN15 Reserved Ground Pitch: 1.0mm [WIN WIN WPCS-164AN41B22UWL] KEMX-6000 User’s Manual...
  • Page 42: Table 48 Sata1 Serial Ata Port0 Connector

    Chapter 2 Table 48 SATA1 Serial ATA Port0 Connector Signal Name [FOXCONN LD1807V-S52U] Table 49 SATA2 Serial ATA Port1 Connector Signal Name [FOXCONN LD1807V-S52U] Table 50 SATA3 Serial ATA Port2 Connector Signal Name [FOXCONN LD1807V-S52U] KEMX-6000 User’s Manual...
  • Page 43: Table 51 Sata4 Serial Ata Port3 Connector

    Chapter 2 Table 51 SATA4 Serial ATA Port3 Connector Signal Name [FOXCONN LD1807V-S52U] Table 52 SATA5 Serial ATA Port4 Connector Signal Name [FOXCONN LD1807V-S52U] Table 53 SATA6 Serial ATA Port5 Connector Signal Name [FOXCONN LD1807V-S52U] KEMX-6000 User’s Manual...
  • Page 44: Table 54 Usb1 Usb2.0 Port 4, 5 Pin Header

    Signal Name Signal Name +USBVCC +USBVCC USB_A- USB_B- USB_A+ USB_B+ Pitch: 2.54mm [YIMTEX 3362*05SANGR-09] Table 56 USB3 USB2.0 Port 8, 9 Pin Header Signal Name Signal Name +USBVCC +USBVCC USB_A- USB_B- USB_A+ USB_B+ Pitch: 2.54mm [YIMTEX 3362*05SANGR-09] KEMX-6000 User’s Manual...
  • Page 45: Chapter 3 System Installation

    When adding or removing expansion cards, make sure that you unplug the power supply first. Meanwhile, read the documentation for the expansion card to configure any necessary hardware or software settings for the expansion card, such as jumpers, switches or BIOS configuration. KEMX-6000 User’s Manual...
  • Page 46: Memory Module Installation

    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 manufacturer. KEMX-6000 User’s Manual...
  • Page 47: Chapter 4 Ami Bios Setup

    This chapter provides a description of the AMI BIOS. The BIOS setup menus and available selections may vary from those of your product. For specific information on the BIOS for your product, please contact Quanmax. NOTE: The BIOS menus and selections for your product may vary from those in this chapter.
  • Page 48: Main Menu

     SATA Configuration F2: Previous Values  AMT Configuration F3: Optimized Defaults  USB Configuration F4: Save and Exit  H/W Monitor ESC: Exit  CPU Advanced Configuration  Version 2.10.1208. Copyright © 2010 American Megatrends, Inc. KEMX-6000 User’s Manual...
  • Page 49: Table 59 Advanced Menu - Display Configuration

    24bit 2Ch, 1920x1080 24bit 2Ch LVDS2 Panel Type Options: VBIOS Default, 1024x768 18bit 1Ch, 1280x1024 24bit 2Ch, 1400x1050 24bit 2Ch, 1600x1200 24bit 2Ch LVDS1 Panel Backlight Voltage Options: 0.0V, 0.5V, 1.0V, 1.5V, 2.0V, 2.5V, 3.0V, 3.5V, 4.0V, 4.5V, 5.0V KEMX-6000 User’s Manual...
  • Page 50: Table 60 Advanced Menu - Super Io Configuration

    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, 422, 485 KEMX-6000 User’s Manual...
  • Page 51: Table 62 Advanced Menu – Super Io Configuration – Serial Port

    : Select Screen ↑↓: Select Item Change Settings [Auto] Enter: Select +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save and Exit ESC: Exit Version 2.10.1208. Copyright © 2010 American Megatrends, Inc. KEMX-6000 User’s Manual...
  • Page 52: Table 64 Advanced Menu – Super Io Configuration –Serial Port

    Options: Auto, IO=2E0h; 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 KEMX-6000 User’s Manual...
  • Page 53: Table 65 Advanced Menu – Super Io Configuration –Serial Port

    F3: Optimized Defaults F4: Save and Exit ESC: Exit Version 2.10.1208. Copyright © 2010 American Megatrends, Inc. Serial Port Options: Disabled, Enabled Change Settings Options: Auto, IO=2E8h; IRQ=3; IO=3F8h; IRQ=3, 4, 5, 6, 7, 9, 10, 11, 12; IO=2F8h; KEMX-6000 User’s Manual...
  • Page 54: Table 67 Advanced Menu -Power Management Configuration

    Resume From S3 By PS/2 Keyboard Options: Disabled, Enabled Resume From S3 By PS/2 Mouse Options: Disabled, Enabled Resume By PCIE Device Options: Disabled, Enabled Resume From S3 By USB Device Options: Disabled, Enabled Resume By RTC Alarm Options: Disabled, Enabled KEMX-6000 User’s Manual...
  • Page 55: Table 68 Advanced Menu -Sata Configuration

    Enter: Select AMT CIRA Timeout +/-: Change Opt. WatchDog [Disabled] F1: General Help OS Timer F2: Previous Values BIOS Timer F3: Optimized Defaults F4: Save and Exit ESC: Exit Version 2.10.1208. Copyright © 2010 American Megatrends, Inc. KEMX-6000 User’s Manual...
  • Page 56 Options: Disabled, Enabled Amt Wait Timer Options: 0 Options: Disabled, Enabled Activate Remote Assistance Process Options: Disabled, Enabled USB Configure Options: Disabled, Enabled PET Progress Options: Disabled, Enabled Intel AMT SPI Protected Options: Disabled, Enabled WatchDog Options: Disabled, Enabled KEMX-6000 User’s Manual...
  • Page 57: Table 70 Advanced Menu - Usb Configuration

    Options: Enabled, Disabled EHCI Hand-off Options: Enabled, Disabled USB transfer time-out Options: 1 sec, 5 sec, 10 sec, 20 sec Device reset time-out Options: 10 sec, 20 sec, 30 sec, 40 sec Device power-up delay Options: Auto, Manual KEMX-6000 User’s Manual...
  • Page 58: Table 71 Advanced Menu - H/W Monitor

    [Disabled] Enter: Select Execute Disable Bit [Enabled] +/-: Change Opt. F1: General Help F2: Previous Values F3: Optimized Defaults F4: Save and Exit ESC: Exit Version 2.10.1208. Copyright © 2010 American Megatrends, Inc. EIST Options: Disabled, Enabled KEMX-6000 User’s Manual...
  • Page 59: Boot Menu

    F2: Previous Values F3: Optimized Defaults F4: Save and Exit ESC: Exit Version 2.10.1208. Copyright © 2010 American Megatrends, Inc. Full Screen LOGO Display Options: Disabled, Enabled Setup Prompt Timeout Options: 1 Bootup Numlock State Options: On, Off KEMX-6000 User’s Manual...
  • Page 60: Security Menu

    Change User Password Select this item to set or change the user password. The User Password item on top of the screen displays the default Not Installed. After you have set a password, this item displays Installed. KEMX-6000 User’s Manual...
  • Page 61: Save & Exit Menu

    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 KEMX-6000 User’s Manual...
  • Page 62 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. KEMX-6000 User’s Manual...
  • Page 63: Driver Installation

    Chapter 5 Driver Installation If your KEMX-6000 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 using the power supply and install the desired operating system.
  • Page 64 Appendix A Appendix A DIO (Digital I/O) Sample Code //*************************************************************** //KEMX-6000 DOS DIO sample program //Please compile with Turbo C 3.0 to utilized the program //0:Low 1:High //DI_1: IOport 0x50C bit2 DO_1: IOport 0x539 bit4 //DI_2: IOport 0x50C bit3 DO_2: IOport 0x539 bit5...
  • Page 65 //DO_3 is bit 6 outp(0x539,RetVal); RetVal=inp(0x53B);//IO Port: 0x53B RetVal=(RetVal|0x01);//DO_4 is bit 0 outp(0x53B,RetVal); system("pause"); //Reading DI_1~4 RetVal=inp(0x50C);//IO Port: 0x50C RetVal=(RetVal&0x3C);//DI_1 is bit 2 //DI_2 is bit 3 //DI_3 is bit 4 //DI_4 is bit 5 printf("DI_= %d\n",RetVal); system("pause"); return 0; KEMX-6000 User’s Manual...
  • Page 66: Watchdog Timer Sample Code

    Appendix B Appendix B WatchDog Timer Sample Code //============================================ //KEMX-6000 DOS Watchdog sample program //Please compile with Turbo C 3.0 to utilized the program //============================================ #include<stdio.h> int main() int value; //Initialized the WDT program outp(0x2E,0x87); outp(0x2E,0x87); //Setting Logical Device Number to 0x07 outp(0x2E,0x07);...
  • Page 67 Appendix B outp(0x2E,0xF0); outp(0x2F,0x81);//bit7 WDTRST# output is enabled return 0; KEMX-6000 User’s Manual...

Table of Contents