Connect with us

SD card

Discussion in 'General Electronics Discussion' started by Arne Staessen, Jul 10, 2015.

  1. Arne Staessen

    Arne Staessen

    2
    0
    Jul 10, 2015
    For a project I need to save data on a SD card, but I never have worked with SD cards.
    I do find a lot of information on the internet but not everything is clear to me. I found that if you write or read the SD card, it works per blocks of 512Bytes. But In the datasheet of SanDisk they say that the SD card is erased per sector which exists out of a 32 blocks. Does that mean that you can't erase per block of 512Bytes?

    Best regards,

    Arne Staessen
     
    Last edited by a moderator: Jul 10, 2015
  2. davenn

    davenn Moderator

    13,264
    1,749
    Sep 5, 2009
    Hi Arne

    welcome to EP :)

    can you please link to the datasheet you are referring to, just so we all can get on the same page :)

    Dave
     
  3. Arne Staessen

    Arne Staessen

    2
    0
    Jul 10, 2015
  4. Harald Kapp

    Harald Kapp Moderator Moderator

    9,230
    1,861
    Nov 17, 2011
    Have a look at page 123 (7) of the document. It states there.
    It also states in chapter 1.5 that a sector consists of 512 Bytes. I do not find a reference to a sector consisting of 32 blocks.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-