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

   User Manual for MOXA Smartio/Industio-PCI,PC/104-Plus Windows CE6 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 Windows CE6 driver supports 
       four multi Moxa Smartio/Industio cards.
        

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

   This document provides the procedure to install MOXA Smartio/Industio-PCI,PC/104-Plus
   Windows CE6 Driver to a OS design.
   
   1.1 Supported products
   
       The following products are supported by Moxa in WinCE 6.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 6.0 driver package and extract it to
           your computer. Double click the installation package and it will automatically copy 
           the Mxser folder to C:\MOXADRV\wince600\Mxser). 
       
       2)  Launch Visual Studio 2005 with Platform Builder WinCE6.0. 
           Open your OSDesign which you want to install MOXA Smartio/Industio-PCI,PC/104-Plus Driver. 
       
       3)  Select Project -> Add Existing Subproject.
       
       4)  Switch the folder to C:\MOXADRV\wince600\Mxser and to add subprojects into your OSDesign,
           Choose the pbpxml file. (i.e.mxserce6.pbpxml).
 
       5)  After you add catalog items, you will find the subprojects inside your OSDesign.
          
       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 "Solution Explorer", delete "mxserce6" project in Subprojects 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 "Subprojects->mxserce6->Parameter files->mxserCE6.reg" in "FileView".
          (or find in "mxserCE6.reg" in "C:\MOXADRV\wince600\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 you 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 you 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
                 	      	      
-----------------------------------------------------------------------------



