========================================= Download Utility C2K - Build 20213 ========================================= When using notepad you should activate "word wrap" for correct view of this file. 0. System Requirements ====================== Operating systems supported: Windows 2000 / XP / Vista / 7 / 10 or newer (only 32bit for PS/2) 1. General ========== The C2K ("Copy to Keyboard") utility is for downloading a keytable (MWF or MWX file) into our keyboards under Windows. To create a keytable please use the latest WinProgrammer (or the Programmer for DOS for old-style keyboards). 2. Installation =============== The latest Download Utility C2K is now always included in the WinProgrammer installation package. Here a separate installation of the C2K utility is usually not necessary. C2K "Portable ZIP" package: With this package you can deploy only the C2K utility (as an alternative to the WinProgrammer full package). Just extract all files. For PS2 keyboards, you have to execute step 2.2 below in addition. 2.1 USB connected keyboards =========================== DriverPack and registering the keyhook.dll for USB keyboards is no longer necessary. Beginning with MwxUsb.dll Version 4.14.0.0, latest C2K portable package uses the local file "keyhook.dll" by default. Anyhow, for full compatibility to older versions/tools: Then register the "keyhook.dll" for USB into central place using: register-keyhook_USB_sys32.cmd 2.2 PS2 connected keyboards =========================== For PS2 connected keyboards, you must install the latest DriverPack including the necessary driver support. But due to this special hardware driver, only 32bit Windows versions are supported for PS2. Please refer to chapter "5. Troubleshooting" if C2K has problems to communicate with our PS2 keyboards. 3. Usage ======== Start C2K.EXE for dialog supported download. Drag&Drop is also supported to open the keytable MWF or MWX file. For automatical download you can either use the C2K.INI settings or command line as described below. 3.1. Standard Functions ======================= First you have to select * the correct interface where your keyboard is connected and * filename Then those Functions are vailable Button Function ------- -------- Compile Converts MWF (WinProgrammer) file to a MWX (binary) file. Write... Write MWX (binary) file into the keyboard (download). Read... Read keyboard's content as MWX (binary) file (upload). Note: Basically the "Read..." button is hidden by default. To enable this function, you have to set the following line in c2k.ini: Upload = 1 3.2. Extended Functions (Version Info) ====================================== The About dialogue displays the version info of all our DLLs. The button "Refresh" helps to check the communication with the keyboard. Button Function ------ -------- Refresh read out firmware version of the keyboard Create C2K log create a C2K.LOG file in the C2K directory 3.3. C2K.INI ============ In C2K.INI you can preselect some settings befor you start for C2K.EXE. Attention!!! C2K.INI need to be located in the same directory as C2K.EXE All settings are located in the section [Version3] or [C2K]. The old section structure will also be supported. File= The file to be used (MWX or MWF file). The selected filename will be shown in the filename entry of C2K.EXE. Autoload= If Autoload is set to '1' the selected filename (File = ) will be used for a automatical download. DefaultDir= With 'DefaultDir=' you can preselect the search directory for the browse button [...]. Interface= Preselects the Interface. Possible values are AT, COM1, COM2, COM3, COM4 and USB. If this setting is missing, the default interface from the registry is used. Upload= Enables/Disables the "Upload" function. Using the "Upload" function you can read out the keyboard's content as binary mwx file. Default: Upload=0, which means the button "Read..."/"Upload" is invisible. Example for C2K.INI: -------------------------------------------------------- [C2K] File = C:\preh\test.mwx Autoload = 0 Interface = USB Upload = 0 -------------------------------------------------------- 3.4 Command line parameters =========================== For batch scripts the following command line parameters can be used: /A Autoload /U USB Interface /P PS2 Interface Usage: c2k.exe /A "" Example: c2k.exe /A /U "c:\test\myfile.mwx" 4. Uninstall ============ If C2K was installed by the WinProgrammer "full" package, please refer to the Readme file for the WinProgrammer. 5. Troubleshooting ================== 5.1 Please do not touch your Mouse and the keyboard during programming the keyboard. 5.2 You can check communication using the about dialogue of WinProgrammer/C2K: Press the button "Read version" or "Refresh" - the keyboard should then output some version string. 5.3 When using PS/2 interface, always the first keyboard (directly connected to the computer) is programmed. PS/2 wedge scanners and also the internal keyboard of notebook computers can avoid proper communication PC->PrehKeyTec keyboard. 5.4 PS/2 Hardware driver installation topics: a) Proper communication and download may be impossible when having special PS/2 mouse drivers installed. Please use the standard Microsoft PS/2 mouse driver instead. b) PS/2 driver for Windows NT4.0: The installation program (DriverPack) will then replace the keyboard driver file "i8042prt.sys" automatically. If the keytable download is not possible, please check if the Preh driver is active for supporting the download: \winnt\system32\drivers\I8042prt.sys date 05/07/97, size 35072 Bytes, Version 3.51. c) PS/2 driver for Windows 2000/XP/Vista: If the keytable download is not possible, please check if the Preh filter driver is active for supporting the download: Windows Device Manager -> Keyboard -> Hardware: "Preh PS/2 Keyboard" should be visible here. d) PS/2 hardware driver on 64bit Systems: Programming PS2 keyboards is limited to 32bit only. A PS2 hardware driver for Windows-64bit OS is not available and not planned. ====================================================================== Annex ====================================================================== Copyright © Copyright PrehKeyTec GmbH 2020 Published by PrehKeyTec GmbH. PrehKeyTec GmbH reserves the right to update or change the products described in this document as well as the document itself, without prior notice. This document may not be reproduced, processed or translated into electronic form or other languages without the prior written permission of PrehKeyTec GmbH. Trademarks Brands and product names mentioned in this document are trademarks or registered trademarks of their owner. e.g: Windows: Trademark of Microsoft Corporation Help and Support Any questions or suggestions to improve our products are welcome. Please contact our technical support team: support@prehkeytec.de PrehKeyTec GmbH Scheinbergweg 10 D-97638 Mellrichstadt Germany Email: support@prehkeytec.de Web: www.prehkeytec.com