Chapter 10: HDK Demo Application
Connecting the Hardware
Psion Teklogix Omnii HDK User Manual
147
GPIO Device Registry Keys
As there is no default GPIO driver on Omnii, additional subkeys and values must be created to
load the TestDriver.dll driver. This driver can only be loaded for one expansion port at a time.
4. After the registry entries have been completed, reset your Omnii by holding down the
[
FN
] and [
Power/ENTER
] keys for at least three seconds.
10.5
Connecting the Hardware
Connect the breakout board to one of the expansion ports on your Omnii, as described in
Section 9.4: “Connecting to Omnii”.
Connecting to the Omnii expansion ports requires removing the back cover of the unit. A T10 and
a T6 Torx screwdriver are required to do this.
10.5.1 Remove the Omnii Back Cover
1. Power Omnii off.
2. If a pod is installed on the expansion back cover, it should be removed first:
i.
Remove the four T10 Torx screws securing the pod to the back cover.
ii. Lift the pod from the unit.
iii. Disconnect the flex cable from the pod expansion module.
3. Remove the eight T10 Torx screws holding the back cover to the main housing.
4. Remove the two T6 Torx screws at the top of the display on the front of the unit.
5. Gently lift the back cover from the main housing to allow access to the cables that are
still attached.
6. Disconnect any cables attaching the back cover to the main unit (trigger switch,
scanner/imager, speaker, camera, GPS antenna are all possibilities).
7. Remove the back cover module.
; Registry entry for a GPIO device
;
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix Exp1_GPIO]
; EEPROM Manufacturer field = “Psion Teklogix”, EEPROM Model field = “Exp1_GPIO”
“Name”=sz:”GPIO Device”
“ConnectorId”=dword:0 ;0 = Expansion Port 1 (End-Cap Expansion)
“PinFunctions”=dword:0 ;0x00 = Set pins 0-7 for GPIO function
“PowerMode”=dword:1 ;Power off in suspend, power on on resume
; Create the following subkeys and values to load the GPIO driver
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix\Exp1_GPIO\Driver]
“Prefix”=sz:“TST”
“Dll”=sz:”TestDriver.dll” ;Driver filename
“Index”=dword:1 ;Index = Expansion port #
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix Exp1_GPIO\RegCopy]
“Drivers\\BuiltIn\\Peripherals\\devices\\0\\Psion Teklogix Exp1_GPIO\\Driver”
=sz:“Drivers\\BuiltIn\\Peripherals\\devices\\active\\0\\Psion Teklogix Exp1_GPIO”
Warning: Exercise extreme caution if operating Omnii with the back cover removed. The unit
may be damaged if anything makes contact with the exposed circuitry while it is
powered on.
Содержание OMNii HDK XT10
Страница 4: ......
Страница 10: ......
Страница 12: ......
Страница 18: ......
Страница 20: ......
Страница 24: ......
Страница 26: ......
Страница 32: ......
Страница 72: ......
Страница 90: ......
Страница 92: ......
Страница 116: ......
Страница 124: ......
Страница 126: ......
Страница 130: ......
Страница 132: ......
Страница 154: ......
Страница 168: ......
Страница 170: ......
Страница 182: ......
Страница 184: ......
Страница 188: ......