My colleague and I are writing an endurance test for SD cards (running read/write/erase block cycles). We're considering using an Raspberry Pi 3 to run the tests on.

The issue is we will be using full sized SD cards, so a SD to USB adapter will have to be used. We need to get to the driver level so we can issue commands to the SD card. However, we are concerned the adapter will cause the SD card to appear as a USB device and we will not be able to issue commands.

Will the SD card appear as a USB device? Is there a way to prevent this?

Thanks for any help!


Using an USB SD card adapter won't work if you need driver level access. If you really want to use Raspberry Pi one of the older models can mount a large SD card. An alternate option might be to instead use a laptop with built in SD card reader.


If speed is not an issue then you might consider using the SPI bus on the Raspberry Pi to interface with the SD card. You can do this with one of the many interface modules that are available (mostly for Arduino) or even directly connect to the card to be tested.

Once connected you can use write your own low-level driver, a quick search came up with some interesting hits that will set you on your way:




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.