Data that is stored on a flash media device on a Windows Embedded CE 6.0 R3-based device may be corrupted


Consider the following scenario:
  • You have a Windows Embedded CE 6.0 R3-based device.
  • You try to write data to a flash media device on the Windows Embedded CE 6.0 R3-based device.
  • The flash media uses the transaction-safe file allocation table (TFAT) file system.
In this scenario, the data that is stored on the flash media device may be corrupted. This may cause one of the following issues:
  • Applications that use the data report an error.
  • You cannot use the Windows Embedded CE 6.0 R3-based run-time image when you restart the device.


This issue occurs because the Flash Abstraction Layer (FAL) inserts the same flash sector two times in the free sector list of Sector Manager. Therefore, when a used flash sector is used again as a free sector, data corruption occurs.


Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Platform Builder Monthly Update (March 2011). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows Embedded CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows Embedded CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows Embedded CE Platform Builder products

Note This Windows Embedded CE 6.0 Monthly Update is also available for download from the following Microsoft Download Center website:


To apply this software update, you must have all previously issued software updates for this product installed.

Restart requirement

After you install this software update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any updates.

File information

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Installer files
File nameFile sizeDateTime
Files that are included in this hotfix package
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb2519657.htm7,96731-Mar-201118:12110331_kb2519657


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates