Shop OBEX P1 Docs P2 Docs Learn Events
SD Card Instant erase — Parallax Forums

SD Card Instant erase

mosquito56mosquito56 Posts: 387
edited 2008-02-20 17:25 in Propeller 1
I was trying to get a setting from the sd-card and it just stopped working. I· tried the fsrw_test and got error
-20.
I removed it from the prop and put it on the windows pc. It said drive not formatted. I reformatted in FAT and copied the files from thumbdrive backup to the sd card and it works fine.
· Anyone ever had this happen before?
I have been using the card for almost a week now and never had any problems. I am using Ucontroller SD card reader.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
······· Q. What do you get if you put a trs-80 in a steambath?

······· A. A propchip with an attitude
······· "What do you mean, it doesn't have any tubes?"
······· "No such thing as a dumb question" unless it's on the internet

Technologically challenged individual, Please have pity.

Comments

  • stevenmess2004stevenmess2004 Posts: 1,102
    edited 2008-02-20 07:25
    Did you not close a file maybe?
  • OzStampOzStamp Posts: 377
    edited 2008-02-20 08:04
    Hi Mosquito.

    Closing the file or turning power off whilst the card is trying to respond
    causes fatal error like that..
    The Olympus digital camera's that use a small XD (miniSD format) are notorious
    re this exact issue.. I personally think there is a bug in their OS(Olympus)
    .. there are many discussions re this exact issue on the net
    people loosing all their holiday pictures.. etc etc...

    cheers ron mel oz
  • rokickirokicki Posts: 1,000
    edited 2008-02-20 08:05
    A program that smashes memory could cause this. (If it smashes the memory location that indicates what block the current unwritten FAT entry
    is stored at, that could do it.)

    It's also possible you've uncovered a use case that exhibits a bug.
  • mosquito56mosquito56 Posts: 387
    edited 2008-02-20 17:25
    Considering the program was constantly opening, reading and reseting the startup value, it's very possible I unplugged the chip at a bad time. Thanx will be a little more careful in future.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·······

    ······· "What do you mean, it doesn't have any tubes?"
    ······· "No such thing as a dumb question" unless it's on the internet
    ········
Sign In or Register to comment.