Flash Memory Read/Write and Performance Test Cases (Windows CE 5.0)
The following table shows the test cases for the Flash Memory Read/Write and Performance Test.
Warning During the test, all information on the storage device is destroyed. The test writes to and reads from sectors on the storage device without preserving the contents of the sectors. Microsoft recommends that you back up data on all cards and disks that are attached to the tested device before running the test.
Test case | Description |
---|---|
1001: Repeat at sector zero | Writes data repeatedly to sector zero and reads it back. The total count of write operations is equal to the number of sectors multiplied by the value specified in the /repeat command-line parameter.
This test case fails if the driver does not support formatting, reading, or writing. It also fails if the data read is not the same as the data written. |
1002: Repeat sector sequential | Writes data to each sector in sequence, starting at sector zero. The total count of write operations is equal to the number of sectors multiplied by the value specified in the /repeat command line parameter.
This test case fails if the driver does not support formatting, reading, or writing. It also fails if the data read is not the same as the data written. |
1003: Repeat sector random | Writes data to randomly selected locations. The total count of write operations is equal to the number of sectors multiplied by the value specified in the /repeat command-line parameter.
This test case fails if the driver does not support formatting, reading, or writing. It also fails if the data read is not the same as the data written. |
1004: Repeat write on filled disk | Writes to every sector of the disk until it is full, and then deletes and writes repeatedly to a single location.
This test case fails if the driver does not support formatting, deleting, reading, or writing. It also fails if the data read is not the same as the data written. |
2000-2095: Fill FLASH linearly, and test read/write throughput | Fills the disk to XX percent, where 20XX is the number of the test case, by writing data to each sector in sequence starting from sector zero. After the disk fills to the specified percentage, read/write performance is tested.
These test cases fail if the driver does not support formatting, deleting, reading, or writing. They also fail if the data read is not the same as the data written. |
3000-3095: Fill FLASH randomly and test read/write throughput | Fills the disk to XX percent, where 30XX is the number of the test case, by writing data to random sector locations. After the disk fills to the specified percentage, read/write performance is tested.
These test cases fail if the driver does not support formatting, deleting, reading, or writing. They also fail if the data read is not the same as the data written. |
4000-4095: Fill FLASH fragmented and test read/write throughput | Fills the disk to XX percent, where 40XX is the number of the test case, in a way that maximizes fragmentation of free space. After the disk fills to the specified percentage, read/write performance is tested.
These test cases fail if the driver does not support formatting, deleting, reading, or writing. They also fail if the data read is not the same as the data written. |
5000-5095: Fill FLASH completely, free linearly and test read/write throughput | Fills the disk to 100% of capacity, and then frees XX percent of sectors consecutively starting at sector zero, where 50XX is the number of the test case. After space is freed to the specified percentage, read/write performance is tested.
These test cases fail if the driver does not support formatting, deleting, reading, or writing. They also fail if the data read is not the same as the data written. |
6000-6095: Fill FLASH completely, free randomly and test read/write throughput | Fills the disk to 100% of capacity, and then frees XX percent of sectors randomly, where 60XX is the number of the test case. After space is freed to the specified percentage, read/write performance is tested.
These test cases fail if the driver does not support formatting, deleting, reading, or writing. They also fail if the data read is not the same as the data written. |
7000-7095: Fill FLASH completely, free fragmented and test read/write throughput | Fills the disk to 100% of capacity, and then frees XX percent of sectors in a way that maximizes fragmentation of free space, where 70XX is the number of the test case. After space is freed to the specified percentage, read/write performance is tested.
These test cases fail if the driver does not support formatting, deleting, reading, or writing. They also fail if the data read is not the same as the data written. |
See Also
Modifying the Flash Memory Read/Write and Performance Test
Send Feedback on this topic to the authors