Chapter 10: HDK Demo Application
About The HDK Demo Application
Psion Teklogix Omnii HDK User Manual
145
10.1
About The HDK Demo Application
The HDK Demo application provides some basic tools to verify communication with a USB,
UART serial or GPIO expansion device.
The application is intended for use primarily in conjunction with the breakout board accessory
described in Chapter 9: “Breakout Board”, which converts the TTL output from the expansion
port to the appropriate logic level for the type of device being tested (GPIO, UART, etc.). The
application may be used with a device connected directly to an Omnii expansion port, provided
the device performs this conversion.
10.2
Installing the HDK Demo Application
Before installing the HDK Demo application, you must first download and install the Windows
Embedded CE 6.0 development platform, and Omnii HDK development files on your computer.
See Section 4.7: “Omnii HDK Application Development Software” for instructions on installing
these packages.
1. Use an Omnii snap module or docking station with USB port to connect your Omnii to your
development PC. See the Omnii Hand-Held Computer User Manual for details on establish-
ing this connection so that files may be copied between the PC and Omnii.
2. Browse to the folder where you installed the HDK API files (default folder
C:\Program
Files\Windows CE Tools\wce600\PsionTeklogixCE600)
.
3. Browse to the
..\HDKDemoApp
subfolder.
4. Copy the file
HDKDemo.exe
to the Omnii
\Flash Disk
folder.
5. Copy the file
TestDriver.dll
to the Omnii
\Windows
folder.
6. Browse back to the original folder, and into the
..\Lib\ARMV4I
subfolder.
7. Copy the file
7545HDK.dll
to the Omnii
\Windows
folder.
8. Warm reset your Omnii by holding the [FN] key and the [ENTER/Power]
key simultaneously.
10.3
Modifying and Compiling the HDK Demo Application
You may wish to make your own alterations to the HDK Demo application program and build new
executable and library files. The source code to do this is provided in the
..\HDKDemoApp\Src
subfolder of the HDK API installation, within the file
HDKDemoSrc.zip
. Extract these files into a
folder on your development PC.
In Visual Studio 2008, open the project file
HDKDemoRelease.vcproj
to modify and compile the
HDKDemo.exe
file. Open the project file
TestDriver.vcproj
to modify and compile the
TestDriver.dll
file.
Note: Although only Visual Studio 2008 is supported for developing applications on the
Omnii HDK, the HDK Demo application is also supported on Visual Studio 2005.
To modify and compile these files using Visual Studio 2005, substitute the files
HDKDemoRelease VS2005.vcproj
and
TestDriverRelease VS2005.vcproj
for the project
files in the above paragraph.
Summary of Contents for OMNii HDK XT10
Page 4: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 20: ......
Page 24: ......
Page 26: ......
Page 32: ......
Page 72: ......
Page 90: ......
Page 92: ......
Page 116: ......
Page 124: ......
Page 126: ......
Page 130: ......
Page 132: ......
Page 154: ......
Page 168: ......
Page 170: ......
Page 182: ......
Page 184: ......
Page 188: ......