| Table of contents |
Windows CE is an embedded operating system created by Microsoft. It targets embedded systems with limited physical space, both RAM and storage space, that require real-time performance.
Customers are allowed to customize the OS to only include features that are needed and write applications using API similar to those found on its desktop counterparts.
Diamond Systems provides universal driver version 6.00 for Windows CE version 6.0.
For more inquires contact support@diamondsystems.com
The UD for Windows CE 6.0 is avaialble in a DLL format. The UD driver is separated into two different library files.
DSCUD.DLL - This is a kernel level driver file which handles interrupts. DSCUD_API.DLL - This is a user level DLL which needs to be statically linked with the user application. DSCUD.H - Include file which needs to be included with the user application.
The above lilsted files need to be available in a platform that the user has built in order to have UD driver available in the NK.BIN file.
DSCUD.DLL is required to be present in the project.reg registry file. The Project.reg file can be found in the Solutions explorer tab of Platform Builder.
The project.reg file must have the following entries for DSCUD to work.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DSCUD]
"Dll"="dscud.dll"
"Prefix"="DSC"
"Order"=dword:1
"SysIntr"=dword:15 ; IRQ 5
"Index"=dword:1
"Flags"=dword:10
"UserProcGroup"=dword:3
The above entries are required so that the kernel can load DSCUD.DLL file automatically when the operating system boots. All the above described entries must be present in the registry. The SysIntr value is the value of the IRQ used by the DAQ circuitry + SYSINTR_FIRMWARE ( 0x10 ). If the board is going to use some other IRQ, the SysIntr value in the registry MUST be changed to reflect the change.
If the SysIntr value does not correspond to the IRQ for the DAQ circuit, the driver will not be able to handle interrupt requests.
For running the compiled EXE from the image, make sure that the DSCUD_API.DLL and DSCUD.DLL are both present in the Project.bib file of the platform.
MODULES
dscud.dll $(_FLATRELEASEDIR)\dscud.dll NK SH dscud_api.dll $(_FLATRELEASEDIR)\dscud_api.dll NK SH
Diamond Systems provides example programs for all our products. Users can download the demos at http://www.diamondsystems.com/support/software. Users may need to modify the path of libraries and include files
This page was last modified 05:23, 2 Apr 2009.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.