PenMount 6000 Serial Driver for Windows CE.Net(4.2) Version 1.1
For CE.NET Developers: 

Please make sure your Win CE cursor can move around well with a serial mouse 
attached to the target com port(e.g. COM2) before connecting dmc9x00 device.

1. mkdir $(_WINCEROOT)\PUBLIC\PENMOUNT\ReleaseDisk\
   And Copy All files to this directory.

2. Run Platform Builder. From menu, select Tools -> CEC Editors

3. From CEC Editors menu, select File -> Open 
   From the file dialog, select $(_WINCEROOT)\PUBLIC\PENMOUNT\ReleaseDisk\PM6000S.cec and click Open.
   From CEC Editors menu, select Catalog -> Add to Catalog

4. Return Platform Builder and right-click on the Catalog and select Refresh Catalog. 
   A New item named "PenMount Products" should appear in your Catalog.

5. Expand it and select 'PenMount'. Then right-click and select 'Add to Platform'.

6. Edit the PROJECT.BIB in the Parameter View of MS WinCE Platform Builder 4.x.
   Add these lines in MODULES:
   
   	PM6000S.dll    $(_FLATRELEASEDIR)\PM6000S.dll       NK  SH
	drawdemo.exe   $(_FLATRELEASEDIR)\drawdemo.exe      NK  	
	calibrate.exe  $(_FLATRELEASEDIR)\calibrate.exe     NK  
	rbutton.exe    $(_FLATRELEASEDIR)\rbutton.exe       NK  
	
   Add these lines in FILES:	

	Calibration.lnk $(_FLATRELEASEDIR)\calibration.lnk  NK  SH   
   	DrawDemo.lnk    $(_FLATRELEASEDIR)\DrawDemo.lnk     NK  SH
   	RightButton.lnk $(_FLATRELEASEDIR)\RightButton.lnk  NK  SH
   	
7. Edit the PROJECT.DAT in the Parameter View of MS WinCE Platform Builder 4.x.
   Add these lines:
   
        root:-Directory("\Windows")
        Directory("\Windows"):-Directory("LOC_DESKTOP_DIR")
        Directory("\Windows"):-Directory("LOC_PROGRAMS_DIR")
	Directory("\Windows\LOC_PROGRAMS_DIR"):-Directory("PenMount TouchPanel")
        Directory("\Windows\LOC_DESKTOP_DIR"):-File("Calibration.lnk","\Windows\Calibration.lnk")
        Directory("\Windows\LOC_PROGRAMS_DIR\PenMount TouchPanel"):-File("Calibration.lnk","\Windows\Calibration.lnk")
        Directory("\Windows\LOC_PROGRAMS_DIR\PenMount TouchPanel"):-File("Right Button.lnk","\Windows\RightButton.lnk")	
        Directory("\Windows\LOC_PROGRAMS_DIR\PenMount TouchPanel"):-File("Draw Demo.lnk","\Windows\DrawDemo.lnk")


8. Edit the PROJECT.REG in the Parameter View of MS WinCE Platform Builder 4.x.      
   Add these lines:   

	[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PM6000S]
	   "Index"=dword:8
	   "Dll"="PM6000S.dll"   
	   "Prefix"="SRM"
	   "Order"=dword:3
	   "Port"=dword:1
	   "pmode"=dword:1
	   "cax1"=dword:1240
	   "cay1"=dword:2c50
	   "cax2"=dword:dab0
	   "cay2"=dword:e2a0

  
  ( You can change the both "port" to the ComPort number which is connected to PM6000S. 
     "Port"=dword:1 means com1 in CEPC system, but that is com2 of the Standard PC.
     Com1 of the Standard PC is for debugging in CEPC)    
     Please refer to MS WinCE documents. )
     
9. Build your Platform(use "Build Platform", not "Rebuild"), and boot it. Execute Calibration and DrawDemo to test PM6000S.

10. If you want to keep the calibration data after WINCE reboot, please write "WINCE REGISTRY" to FLASH in your machine.


Copyright (c) By Dialogue Technology Corp. All rights reserved. 
05/01/2007
