=============================================================================

   User Manual for MOXA Smartio/Industio-PCI,PC/104-Plus Windows CE5 Driver for x86 Platform 
                   Copyright (C) 2008, Moxa Inc.
	
=============================================================================
Date: 10/01/2008

CONTENTS

0. Note
1. Introduction
2. Installation with an installation package
   2.1 Installation procedure   
   2.2 Removing driver on a target
3. Appendix
   3.1 Change COM number in the registry
   3.2 Disable/Enable FIFO

-----------------------------------------------------------------------------
0. Note

   0.1 MOXA Smartio/Industio-PCI,PC/104-Plus driver Windows CE5 supports two prifix names, 
       "COM" and "MXU".You may only choose one (MXU or COM) for your OS design. 
       If your serial port number will overrun 10,you must choose prifix MXU because of
       the limitation of Windows CE5.
   0.2 MOXA Smartio/Industio-PCI,PC/104-Plus driver Windows CE5 supports 
       four multi Moxa Smartio/Industio cards.
        

-----------------------------------------------------------------------------
1. Introduction

   This document provides the procedure to install MOXA Smartio/Industio-PCI,PC/104-Plus
   Windows CE5 Driver to a OS design.
   
   1.1 Supported Products
   
       The following products are supported by Moxa in WinCE 5.0:
       
        CP-132	   CP-104EL	  CP-134U_V2
	CP-132I	   CP-168EL	  CP-134U-I
	CP-132S	   CP-118EL	  CP-134U-I_V2
	CP-132IS   CP-102U	  CP-114UL
	CP-102	   CP-102UL	  CP-118U
	CP-102S	   CP-132UL	  CP-118U-I
	C104H/PCI  CP-132UL_V2	  CP-138U
	C104HS/PCI CP-132UL-I	  CP-138U-I
	CP-114	   CP-132UL-I_V2  CP-168U
	CP-114I	   CP-104UL	  CP-168U_V2
	CP-114S	   CP-104UL_V2	  CP-102UF-M-ST
	CP-114IS   CP-104JU	  CP-102UF-S-ST
	POS-104UL  CP-104JU_V2
	C168H/PCI  CP-134U
	
	CB-114
	CB-134I
	CB-108

 
----------------------------------------------------------------------------- 
2. Installation with an installation package

   2.1 Installation procedure
 
       1)  Obtain a copy of MOXA Smartio/Industio-PCI,PC/104-Plus WinCE 5.0 driver package and extract it to
           your computer. Double click the installation package and it will automatically copy 
           the Mxser folder to "\WINCE500\PLATFORM\" (e.g. C:\WINCE500\PLATFORM\Mxser) and 
           import Moxa Smartio/Industio WinCE 5.0 driver into the "Catalog".
       
       2)  Open your workspace in Platform Builder.
       
       3)  Open the "Manage Catalog Items" (View-> Catalog).
       
       4)  You will find MOXA Smartio/Industio-PCI,PC/104-Plus WinCE 5.0 driver in "Third Party" folder.
          
       5)  Right-click on the driver "Mutiport Serial Board (Prefix COM)" or 
           "Mutiport Serial Board (Prefix MXU)" and then choose "Add to OS Design".
          
       6)  After adding the driver, you will find it in your workspace.
   
       7)  Now you can start to build your OS and downlaod it into a target.
  
   2.2 Removing driver on a target
              
       1) In the "OSDesign View", delete "Mutiport Serial Board (Prefix XXX)" in Device Drivers\
           MOXA Smartio/Industio-PCI,PC/104-Plus (Choose 1) folder.
          
       2) Build your OS again and downlaod it into a target.

   

3. Appendix

       If you have a prefered COM number for a default setting, follow the steps
       to modify the registry in your OS Design.

   3.1 Change default COM number in the registry
       
       1) Find in "Projects->mxserce5->Parameter files->mxserce5.reg" in "FileView".
          (or find in "mxserce5.reg" in "\WINCE500\PLATFORM\Mxser")
       2) Add " "index"=dword:N " (N is the COM number you prefered.) 
          in [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\MOXAPCIXXX].
       3) For example, install a  MOXA Smartio/Industio-PCI,PC/104-Plus with prefix COM as COM2 in a WinCE device:
	  IF PCICOM
	  [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\MOXAPCICOM]
	   "Dll"="mxser_com.Dll"
	   "Prefix"="COM"
	   "VendorID"=multi_sz:"1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393"
	   "DeviceID"=multi_sz:"1022","1021","1321","1020","1041","1042","1340","1143","1043","1180","1380","1681","1682","1181","1080","1142","1341","1044"
	   "Class"=dword:07
	   "SubClass"=dword:00
	   "index"=dword:2            ---->(This is your serial port number)
	   "IsrDll"="mxisr.dll"
	   "IsrHandler"="ISRHandler"
	   "Tsp"="Unimodem.dll"
	   "DeviceArrayIndex"=dword:0
	   "Order"=dword:0
	   "DeviceType"=dword:0
	   "FIFO"=dword:1 
	   "CHIP"= dword:1
	   
   3.2 Disable/Enable FIFO
   
        If you want change FIFO default setting to Enable or Disable, follow the setps of 3.1 to modify the
        "FIFO" of registry in your OS Design.
        
	  [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\MOXAPCICOM]
	   "Dll"="mxser_com.Dll"
	   "Prefix"="COM"
	   "VendorID"=multi_sz:"1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393","1393"
	   "DeviceID"=multi_sz:"1022","1021","1321","1020","1041","1042","1340","1143","1043","1180","1380","1681","1682","1181","1080","1142","1341","1044"
	   "Class"=dword:07
	   "SubClass"=dword:00
	   "index"=dword:2            ---->(This is your serial port number)
	   "IsrDll"="mxisr.dll"
	   "IsrHandler"="ISRHandler"
	   "Tsp"="Unimodem.dll"
	   "DeviceArrayIndex"=dword:0
	   "Order"=dword:0
	   "DeviceType"=dword:0
	   "FIFO"=dword:1             ----> (This property is setting FIFO Enable or Disable. this property can be ignored. (0:Disable,1:Enable)default is Enable.
	   "CHIP"= dword:1
                 	      	      
-----------------------------------------------------------------------------



