background image

MIO-5850 User Manual

68

D.1

EC Watchdog Timer sample code

Display source code fixed width font for easy reading.
The sample code can be compiled by Open Watcom C++ compiler running on DOS.

#include <stdio.h>
#include <string.h>
#include <conio.h>
#include <stdint.h>
#include <i86.h>

#define CMD_PORT        (0x2F6)
#define STS_PORT        CMD_PORT
#define DAT_PORT        (0x2F2)

#define EC_RETRIES      (65535)

#define EC_STS_IBF      0x02
#define EC_STS_OBF      0x01

#define EC_CMD_MASK     0x01    // 1=read command, 0=write command
#define EC_CMD_READ     EC_CMD_MASK

#define WDT_CMD_WRITE   0x2A
#define WDT_CMD_READ    0x2B

#define WDT_CTL         0x02
#define WDT_CTL_CLEAR   0x02
#define WDT_CTL_START   0x01
#define WDT_CTL_STOP    0x00

#define WDT_TYPE_DELAY  0x11    // add delay time before watchdog starting
#define WDT_TYPE_PWRCYC 0x12    // power cycle
#define WDT_TYPE_IRQ    0x13    // issue IRQ
#define WDT_TYPE_RESET  0x14    // reset
#define WDT_TYPE_PIN    0x15    // set watchdog pin
#define WDT_TYPE_SCI    0x16    // issue SCI in ACPI OS

#define inb(p)      inp(p)
#define outb(p, v)  outp(p, v)

//
================================================================
=============
//  ec_wait_ibe
//
================================================================
=============

Summary of Contents for MIO-5850

Page 1: ...User Manual MIO 5850 ...

Page 2: ...y for its use nor for any infringe ments of the rights of third parties which may result from its use Acknowledgements Intel is a trademark of Intel Corporation AMI is a trademark of American Megatrends Inc IBM PC PS 2 and VGA are trademarks of International Business Machines Cor poration Microsoft Windows DirectX is a registered trademark of Microsoft Corp All other product names or trademarks ar...

Page 3: ... cost of replacement materials service time and freight Please consult your dealer for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem encountered For example CPU speed Advantech products used other hardware and software used etc Note anything abnormal and list any onscreen messages you get when the problem occurs 2 Call you...

Page 4: ...unications Opera thin of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Technical Support and Assistance 1 Visit the Advantech website at http support advantech com where you can find the latest information about the product 2 Contact your distributor sales representative or Advante...

Page 5: ...32G S9 mSATA 32G 96FD I128 TR1 mSATA 128GB SQF S25M8 2T SAC 2 5 SATA SSD SQF S25U8 512G SAE 2 5 SATA SSD EWM W160M201E M 2 Key A E Wireless LAN EWM W163M201E M 2 Key A E Wireless LAN Bluetooth IDK 1107WP 50WVA1E 7 Panel IDK 1110WP 50XGA1E 10 1 Panel IDK 1115P 50XGA1E 15 Panel 1 x MIO 5850 SBC 1 x SATA Cable 30cm p n 1700006291 1 x SATA Power Cable 35cm p n 1700018785 1 x Audio Cable 20cm p n 17000...

Page 6: ...MIO 5850 User Manual vi ...

Page 7: ... 2 Connectors 8 Table 2 2 Connectors 8 2 3 Locating Connectors 9 Figure 2 1 MIO 5850 Connector Locations Top Side 9 Figure 2 2 MIO 5850 Connector Locations Bottom Side 9 2 4 Setting Jumpers 10 Table 2 3 Clear CMOS J1 10 2 4 1 Auto Power On Setting J2 10 Table 2 4 Auto Power On Setting J2 10 2 4 2 LCD Power J4 10 Table 2 5 LCD Power J4 11 2 4 3 LVDS VCON Setting J5 11 Table 2 6 LVDS VCON Setting J5...

Page 8: ...3 Instruction 58 Appendix C System Assignments 65 C 1 System I O Ports 66 Table C 1 System I O Ports 66 C 2 1st MB Memory Map 66 Table C 2 1st MB Memory Map 66 C 3 Interrupt Assignments 66 Table C 3 Interrupt assignments 66 Appendix D EC Watchdog Timer Sample Code 67 D 1 EC Watchdog Timer sample code 68 ...

Page 9: ...Chapter 1 1 General Information This chapter gives background information on the MIO 5850 Sections include Introduction Specifications Block diagram Board layout and dimensions ...

Page 10: ...7 Advanced Technologies Intel Virtualization Technology VT x Intel 64 bit architecture Enhanced Intel SpeedStep technology Intel Trusted Execution Engine TXE Power Management ACPI 5 0 System sleep states S0 S3 S4 S5 System Memory Support Non ECC 64 bit data bus x8 and x16 DDR3L SDRAM device data widths DDR3L with 1066 MT s data rates for E3825 total memory bandwidth 8 5GB s DDR3L with 1333 MT s da...

Page 11: ...EHCI controller that are High Speed Full Speed HS FS USB source USB 3 0 and USB 2 0 s dual port on rear I O s USB signal directly from CPU 4 x USB 2 0 from USB hub Supports wake up from sleeping state S3 Power supply 0 5A 5V for USB2 0 1A 5V for USB3 0 2 RS232 422 485 for COM1 2 2 RS232 for COM3 4 ESD protection air gap 15kV contact 8kV 8 bit programmable general purpose input output from iManager...

Page 12: ...tion Max load MIO 5850J U0A1E 1 74A 12V 20 88W MIO 5850J U0A1E 3 57A 24V 85 68W Idle mode MIO 5850J U0A1E 0 63A 12V 7 56W MIO 5850J U0A1E 0 60 24V 14 4W Power Consumption Conditions Test software 3DMark 2006 Max load Measure the maximum current value which system under maxi mum load CPU top speed RAM graphic full loading Idle mode Measure the current value when system in windows mode and without r...

Page 13: ...5 MIO 5850 User Manual Chapter 1 General Information 1 3 Block Diagram 1 4 Board Layout Dimensions Figure 1 1 MIO 5850 Mechanical Drawing Top Side ...

Page 14: ...MIO 5850 User Manual 6 Figure 1 2 MIO 5850 Mechanical Drawing Bottom Side Figure 1 3 MIO 5850 Mechanical Drawing Coastline ...

Page 15: ...er explains the setup procedures of the MIO 5850 hard ware including instructions on setting jumpers and connecting peripherals switches and indica tors Be sure to read all safety pre cautions before you begin the installation procedure ...

Page 16: ...on of each of the connec tors Table 2 1 Jumpers Switches J1 Clear CMOS J2 Auto Power on Setting J4 LCD power J5 LVDS VCON Setting Table 2 2 Connectors Label Function CN1 M 2 E key CN2 RTC Battery CN3 CAN Bus CN4 SATA Power CN6 Front Panel CN7 SATA CN8 Internal USB CN9 Internal USB CN10 COM1 COM2 RS232 RS422 RS485 CN11 COM3 COM4 RS232 CN12 I2C CN13 SM Bus CN14 FAN CN16 Audio CN17 GPIO_P0 CN18 GPIO_...

Page 17: ...9 MIO 5850 User Manual Chapter 2 Installation 2 3 Locating Connectors Figure 2 1 MIO 5850 Connector Locations Top Side Figure 2 2 MIO 5850 Connector Locations Bottom Side ...

Page 18: ...s case you would connect either pins 1 and 2 or 2 and 3 The jumper settings are schematically depicted in this manual as follows A pair of needle nose pliers may be helpful when working with jumpers If you have any doubts about the best hardware configuration for your application contact your local distributor or sales representative before you make any changes Generally you simply need a standard...

Page 19: ...ual Chapter 2 Installation 2 4 3 LVDS VCON Setting J5 Table 2 5 LCD Power J4 Setting Function 1 3 3 3V 3 5 5V 3 4 12V Table 2 6 LVDS VCON Setting J5 Setting Function 1 2 3 3V High for VCON on LVDS 1 3 Low for VCON on LVDS ...

Page 20: ...MIO 5850 User Manual 12 ...

Page 21: ...Chapter 3 3 AMI BIOS Setup ...

Page 22: ...system features This chapter describes the basic navigation of the MIO 5850 BIOS setup screens AMI BIOS ROM has a built in Setup program that allows users to modify the basic system configuration This information is stored in battery backed CMOS so it retains the Setup information when the power is turned off ...

Page 23: ...he Main setup screen by selecting the Main tab There are two Main Setup options They are described in this section The Main BIOS Setup screen is shown below The Main BIOS setup screen has two main frames The left frame displays all the options that can be configured Grayed out options cannot be configured options in blue can The right frame displays the key legend Above the key legend is an area r...

Page 24: ...select any of the items in the left frame of the screen such as CPU Configuration to go to the sub menu for that item You can display an Advanced BIOS Setup option by highlighting it using the Arrow keys All Advanced BIOS Setup options are described in this section The Advanced BIOS Setup screens is shown below The sub menus are described on the following pages ...

Page 25: ...PI auto configuration Enable Hibernation Enables or disables system ability to hibernate OS S4 sleep state This option may not be effective with some OS ACPI Sleep State Selects the highest ACPI sleep state the system will enter when the SUSPEND button is pressed Lock Legacy Resources Enables or disables Lock of Legacy Resources ...

Page 26: ...ving Mode This item allows users to set board s power saving mode when off Serial Port 1 Configuration Set Parameters of Serial Port 1 COMA Serial Port 2 Configuration Set Parameters of Serial Port 2 COMB Serial Port 3 Configuration Set Parameters of Serial Port 3 COMC Serial Port 4 Configuration Set Parameters of Serial Port 4 COMD Hardware Monitor Monitor hardware statue Watch Dog Timer Configur...

Page 27: ...19 MIO 5850 User Manual Chapter 3 AMI BIOS Setup HW Monitor PC Health Status This page displays all information about system Temperature Voltage Watch Dog Timer Configuration ...

Page 28: ...g Timer This page displays all information about Watch Dog Timer Configuration 3 1 2 3 S5 RTC Wake Settings Wake system from S5 Enable or disable System wake on alarm event Select FixedTime system will wake on the hr min sec specified ...

Page 29: ...le Redirection Console Redirection This item allows users to enable or disable console redirection for Microsoft Windows Emergency Management Services EMS Console Redirection This item allows users to configuration console redirection detail settings 3 1 2 5 CPU Configuration ...

Page 30: ...low attacks when combined with a supporting OS Windows Server 2003 SP1 Windows XP SP2 SuSE Linux 9 2 RedHat Enterprise 3 update 3 Intel Virtualization Technology When enabled a VMM can utilize the additional hardware capabilities provided by Vanderpool Technology 3 1 2 6 PPM Configuration CPU C state Report Enable or disable CPU C state report to OS ...

Page 31: ...ration Serial ATA SATA Enable Disable Serial ATA SATA Speed Support SATA Speed Support Gen1 or Gen2 SATA ODD Port SATA ODD is Port 0 or Port 1 SATA Mode Select IDE AHCI Serial ATA Port 0 Enable Disable Serial ATA Port 0 Serial ATA Port 1 Enable Disable Serial ATA Port 1 ...

Page 32: ...evices Mode Settings SCC eMMC Support Enable or disable SCC eMMC support eMMC Secure Erase Enable or disable eMMC Secure Erase When enabled all the data on eMMC will be erased SCC SDIO Support Enable or disable SCC SDIO support LPSS HSUART 1 Support Enable or disable LPSS HSUART 1 support ...

Page 33: ...50 User Manual Chapter 3 AMI BIOS Setup 3 1 2 9 Network Stack Configuration Network Stack Enable or disable UEFI Network Stack 3 1 2 10 CSM Configuration CSM Support Enable or disable CSM Support GateA20 Active ...

Page 34: ...n controls Legacy UEFI ROM priority Network Controls the execution of UEFI and Legacy PXE OpROM Storage Controls the execution of UEFI and Legacy Storage OpROM Video Controls the execution of UEFI and Legacy Video OpROM Other PCI devices Determines OpROM execution policy for devices other than Network Storage or Video 3 1 2 11 SDIO Configuration SDIO Access Mode Auto Option Access SD device in DMA...

Page 35: ...river EHCI Hand off This is a workaround for OS without EHCI hand off support The EHCI owner ship change should be claimed by EHCI driver USB Mass Storage Driver Support Enable or disable USB Mass Storage Driver Support USB transfer time out Time out value for control bulk and interrupt transfers Device reset time out USB mass storage device start unit command time out Device power up delay Maximu...

Page 36: ... User Manual 28 3 1 2 13 Security Configuration TXE HMRFPO Disable TXE Firmware Update TXE EOP Message Send EOP Message before entering the OS TXE Unconfiguration Perform Revert TXE setting to factory defaults ...

Page 37: ...29 MIO 5850 User Manual Chapter 3 AMI BIOS Setup 3 1 3 Chipset Configuration North Bridge Details for North Bridge items South Bridge Details for South Bridge items 3 1 3 1 North Bridge ...

Page 38: ...aphics Device IGD when selected as Primary Video Adaptor Disable Always disable IGD IGD Turbo Enable Enable IGD Turbo Enable Disable IGD Turbo Disable PAVC Enable or disable Protected Audio Video Control DVMT Pre Allocated Select DVMT 5 0 Pre Allocated Fixed Graphics Memory size used by the Internal Graphics Device DVMT Total Gfx Mem Select DVMT 5 0 total graphic memory size used by the Internal g...

Page 39: ...MI BIOS Setup Select the GTT size IGD Thermal Enable or disable IGD Thermal Spread Spectrum clock Enable or disable Spread Spectrum clock 3 1 3 3 Graphics Power Management Control RC6 Render Standby Check to enable render standby support ...

Page 40: ... device which will be activated during POST This has no effect if an external graphics card is present Secondary boot display selection will appear based on your selection VGA modes will be supported only on the pri mary display LVDS Panel Type This item allows the user to select LVDS panel type ...

Page 41: ...rd LAN1 Controller LAN PXE OpROM Enable or disable onboard LAN s PXE option ROM Onboard LAN2 Controller Enable or disable onboard LAN2 Controller LAN PXE OpROM Enable or disable onboard LAN s PXE option ROM Onboard LAN3 Controller Enable or disable onboard LAN3 Controller LAN PXE OpROM Enable or disable onboard LAN s PXE option ROM PCIE Wake from S5 Enable or disable PCIE to wake the system from S...

Page 42: ...Enable or disable BIOS SPI region read write protect 3 1 3 6 Azalia HD Audio Audio Controller Control detection of the Azalia device Disabled Azalia will be unconditionally disabled Enabled Azalia will be unconditionally enabled Azalia HDMI Codec Enable or disable internal HDMI codec for Azalia ...

Page 43: ...legacy OS XHCI Mode Mode of operation of xHCI controller USB2 Link Power Management Enable or disable USB2 Link Power Management USB 2 0 https www youtube com watch v QPXvAM9blow EHCI Support Control the USB EHCI USB 2 0 functions One EHCI controller must always be enabled USB Per Port Control Control each of the USB ports 0 3 Enable Enable USB per port Disable Use USB port X settings ...

Page 44: ...MIO 5850 User Manual 36 3 1 3 8 PCI Express Configuration M 2 Mini PCIE Port Enable or Disable the M 2 Mini PCI Express Port in the Chipset Speed Configure PCIe Port Speed 3 1 4 Security ...

Page 45: ...before initiating the original default boot selection A value of 0 indicates that the default boot selection is to be initiated immediately on boot A value of 65535 0xFFFF indicates that firm ware will wait for user input before booting This means the default boot selec tion is not automatically started by the firmware Bootup NumLock State Select the keyboard NumLock state Quiet Boot Enables or di...

Page 46: ... to rest system setup without saving any changes Save Changes This item allows you to save changes done so far to any of the options Discard Changes This item allows you to discard changes done so far to any of the options Restore Defaults This item allows you to restore load default values for all the options Save as User Defaults This item allows you to save the changes done so far as user defau...

Page 47: ...Chapter 4 4 Installation ...

Page 48: ...rmal design and MIOe module installation 4 1 Quick Installation Guide 1 There is a Heatsink Cooler in the white box inside the package Carefully remove the release paper from the thermal pad before installation 2 There are six screws and six studs inside the white box please install the heat sink into place as per illustration below Remove Release Paper PAD XR Pe 13 9x13 9x1mm ...

Page 49: ...Appendix A A Pin Assignments This appendix contains informa tion of a detailed or specialized nature Sections include Jumper and Connector Tables ...

Page 50: ...on 1 2 Normal 2 3 Clear COMS J2 Auto Power On Setting Part Number 1653002101 02 Footprint HD_2x1P_79_D Description PIN HEADER 2x1P 2 0mm 180D M DIP 21N12050 Setting Function NC Power Button for Power On 1 2 Auto Power On J4 LCD power Part Number 1653003260 Footprint HD_3x2P_79 Description PIN HEADER 3x2P 2 0mm 180D M SMD 21N22050 Setting Function 1 3 3 3V 3 5 5V 3 4 12V ...

Page 51: ...x2P_79 Description PIN HEADER 2x2P 2 00mm 180D M SMD 21N22050 Setting Function 1 2 3 3V High for VCON on LVDS 1 3 Low for VCON on LVDS CN1 M 2 E key Part Number 00A00001500 Footprint CARRIER_TYPE 2230 D3 E Description Pin Pin Name CN2 RTC Battery Part Number 1655005427 01 Footprint WF_2P_49_53398 0271 Description Pin Pin Name 1 GND 2 VBAT ...

Page 52: ...AN1_D 2 CAN1_D 3 CAN_GND CN4 SATA Power Part Number 1655001154 Footprint WF_4P_98_BOX_R1_D Description WAFER BOX 4P 2 50mm 180D M DIP 24W1170 04S10 01 Pin Pin Name 1 5V 2 GND 3 GND 4 12V CN6 Front Panel Part Number 1655003684 Footprint WF_4x2P_79_BOX_RD1_D Description Pin Pin Name 1 Reset 2 Power Switch 3 GND 4 GND 5 Case Open 6 Power LED 7 HD LED 8 HD LED ...

Page 53: ...in Pin Name CN8 Internal USB Part Number 1653004515 Footprint HD5x2P_79_23N685B 10M10_N10 Description BOX HEADER 5x2P 2 0mm 180D M SMD 23N685B 10M10 Pin Pin Name 1 5V 2 5V 3 A_D 4 B_D 5 A_D 6 B_D 7 GND 8 GND 9 GND CN9 Internal USB Part Number 1653004515 Footprint HD5x2P_79_23N685B 10M10_N10 Description BOX HEADER 5x2P 2 0mm 180D M SMD 23N685B 10M10 Pin Pin Name 1 5V 2 5V 3 A_D 4 B_D ...

Page 54: ...D_10x2P_79_23N685B 20M10 Description BOX HEADER 10x2P 2 0mm 180D M SMD 23N685B 20M10B Pin Pin Name 1 422TX1 485D1 DCD1 2 DSR1 1 422TX1 485D1 RXD1 4 RTS1 5 422RX1 TXD1 6 CTS1 7 422RX1 DTR1 8 RI1 9 GND 10 GND 11 422TX2 485D2 DCD2 12 DSR2 11 422TX2 485D2 RXD2 14 RTS2 15 422RX2 TXD2 16 CTS2 17 422RX2 DTR2 18 RI2 19 GND 20 GND ...

Page 55: ... 10x2P 2 0mm 180D M SMD 23N685B 20M10B Pin Pin Name 1 DCD3 2 DSR3 3 RXD3 4 RTS3 5 TXD3 6 CTS3 7 DTR3 8 RI3 9 GND 30 GND 11 DCD4 14 DSR4 13 RXD4 14 RTS4 15 TXD4 16 CTS4 17 DTR4 18 RI4 19 GND 20 GND CN12 I2C Part Number 1655904020 Footprint FPC4V 125M Description WAFER 4P 1 25mm 180D M SMD 85205 04001 Pin Pin Name 1 GND 2 I2C_DAT 3 I2C_CLK 4 V5_I2C ...

Page 56: ...05 Description WAFER 5P 1 25mm 180D M SMD 85205 05701 Pin Pin Name 1 GND 2 SMB_ALERT 3 SMB0_DAT 4 SMB0_CLK 5 V5_SMB CN14 FAN Part Number 1655004347 Footprint WF_4P_100_D_744 81 04TW30 Description WAFER 2 54 1 4P 180D M DIP 744 81 04TW30 Pin Pin Name 1 GND 2 V12_FAN 3 FAN_SPEED 4 FAN_PWM ...

Page 57: ...m 180D M SMD 23N685B 10M10 Pin Pin Name 1 LOUTR 2 LINR 3 GND 4 GND 5 LOUTL 6 LINL 7 GND 8 GND 9 MIC1R 10 MIC1L CN17 GPIO_P0 Part Number 1653004099 Footprint HD_5x2P_79_23N685B 10M10 Description BOX HEADER 5x2P 2 00mm 180D M SMD 23N685B 10M10 Pin Pin Name 1 5V 2 P0_GPIO4 3 P0_GPIO0 4 P0_GPIO5 5 P0_GPIO1 6 P0_GPIO6 7 P0_GPIO2 8 P0_GPIO7 9 P0_GPIO3 10 GND ...

Page 58: ...on BOX HEADER 5x2P 2 00mm 180D M SMD 23N685B 10M10 Pin Pin Name 1 5V 2 P1_GPIO4 3 P1_GPIO0 4 P1_GPIO5 5 P1_GPIO1 6 P1_GPIO6 7 P1_GPIO2 8 P1_GPIO7 9 P1_GPIO3 10 GND CN19 mSATA Part Number 1654009402 Footprint MINIPCI_52P_AS0B226 S40N 7F Description MINI PCI 52P 0 8mm 90D F SMD AS0B226 S40Q 7H Pin Pin Name ...

Page 59: ...654011230 01 Footprint MINIPCI_52P_88908 5204M Description MINIPCIExpress 52P 0 8mm RVS H 9 9mm 90D F SMD Pin Pin Name CN22 Inverter Power Output Part Number 1655305020 Footprint WHL5V 2M Description WAFER BOX 5P 2 0mm 180D M DIP A2001WV2 5P Pin Pin Name 1 12V 2 GND 3 ENABKL 4 VBR 5 5V ...

Page 60: ...Number 1652003274 Footprint RJ45_28P_RTB 19GB9J1A Description PHONE JACK RJ45 28P DIP RTB 19GB9J1A Pin Pin Name CN24 RJ45_W XFMR LED Part Number 1652004356 Footprint RJ45_14P_RT7 194AAM1A Description PHONE JACK RJ45 14P 90D F DIP RT7 194AAM1A Pin Pin Name ...

Page 61: ...2 12V or 5V or 3 3V 3 GND 4 GND 5 12V or 5V or 3 3V 6 12V or 5V or 3 3V 7 LVDS0_D0 8 LVDS1_D0 9 LVDS0_D0 10 LVDS1_D0 11 GND 12 GND 13 LVDS0_D1 14 LVDS1_D1 15 LVDS0_D1 16 LVDS1_D1 17 GND 18 GND 19 LVDS0_D2 20 LVDS1_D2 21 LVDS0_D2 22 LVDS1_D2 23 GND 24 GND 25 LVDS0_CLK 26 LVDS1_CLK 27 LVDS0_CLK 28 LVDS1_CLK 29 GND 30 GND 31 NC 32 NC 33 GND 34 GND 35 LVDS0_D3 36 LVDS1_D3 37 LVDS0_D3 38 LVDS1_D3 39 NC...

Page 62: ...MIO 5850 User Manual 54 CN26 USB2 0 3 0_13H Part Number 1654010199 Footprint USB_13P_UEA1112C UHS6 4F Description USB Conn 2 0 3 0 13P 90D F DIP UEA1112C UHS6 4 Pin Pin Name ...

Page 63: ...ber 1654011175 01 Footprint HDMI_19P_QJ51191 LFB4 7F Description HDMI Conn 19P 0 5mm 90D F SMD QJ51191 LFB4 7F Pin Pin Name CN29 Power input Part Number 1652000089 Footprint ME050 50002 Description PLUG IN BLOCK 2P 5 00mm 90D M DIP ME050 5002 Pin Pin Name 1 GND 2 12V or 24V ...

Page 64: ...sub 15P 90D F DIP G F HDB5 15F1 KNR0 G7 Pin Pin Name 1 RED 2 GREEN 3 BLUE 4 NC 5 GND 6 GND 7 GND 8 GND 9 5V 10 GND 11 NC 12 DDAT 13 HSYNC 14 VSYNC 15 DCLK CN32 NANO SIM Part Number 1654013206 01 Footprint SIM_6P_N080613 SICR10 Description Nano SIM Card 6P 1 27 F LCP RA GFL S BK H1 37 Pin Pin Name ...

Page 65: ...Appendix B B How to install Win7 64 bit ...

Page 66: ... C image mount Commit 8 Again Mount boot wim 2 image with write permissions C windows system32 dism mount Wim WimFile C image boot wim Index 2 MountDir C image mount 9 Open a Windows Explorer window and navigate to C image mount Win dows System32 drivers 10 Locate and replace the existing storport sys file 11 Unmount and commit the boot wim 2 image C windows system32 dism Unmount Wim MountDir C im...

Page 67: ...59 MIO 5850 User Manual Appendix B How to install Win7 64 bit 14 Locate the storport sys file and click the file right click propertities 15 Click Security tab and click on Advanced ...

Page 68: ...MIO 5850 User Manual 60 16 Click on Owner tab and click on Edit 17 Select currently login name on the pop up window and click Ok ...

Page 69: ...50 User Manual Appendix B How to install Win7 64 bit 18 Click on OK on the pop up window 19 Click ok to close all pup up windows 20 Locate the storport sys file and click the file right click Propertities again ...

Page 70: ...mage C windows system32 dism Unmount Wim MountDir E temp Commit 25 Done for injecting storport sys into Windows 7 64Bit SP1 installer 26 Replace the boot wim and install wim in the USB pendrive with Windows 7 64Bit installer in folder USB pendrive sources The installer is ready to use 27 Copy the Intel eMMC SD card driver iaiosd folder to the installer pendrive 28 Go to BIOS setup menu and go to A...

Page 71: ...nual Appendix B How to install Win7 64 bit 29 Save the setting and install Win7 normally until you reach the screen shown below 30 Select load Driver and Browse to the folder where you have copied eMMc SD card driver file ...

Page 72: ...MIO 5850 User Manual 64 31 Select eMMC host controller driver and press Click next 32 Install win7 normally until finish ...

Page 73: ...Appendix C C System Assignments This appendix contains informa tion of a detailed nature Sections include System I O Ports 1st MB Memory Map Interrupt Assignments ...

Page 74: ...us E0000h FFFFFh PCI Bus 90400000 905FFFFF Intel Trusted Execution Engine Interface E0000000 FEFFFFFF System resources Table C 3 Interrupt assignments Interrupt Interrupt source NMI Parity error detected IRQ0 System timer IRQ1 Using SERIRQ Keyboard Emulation IRQ2 Slave controller INTR output IRQ3 Communications Port COM2 IRQ4 Communications Port COM1 IRQ5 Communications Port COM4 iManager WatchDog...

Page 75: ...Appendix D D EC Watchdog Timer Sample Code ...

Page 76: ...x02 define EC_STS_OBF 0x01 define EC_CMD_MASK 0x01 1 read command 0 write command define EC_CMD_READ EC_CMD_MASK define WDT_CMD_WRITE 0x2A define WDT_CMD_READ 0x2B define WDT_CTL 0x02 define WDT_CTL_CLEAR 0x02 define WDT_CTL_START 0x01 define WDT_CTL_STOP 0x00 define WDT_TYPE_DELAY 0x11 add delay time before watchdog starting define WDT_TYPE_PWRCYC 0x12 power cycle define WDT_TYPE_IRQ 0x13 issue I...

Page 77: ...S_PORT EC_STS_IBF if retries 0 return 0xFF return 0 ec_wait_obe uint8_t ec_wait_obe void uint16_t retries EC_RETRIES wait for the output buffer empty while inb STS_PORT EC_STS_OBF if retries 0 return 0xFF timeout obe inb DAT_PORT reading output buffer if OBF return 0 ec_wait_obf uint8_t ec_wait_obf void uint16_t retries EC_RETRIES wait for the output buffer full ...

Page 78: ...t8_t ctl uint8_t dev uint8_t len uint8_t dat uint8_t i uint8_t datp if cmd EC_CMD_MASK EC_CMD_READ memset dat 0 len cmd if ec_wait_ibe return 0xFF outb CMD_PORT cmd ctl if ec_wait_ibe return 0xFF outb DAT_PORT ctl dev if ec_wait_ibe return 0xFF outb DAT_PORT dev len if ec_wait_ibe return 0xFF outb DAT_PORT len dat datp dat if cmd EC_CMD_MASK EC_CMD_READ ...

Page 79: ...F datp inb DAT_PORT else write command for i 0 i len i if ec_wait_ibe return 0xFF outb DAT_PORT datp return 0 ec_wdt_setup uint8_t ec_wdt_setup uint8_t wdt_type uint32_t ms uint8_t buf 4 buf 0 ms 0 0xFF buf 1 ms 8 0xFF buf 2 ms 16 0xFF buf 3 ms 24 0xFF if ec_prot_trans WDT_CMD_WRITE wdt_type 0 4 buf return 0xFF return 0 ...

Page 80: ... WDT_CTL_START if ec_prot_trans WDT_CMD_WRITE WDT_CTL 0 1 buf return 0xFF return 0 ec_wdt_stop uint8_t ec_wdt_stop void uint8_t buf 2 buf 0 WDT_CTL_STOP if ec_prot_trans WDT_CMD_WRITE WDT_CTL 0 1 buf return 0xFF return 0 ec_wdt_clear need to be issued before watchdog time out uint8_t ...

Page 81: ...73 MIO 5850 User Manual Appendix D EC Watchdog Timer Sample Code ...

Page 82: ...ations are subject to change without notice No part of this publication may be reproduced in any form or by any means electronic photocopying recording or otherwise without prior written permis sion of the publisher All brand and product names are trademarks or registered trademarks of their respective companies Advantech Co Ltd 2018 ...

Reviews: