We are currently investigating SD card communication issues on our platform PalControl based on Windows Embedded Compact 2013 and on the Colibri iMX6 BSP.
The currently used “Transcend 4 GB SDHC Class 10” cards will only be available for a limited time (~6 months) and we are looking for a replacement. We found that
4 GB SD cards are not available anymore in high volumes. Therefore we need to use SD with higher capacity. We are testing SD Card from different vendors with different capacities.
During testing we found that “Intenso 32 GB SD Card Class 10” with a 32GB FAT32 partition does not work and over serial output error " SD – Data error!!" is shown after SD card is plugged in.
I used following command to identify which dll the error message is writing:
( please note that strings.exe comes from Strings - Sysinternals | Microsoft Learn )
strings.exe -u -n 5 usdhc.dll | findstr /i “Data error”
It is this dll: OS_WEC2013\WINCE800\platform\Colibri\FILES\usdhc.dll
But it seems that I don’t have the source code for usdhc.dll. I found following locations
in my repository, but I could locate the code which writes "SD – Data error!! ":
WINCE800/platform/iMX6Q_SABRE_Lite/SRC/CSP/IMX/USDHC/usdhc.cpp
WINCE800/platform/iMX6Q_SABRE_Lite/SRC/BOOTLOADER/COMMON/usdhc.c
WINCE800/platform/iMX6Q_SABRE_Lite/SRC/DRIVERS/USDHC/bspusdhc.cpp
Could you please provide:
- The source file and function containing this message.
- Information on how to obtain the source code for the USDHC driver used in the Colibri iMX6 WEC2013 BSP.
My goal is to better understand the root cause of SD card failures observed with specific SD card types and capacities.