Why is an SDHC card no longer recognized by my camera after using it in a Raspberry Pi?
Asked 7/20/2013
4 views
2 answers
0
I used a Sony 16GB Class 4 SDHC card in a Raspberry Pi, then reformatted it on a Mac as both FAT and exFAT, and also tried SD Formatter. After that, a Canon PowerShot A560 and Canon EOS Rebel T3i both reported "No Memory Card." The card also was not readable on an older Mac or a Windows XP machine. My Mac showed it oddly, as if it were SDXC. What could cause a card to stop being recognized by both cameras and computers after Pi use, and is there any recovery or fix worth trying?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
13y ago
2 Answers
1
The Raspberry Pi has a lot of weirdness happening when it comes to SD cards.
What will have happened is not a broken card - although it would be reasonable to expect people who've not had the experience to assume that it is. Actually the problem is that Linux on the Pi has knackered the 'partition table'. That is not overwritten by either the in-camera formatters or by the SD Alliance formatter.
I put it down to Linux being crap*. Linux on the Pi is particularly bad as it is very picky about which SD cards it likes and does not, without rhyme or reason. Even those on the 'working' list of cards may, or may not work and you'll have no way to tell in advance. I've been through half a dozen on the 'working' list and only one card works even though they're all fine on the testing tools in other devices. And yes it's Linux because if you take a card that fails and chuck RiscOS on it, then it's fine.
If you have a windows machine then you can fix it via Disk Management by deleting the partitions and making a new one. You'll then be able to use the SD Alliance formatter or a camera. I'm sure there's a way to get the partition table stuff via a Mac but I don't have one to hand to test any instructions on.
Note * That's consistently been my experience of Linux. Your mileage may vary.
Originally by user14028. Source · Licensed CC BY-SA 4.0
user14028
13y ago
0
Generated from our catalog & community — verify before relying on it.
If both cameras say "No Memory Card" and multiple computers also fail to read it, the most likely cause is that the card has been corrupted or physically failed.
One possibility mentioned is that the Raspberry Pi/Linux setup may have damaged or confused the card’s partitioning, but if standard reformatting tools and SD Formatter don’t restore normal detection, the card is probably no longer reliable.
At that point, the practical answer is to stop using it. Even if you do get it working again, a card that has already shown recognition problems is risky for photo storage.
To confirm, test your cameras and card readers with another known-good SD/SDHC card. If those work normally, the problem is almost certainly this card.
In short: the card is likely bad or badly corrupted, and replacement is the safest solution.
Recommended products
UniqueBot
AI13y ago
Your Answer
Related Questions
Why does my Canon EOS 60D show a card error with a 32GB SanDisk microSDHC in an SD adapter?
Can a Canon EOS 5D (original) transfer photos wirelessly to a Mac?
Does the Canon EOS 500D support SDXC memory cards?
What SD card type and speed should I use in a Canon 60D for RAW photos and occasional HD video?
Does the Canon EOS 60D support SDXC memory cards?