Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an SD card which have been used in a photo camera for some months, and it's been working perfectly fine until today. It failed when we were just browsing pictures in the camera screen (so it wasn't during a file write, it was just reading photos). One of the times we switched to the next photo, it didn't show up, showing an invalid card error message instead. I then tried it in a different camera, and got a similar error message.

So I tried to read it in a Windows PC, and since it couldn't recognize the card either, it offered to format the card. I of course declined this and tried GetDataBack for FAT, which couldn't recover anything at all and returned tons of read errors.

Then I tried ZAR (Zero Assumption Recovery), a recovery tool available here: http://www.z-a-recovery.com/download.htm

It took a very long time and then it just marked ALL sectors in my card as "bad sectors" (in a grid that represents the SD card sectors, all of them were red), without recovering anything.

I find it quite surprising that a perfectly good SD card can go from 100% good to 100% bad. I can understand some sectors eventually going bad but, all of them at once? The card wasn't mistreated or shocked, so I can't see how this could happen.

So, any chance I can recover the pictures in that SD card? I'm guessing not, but who knows.

share|improve this question
1  
Stupid question, but; is your SD card locked? Check the switch on it, I've gotten some weird errors with it locked before. –  Simon Sheehan Nov 1 '12 at 0:37
    
No, it wasn't locked. So, I've just tried locking it and it looks like it's just as unreadable in either position. –  OMA Nov 1 '12 at 0:44
    
Funny story. I once had an SD card corrupted, losing all my photos. I tried a lot of software to get them back, free and paid. Nothing worked. For two or three years I thought they were gone forever. Until one day the police imaged my laptop, and miraculously recovered all the photos. Every single one. I think it was AccessData they used. –  Alec Nov 1 '12 at 0:46
    
Well the police do have access to the most powerful recovery tools one can dream of, but these often cost thousands for a single-PC, one-year license. –  Sylvester the Cat Nov 1 '12 at 0:49
    
What do you mean with "imaged my laptop". The photos were in your laptop or in the SD card? –  OMA Nov 1 '12 at 0:50

4 Answers 4

up vote 5 down vote accepted

What make/model is the card and where did you get it? Unfortunately, many cheap memory cards and flash drives on eBay tend to be fake (a small drive reprogrammed to masquerade as a much larger drive). As such, they look fine but cause all kinds of read/write errors when you try to use them.

Obviously you can’t use the advertised space, but it’s possible to reprogram it to reflect the true size and at least use that much reliably.

Before resorting to that, check that the card-reader is good by trying another card in it and trying the questionable card in another reader. It is possible that the reader has failed or, if you are lucky, it’s cable has come loose.

Also, check the contact pins on the card and the reader to make sure they are clean. For the card, just look at and wipe them. For the reader, use an emery board to light rub them. What likely happened in your case was that one (or more) of the pins were dirty or something and thus not making good contact with the readers’ pins. Either your sister cleaned them, or the repeated inserting caused the pins to get scraped a bit, wiping off the patina and allowing the electrical circuit to get made correctly. This makes sense because memory cards have several pins, and if some of them connect while others don’t, then it can result in a variety of symptoms including it being detected but unreadable as you saw.

share|improve this answer
    
It's a 1 GB Kingston SD card bought at retail (IIRC), so it's not very likely to be a fake card, since it's not that large (just 1 GB in size), and has been filled lots of times previously with no problem. I also tried 2 different SD card readers with no good result. BUT, something odd has happened. After lots of tries, my sister put it back in the camera and it miraculously started working again! Not only that, but then she put it again in the PC and all pictures were readable!!! I can't understand what's happened here. How can a card go back from 100% bad sectors to 100% readable?? WTF?! –  OMA Nov 8 '12 at 0:31
1  
It’s actually not that surprising. I added an explanation of what likely happened. –  Synetech Nov 8 '12 at 1:16
    
Thanks for your explanation. Well, AFAIK it wasn't cleaned, so it might be the repeated inserting which "cleaned" the card (though it apparently looked fine all the time). I'll try cleaning first next time an issue like this happens. Thanks for the tip. –  OMA Nov 8 '12 at 1:34
1  
No problem. It doesn’t have to look dirty, it can simply have a typical light, transparent patina (as metals tend to accrue) that impedes the electrical connection. –  Synetech Nov 8 '12 at 1:40

It is possible that the card just packed it in, as storage devices will inevitably do. I had a similar problem once when using my laptop. It was purring like a kitten one second, then out of the blue the whole OS failed to respond (totally, as in not even the mouse would move). Several scans (quick and in depth scans) on the HDD determined it had failed. that's how suddenly storage devices can fail. It doesn't have to happen on a write cycle either (i.e. file system corruption). There are other causes of failure.

Hopefully, for your sake, this is not the case. Try Piriform Recuva to attempt to recover the photos. I've used it, and it's pretty good. Failing that, they may be gone for good.

Good luck, I hope you can at least get the photos back

share|improve this answer
1  
Thanks for your answer. Well, it seems we got lucky, and after lots of tries in the PC, my sister put the SD card back in the camera and it miraculously started working again! Not only that, but then she put it again in the PC and all pictures were readable!!! I can't understand what's happened here. How can a card go back from 100% bad sectors to 100% readable?? WTF?! Anyway, thanks for the link to Piriform Recuva. Might come in handy next time some similar problem arises. –  OMA Nov 8 '12 at 0:35
    
most likely, it was fine the whole time. possibly dust, or just went spastic like technology does tend to do. but yes, electronics do tend to do that sort of thing –  Sylvester the Cat Dec 30 '12 at 11:55

As an EE, I have seen SD contacts as well as connector contacts (HDMI, etc) contaminated with solder flux, icing from donuts, etc. The first step is to clean the contacts both on the SD Card and the receptacle (camera in this case) with an electronics type cleaner (carefully and sparingly). The card should be cleaned before moving it to a PC or other device, or you may just spread the "plague" to another device.

If the card starts working for no identifiable reason - get everything you can off of it before it fails again. There may be an intermittent contact/circuit inside the part that may be affected by temperature or handling and you never know when it may fail again. Get the goods and then throw it away!

share|improve this answer
    
Thanks for the answer. I suppose the card was slightly dirty somehow (though it failed while being read in the camera for some time without problem, not immediately after inserting it in the camera, so I'm not sure if it was due to fingerprints in contacts). Anyway, luckily the card was readable after some insertions/ejections, and we could retrieve all pictures back. –  OMA Feb 7 '13 at 0:02

YES. It is possible that the card can go from 100% working to 100% bad sectors in a fraction of a second. There can be a number of reasons for this, but the most common reason is ESD. ESD is Electro Static Discharge. In other words, to zap your card: Walk on a synthetic carpet, make sure you wear some synthetic closthes too, then charge yourself with static electricity and finally, when you're charged, touch one of the SD card terminals. You will generate a spark which is more than 2000 Volts. Most of the time, such sparks are more than 10000 Volts. Now, imagine that you zap the chip. If a card does not respond to any input/output at all, all your computer or camera will read is bits that are set to one. Eg. %11111111 for a byte, which translates into 0xff. Since the "bad clusters" are marked (in the FAT) using the value 0xffff, you will see only bad sectors. This indicates that somehow, most likely due to ESD, the card's control-chip has been fried. It could also be due to an over-voltage, such as a 5V on one of the card terminals for a longer period of time.

ESD is the reason for many unexplainable electronic failures, including your cell-phone suddenly gone dead, you only had it in your pocket (of your synthetic jacket) for 4 minutes.

I recommend everyone to watch these videos, the first is like a 'lightweight intro' (advertisement), but it's very educational anyway:

ESD Intro

The Shocking Truth (1 of 4) (follow its links; I'm only allowed to post 2 links in here)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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