c0xc / CapacityTester

Use CapacityTester to check if your USB thumb/flash drive lies about its capacity. Graphical tool to detect fake USB drives.
GNU General Public License v3.0
120 stars 16 forks source link

Unspecific error running full disk test on SD card #17

Closed c0xc closed 11 months ago

c0xc commented 11 months ago

When testing an SD card fails, the read verification step failed "after 0 GB":

CT_SD_false_error_Screenshot_20231016_104301

This SD card should be ok though, so a more specific error might be useful.

c0xc commented 11 months ago

It turns out, the USB adapter that was used for this test is defective and causes random data corruption, even when copying files (to any SD card). So this is not a bug in the program at all, but it's not something you'd expect either.

Not that it would matter, but it's this type of USB adapter that stopped working: tecknet_61fDoMUPdjL_AC_SL1500_

Because the adapter caused random corruption, CapacityTester showed random values for the real (working) capacity, like 476 MB in the case mentioned above.

CapacityTester has no way of knowing that the USB adapter damages data. It would be possible to display whether a read error (from the operating system) has been reported but usually, no such error is reported.

To sum it up, it's not a bug, it worked as expected (and I now have to erase or paint over the red "x" I wrote on the card). Maybe this "issue" is useful for someone.