BertoldVdb / sdtool

A small tool for managing the write protection flag of SD cards.
https://bertold.org
Other
246 stars 41 forks source link

Raspberry Pi SPI support #4

Closed smythcc closed 6 years ago

smythcc commented 6 years ago

It doesn't appear this utility supports interacting with an SD card connected via the SPI pins on the GPIO header. I point it at /dev/mmcblk2 but get a "Failed to send command: Function not implemented" response. Any thoughts on how this could be supported? (Possible driver/config issue?)

BertoldVdb commented 6 years ago

I think this command is not available when using the card in MMC (SPI) mode. Therefore it cannot be implemented.