All Forums
 Microsoft Windows CE
 CE Drivers
 Plug-and-play device drivers (USB, CF)
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

KnowledgeBase

296 Posts

Posted - 26 Feb 2002 :  16:45:47  Show Profile  Email Poster
Q: I have a USB (or CompactFlash) device that I want to use in your system. What do I need to do to get it to work?

The PCMCIA, CompactFlash and USB standards fall into the class of "plug and play" device drivers. When the device is inserted, the computer queries it to determine what kind of device it is. The computer then attempts to load a matching device driver.

Many classes of devices are supported by current CE builds. These include many CompactFlash and USB memory devices, most USB keyboards and mice, NE2000-compatible Ethernet cards and some 802.11 cards.


Standard (RAM-based) Installation

If you insert the device and get a CE error message that the drivers were not found, you'll need to install them. The general process is:
  1. Acquire a Windows CE driver from the device vendor that is built for ARM processors.
    The driver is usually packed into a CAB file, and should install automatically (the CAB extractor will copy the driver into the Windows folder, modify the CE registry with settings for that card and install any additional application files).

  2. When you plug the device in, CE will load the drivers and the device should work as advertised.

Non-Volatile Installation

The standard installation works well for PDAs and other devices that are always powered up, but many embedded devices don't run off battery power and may be cold-booted on a regular basis. For these systems, a different approach is needed.

Generally, the approach is as follows:
  1. Extract the registry and driver files from the CAB file (see topic 168 for details)

  2. Add the registry entries to the ADSLOAD.REG file, load them with ADSREG.EXE and/or persist them.

  3. Create an ADSCopy script that copies the driver (DLL) to the Windows folder, then warm-boots the system (restart.exe).

  4. Place ADSCopy and its script file in the startup folder of the non-volatile FlashFX disk. This script will run every time the system boots.

The restart is required because the system drivers--including the FlashFX Disk driver--must be executed before the system can launch installer (more details at topic 513). A CE warm boot does not disturb drivers that have been copied into the file system.

Related topics: CAB files


Edited by akidder 15-Aug-2002: Add link to CAB topic.
Edited by akidder 12-Nov-2004: Expand topic to cover USB and CompactFlash devices. Change subject from "Using 3rd party PCMCIA cards". Move from "CE Flash, CF and PCMCIA" forum. Add more details about normal installation.
  Topic  
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000