Sd card programme

Discussion in 'Programmer's Corner' started by nobleeagle, Sep 20, 2010.

  1. nobleeagle

    Thread Starter New Member

    Sep 20, 2010
    1
    0
    Hi all,
    how does sd card programme? I would like learn it.
    Can you advise me about this subject?
    Is there a software for programme to sd card and how can i programme to sd card?
    for example: block data, new serial number, copyright etc.

    Thank you for advice from now,
     
  2. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    If you are trying to use an SD card as memory for a microcontroller, then you can use SPI to interface the card to the chip.

    Your code will shuffle out the data.

    If you want to use is as a "disk drive" with your PC, you need hardware and a driver to make the card accessible to the operating system.

    INFO:
    SPI
    How to interface a SD card to a PIC micro
     
  3. tom66

    Senior Member

    May 9, 2009
    2,613
    213
    If you are using a PIC18, PIC24 or dsPIC30/33 microcontroller, the Microchip Disk Drive library implements an entire FAT32 filesystem read/write driver and allows you to use an SD card with it. As the name implies, it was written by Microchip; AFAIK, it is royalty free.

    Do be careful with SD cards though. In some circumstances to sell devices utilising SD cards you may need a license from the SD card consortium. I'm not sure if it only applies for the specification document, though. Or maybe it's only for manufacturing SD cards.
     
  4. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
Loading...