File corruption on USB drive using exFAT or TexFAT

Hi,

We’re having a problem with TexFAT formatted USB drives where they disappear from the file system after a few hours. I found that I could significantly reduce the frequency of the problem by re-organizing my code so that only one thread writes to USB and time is allowed between each write for the OS to update the TexFAT journal.

This issue sounds a bit like this bug reported by Microsoft back in 2017:
FIX: The file system of an exFAT-formatted storage device that is attached to a Windows Embedded Compact 7-based device may become corrupted when multiple threads create and write files on the storage device | Microsoft Support

That bug refers to exFAT rather than TexFAT but they are closely related. The bug report refers to file corruption, which I don’t see - I see the USB drive just drop out of the system. The bug report says the problem is caused when, “You run an application that starts multiple threads that create and write files on the storage device” which does closely match what I figured out myself.

My question for today is: is the fix for this already included in WinCE 7 image 1.9 for the Colibri iMX6? The post from Microsoft says the fix was included in the monthly WinCE 7 update in May 2012 and image 1.9 was released in May 2024 with the note, “WinCE 7 Updates: Installed until 2021M03”

I assume that this fix is in that image, but I just want to double check to be sure.

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I understand you’re experiencing issues with TexFAT/exFAT formatted USB drives on your Colibri iMX6 running Windows Embedded Compact 7, and you’re trying to determine if the Microsoft fix from May 2012 is included in WinCE 7 image 1.9.

Based on your description, WinCE 7 image 1.9 for Colibri iMX6 was released in May 2024 and includes WinCE 7 updates through March 2021 (“2021M03”). Since the Microsoft fix you referenced was released in May 2012, and your image includes updates through March 2021, it should theoretically include that fix.

However, I cannot definitively confirm from the available documentation whether this specific Microsoft patch (KB2956485 or the May 2012 update) is explicitly included in the Toradex WinCE 7 image 1.9 for Colibri iMX6.

Important Note: Please be aware that Toradex has issued an End-of-Life (EOL) notice for Colibri iMX6 modules with WinCE(1). The Colibri iMX6 with WinCE is now considered a legacy product, and Toradex recommends migrating to Linux-based operating systems such as Torizon OS for continued support and updates(1).

For technical questions specific to your WinCE configuration and to verify the inclusion of specific Microsoft patches, I recommend contacting Toradex technical support directly at support@toradex.com(1).

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.