Project: USBkey.prj This project demonstrates how to configure the C541U as a full speed Human Interface Device (HID). This example fools the PC into thinking that the C541U is a keyboard. The C541U then send "keystrokes" to the PC. This example requires Windows 98. This example requires a CA or later step of the C541U. IF YOU ARE USING THE EVALUATION VERSION OF THE KEIL TOOLS: This example slightly exceeds the 2k Code size limitation of the evaluation version of the Keil tools. Adventuresome programmers can try to shorten this application by shortening the number of "keystrokes" stored in the code memory. To run this example: 1. You must program the kitCON flash with the file USBkey.hex (see kitCON hardware manual for instructions on programming the kitCON flash). 2. Make sure your Windows 98 CD is in the CDROM drive. 3. Open a text editor window (such as "WordPad" or "Notebook") and make sure the window is active. 4. Connect the kitCON-541 to the USB. 5. When the PC asks for a driver, point it to the Windows 98 CDROM and the HID driver. 6. When the PC is finished loading the driver, the text editor window should still be active. 7. You should see the first page of the C541U data sheet appear in the text editor window. IF YOU ARE USING THE FULL VERSION OF THE KEIL TOOLS (or if you have shortened the code): BEFORE YOU RUN THIS EXAMPLE COPY THIS DIRECTORY TO YOUR HARD DRIVE! To run this example: 1. Open the project USBkey.prj using the Keil uVision embedded development environment. 2. Build the project by selecting "\Project\Make: Build Project" from the pulldown menus or press the "Build All" button on the toolbar. You have 2 options for running this example on the kitCON-541 evaluation board: A. Program the kitCON flash with the file USBkey.hex (see kitCON hardware manual for instructions on programming the kitCON flash). B. Use dScope: For this option, the appropriate Keil monitor program must be programmed into the kitCON flash. See the "Getting Started" Manual for the location of this file. Press the "Debug" button on the uVision toolbar or select the pulldown menu option "\Run\dScope Debugger..." From the dScope file menu, select "Load CPU driver...". Choose "mon51.dll" From the dScope file menu, select "Load object file...". Choose "USBkey." From the dScope debug window press "Go!" 3. Make sure your Windows 98 CD is in the CDROM drive. 4. Open a text editor window (such as "WordPad" or "Notebook") and make sure the window is active. 5. Connect the kitCON-541 to the USB. 6. When the PC asks for a driver, point it to the Windows 98 CDROM and the HID driver. 7. When the PC is finished loading the driver, the text editor window should still be active. 8. You should see the first page of the C541U data sheet appear in the text editor window. The PC will only ask for the driver the first time you run this example (after the first time, the driver will be loaded automatically).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.