CardProbe Development Tool

Version 1.00
Copyright ©2001 Tapani J. Otala

June 4, 2001

Purpose

This development tool is intended for diagnosing problems with PCMCIA and CompactFlash cards. If you are not a developer, I do not recommend using this tool. It requires at least basic understanding of the card driver registration and processing.

This tool is a skeleton driver that is loaded when a card is inserted into the slot. The driver will then probe the card for its configuration information and write it into a log file named \CardProbe.log. If the log file exists on the system already, the new information is appended at the end of the file. Along the way you will see a total of 8 message boxes:

  1. DLL_PROCESS_ATTACH
  2. Entering ProbeCard
  3. Leaving ProbeCard
  4. DLL_PROCESS_DETACH
  5. DLL_PROCESS_ATTACH
  6. Entering XXX_Init
  7. Leaving XXX_Init
  8. DLL_PROCESS_DETACH

Once you see the last message box, you can remove the card from the slot and inspect the log file.

Important Notes: this tool disables most cards inserted into the system until the probe driver is removed from the system. This is necessary in order for the probe driver to get first chance at probing new cards inserted into the system. The reason I said "most" in the previous sentence is that this rule does not apply to any cards known to the system by a specific plug-and-play identifier. Such cards are not subject to the sequential detection scheme employed by PCMCIA.DLL. If you need to probe a card that is already known to the system, you will need to temporarily rename or delete its plug-and-play identifier in the HKEY_LOCAL_MACHINE\Drivers\PCMCIA registry key.

If you want to temporarily disable this tool, you can do so by renaming the HKEY_LOCAL_MACHINE\Drivers\PCMCIA\Detect\01 key to a high enough number (e.g. 100) so that it will be tested last if at all.

Tested Configurations

If you try this driver successfully on other configurations, I would appreciate knowing about it.

Installation

  1. Extract the ZIP file contents to a temporary folder on your desktop PC.
  2. Execute the SETUP.EXE file from the temporary folder. It will launch the Windows CE Application Manager which will guide you through the rest of the installation.
  3. Once Windows CE Application Manager has completed the processing, you may delete the files from the temporary folder.

Removal

  1. Remove any PCMCIA cards from your PocketPC.
  2. Start Windows CE Application Manager (in ActiveSync, select Tools|Add/Remove Programs...).
  3. Select TJOtala CardProbe and click on Remove.

Legalese

This driver is copyright ©2001 Tapani Otala. You can freely install it as many times as you want, on as many system as you want. You can also freely copy it as many times as you want, so long as this entire release package is provided with it. You cannot remove this copyright notice, or charge money for copies of the software beyond a reasonable fee for shipping and handling.

This software is provided as-is. I believe it to be reasonably free of bugs. However, if it should reduce your PocketPC into a smoldering heap of plastic and metal, well, that's just too bad. I would appreciate hearing about it, though, if for nothing else than to figure out how I managed to do it.

Author

Tapani Otala (tapani@tjotala.com)