TSCOM - Touchscreen Drivers/Utilities Installation
******************************************************************
Version 3.0.3.3 for Windows CE 3.0 (CEPC:x86)
----
NOTE: Remove old/other version before install.
Version 3.0.x.x for Windows CE 3.0
Version 4.0.x.x for Windows CE .NET 4.0
Version 4.1.x.x for Windows CE .NET 4.1
Version 4.2.x.x for Windows CE .NET 4.2
----
1. Run Platform Builder.
2. Open your platform.
3. Removing the Touchscreen Feature from your platform.
. Choose the TSCOM feature in the ComponentView window.
. Right-click, and then choose Delete.
4. Removing the Touchscreen Feature from the Catalog
. From the File menu, choose Manage Catalog Features.
. Select tswcecom.cec from the list.
. Click on the Remove button and then choose Yes.
. Click on the Refresh button to update the Catalog.
. Click on the OK button.
5. Removing C:\TSWCECOM directory.
INSTALLATION
Step 1: Unzip TSWCECOM_V3033.zip to C:\TSWCECOM directory.
Step 2: Run Platform Builder
Step 3: Importing the Touchscreen Feature to the Catalog.
. From the File menu, choose Manage Platform Builder Catalog Features.
. Select Import New.
. In the Import Catalog Features dialog box, locate to C:\TSWCECOM directory.
. Select the tswcecom.cec file and then choose Open.
. Choose the Refresh button to update the Catalog.
. Choose OK.
. The TSCOM feature appears in the Catalog (Touchscreen|TSCOM-Touchscreen).
Step 4: Open/create your platform.
Step 5: Adding the Touchscreen Feature from the Catalog to your platform.
. Choose the TSCOM feature from the Catalog window (Touchscreen|TSCOM-Touchscreen).
. Right-click, and then choose Add to Platform.
Step 6: Editing PROJECT.BIB file.
. Add the following line to the MODULES section of PROJECT.REG file:
; ----- TouchScreen (RS-232)
IF TSCOM_Touchscreen
tswcecom.dll $(_FLATRELEASEDIR)\tswcecom.dll NK SH
ENDIF
. Add the following lines to the FILES section of PROJECT.REG file:
; ----- TouchScreen (RS-232)
IF TSCOM_Touchscreen
tswceccp.exe $(_FLATRELEASEDIR)\tswceccp.exe NK
tswcecct.exe $(_FLATRELEASEDIR)\tswcecct.exe NK
tswcecrb.exe $(_FLATRELEASEDIR)\tswcecrb.exe NK
ENDIF
Step 7: Editing PROJECT.REG file.
. Add the following lines to PROJECT.REG file:
; ----- TouchScreen (RS-232)
IF TSCOM_Touchscreen
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TSWCECOM]
"Dll"="tswcecom.dll"
"Prefix"="TSC"
"Ioctl"=dword:0
"Index"=dword:1
"Order"=dword:1
"Model"="TS"
; ------------------------------------------
; 1=COM1,2=COM2,3=COM3 ...
; ------------------------------------------
"Port"=dword:1
; ------------------------------------------
; 1=NO SOUND
; 2=TOUCH DOWN ONLY
; 3=LIFT OFF ONLY
; 4=BOTH TOUCH DOWN AND LIFT OFF
; ------------------------------------------
"FeedbackSound"=dword:4
"FeedbackTone"=dword:7D0
"FeedbackDuration"=dword:1
; ------------------------------------------
; Run OEM program when calibration OK
; ------------------------------------------
;"OemRunWhenCalOK"="\\Windows\\TSWCEPCT.EXE"
; ------------------------------------------
; Default Calibration Data
; X1=0,X2=3FFh(1023),Y1=0,Y2=3FFh(1023)
; ------------------------------------------
"CalibrationX1"=dword:0
"CalibrationX2"=dword:3FF
"CalibrationY1"=dword:0
"CalibrationY2"=dword:3FF
ENDIF
. Modify the value of "Port" to the number of the COM Port of which the TouchScreen
Controller to use.
----
NOTE: Normally, the number of the COM Port are defined as following:
Serial Port 1 of hardware (3F8) = "COM1"
Serial Port 2 of hardware (2F8) = "COM2"
Serial Port 3 of hardware (3E8) = "COM3"
Serial Port 4 of hardware (2E8) = "COM4"
...
If your pltform using the Debuger/Download via Serial Port, the number of the
COM Port will be chenged as following:
Serial Port 1 of hardware (3F8) = FOR DEBUGER ONLY
Serial Port 2 of hardware (2F8) = "COM1"
Serial Port 3 of hardware (3E8) = "COM2"
Serial Port 4 of hardware (2E8) = "COM3"
...
In this case, if the TouchScreen Controller useing Serial Port 2 of hardware,
the value of "Port" must set to 1 ("Port"=dword:1).
----
Step 8: Click on Build Platform icon to build and make image.
Step 9: Download the OS Image to your target device.
Normally, the following messages will shows in the Debug window when CE booting:
TSWCECOM: Driver Version 3.0.3.3
TSWCECOM: Detecting [TS] device on COM1...
TSWCECOM: TouchScreen found on COM1:.
TSWCECOM: Calibration(X,Y)=(0,0)/(1023,1023)/(1024,1024)
TSWCECOM: Device IO Control Test ... Pass
CALIBRATION
To calibrate the touchscreen, run \Windows\TSWCECCP.EXE
----
NOTE: The calibration values are stored in the Registry. Windows CE saves the Registry in RAM,
which is volatile, the updates to the Registry are lose upon subsequent boot-up. To avoid
re-calibration each time boot-up, you must have a persistent registry.
There are a two schemes suggested by Microsoft to retain registry data when unpowered:
1. Using Battery-backed RAM.
Battery-backed RAM is non-volatile memory electronically attached to a battery.
When the computer is turned off the battery retains the memory holding calibration
values in the registry.
2. Using external non-volatile storage.
Windows CE provides functions for saving and restoring the Registry to and from external
non-volatile storage such as Linear Flash Memory devices. For more information,
see "Initializing a Registry Based in RAM" in Platform Builder Help.
----
UTILITIES
To change feedback sound, run \Windows\TSWCECCT.EXE
To enable right-button function manually, run \Windows\TSWCECRB.EXE
-----------------
END OF FILE
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.