Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. SD Card corruption

SD Card corruption

Scheduled Pinned Locked Moved Mobile
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    misha_grewal
    wrote on last edited by
    #1

    Hi, My application takes and writes data on to the sd card often. I am experiencing a lot of SD Card corruption cases. I have fixed every possible loophole as such, but have no idea as to what causes this SD card to be corrupt Any ideas? What all scenarios cause sd card to be corrupt?

    C 1 Reply Last reply
    0
    • M misha_grewal

      Hi, My application takes and writes data on to the sd card often. I am experiencing a lot of SD Card corruption cases. I have fixed every possible loophole as such, but have no idea as to what causes this SD card to be corrupt Any ideas? What all scenarios cause sd card to be corrupt?

      C Offline
      C Offline
      CJCraft com
      wrote on last edited by
      #2

      Eventually SD card's cannot retain new writes. But this is after a very large number of writes. If you were reading and writing to the SD card continuosly I suppose you could have reached that point. Have to tried reading and writing to the device's memory instead of the SD card to confirm that it is indeed a problem with the SD card. Do you have another SD card you could try? Or another device you could test the card on?

      M 1 Reply Last reply
      0
      • C CJCraft com

        Eventually SD card's cannot retain new writes. But this is after a very large number of writes. If you were reading and writing to the SD card continuosly I suppose you could have reached that point. Have to tried reading and writing to the device's memory instead of the SD card to confirm that it is indeed a problem with the SD card. Do you have another SD card you could try? Or another device you could test the card on?

        M Offline
        M Offline
        misha_grewal
        wrote on last edited by
        #3

        Thanks, I did not know that eventually SD cards would crash. Any document or more info about that. My application writes to a log file in SD Card as long as it runs.It logs every event and method of the app being called by the user. Infact everything that my app needs like the database, the text files to read data from and write data into, log files etc all of them are in SD Card. This application runs around 1 or 2 days or so then somehow somewhere SD Card gets corrupt.The corruption is very sporadic.So not able to replicate.. Is there some max number after which the SD Card cannot write and just crashes. I have tried with a couple of SD Cards, and all of them exhibit the same kind of behaviour. But not due a specific operation in the application but just random operation. Thanks in advance...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups