All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - ReadPCMCIA (CF Bus Driver)
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  


877 Posts

Posted - 24 Mar 2003 :  17:13:10  Show Profile  Email Poster

ReadPCMCIA.exe is designed as an example to demonstrate the use of the ADSCF2 PCMCIA/Compact Flash bus driver.

The ReadPCMCIA sample code (download link below) provides three different tests. These tests are implemented as different thread procedures. You will need to modify the code to call the thread procedure for the test you wish to run.

Key APIs Used


Lines of Code: 178
The available tests are:

  1. ReadWriteTest (default)
    This test generates a large block of random data. It then writes this data to the memory space of the PCMCIA slot such as a physical SRAM card, reads the data back, then compares the written and read data to ensure integrity.

    The sample continually cycles, modifying the MECR speed for the memory space, gradually getting faster to determine how fast the bus can be reliably used.

  2. This test can easily be modified to use the more-easily accessed CF bus of the Bitsy by simply changing the occurrences of the PCMCIA SLOT enum to CF

  3. ReadOnlyTest
    This test reads a block of data at the beginning of the CF Attribute Space (card tuple data) repeatedly. After each read, it compares the currently read data with the previous read to determine if the reads are consistent.

  4. EthernetDetect
    This test demonstrates how to extract personaitly-board hardware information by querying the chip ID and revision information from the ethernet chip of our standard Ethernet personality board.

Source Download
Rev 2 - March 24, 2003 (10k zip)

modified March 31, 03 - Added key APIs and LOC
 Forum 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.02 seconds. Snitz Forums 2000