interface between SD card and PIC16F877A

Discussion in 'Embedded Systems and Microcontrollers' started by Kit0302, Apr 13, 2011.

  1. Kit0302

    Thread Starter New Member

    Apr 13, 2011
    Hey guys,

    I am doing a project that needs to write and read data from the SD card using PIC16F877A, does someone have the PIC C code for this?

  2. t06afre

    AAC Fanatic!

    May 11, 2009
    Yes Microchip offer a C library for this. I think it support both HI-tech C and Microchip C compiler. And I am also quite sure this is free
  3. mjhilger


    Feb 28, 2011
    I got that code following the Master Conference 2008. At that time you had to sign paperwork because of the propritary nature of the SD (like USB, Bluetooth, Zigbee etc.) allows for its members. The SD interface for Microchip was limited to the slower method of transfer and non-HD at the time. But as stated there is information on their site. I probably still have the FAE name if you need. Also the forums on the Microchip site have a lot of people who have implemented SD and are very willing to help.
  4. t06afre

    AAC Fanatic!

    May 11, 2009
    It is also written a book about this "Sd Card Projects Using the Pic Microcontroller" By Dogan Ibrahim. But this book is based on the PIC18F series. If your SD card support SPI It should not be that hard