SD or MMC card as storage for logging


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Ankara,TURKEY
    Posts
    45

    Default SD or MMC card as storage for logging

    I want to use 16,32 or 64 mb mmc or sd card to save log file and some constant and glcd image codes.

    Do you help me about this problem.
    I searched on internet but I only find MMC/SD card reader with RS-232 inteface. I dont want to use rs-232, I only use it as storage device for pic micro.

    Another question:
    can I change code inside the Pic, without programming it again. I heard that 18f series can do it but how??

    Thanks for your helps

    Hasan...
    Electrical & Electronic Engineering
    Undergraduate Student

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I want to use 16,32 or 64 mb mmc or sd card to save log file and some constant and glcd image codes.
    sdfs3.zip
    http://melabs.com/resources/samples.htm

    Requires an 18F PIC, PBP 2.50b using PBPL.

    See the sdreadme.txt, and SDschem.pdf files in the zip.
    <br>
    DT

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    sdfs3.zip
    http://melabs.com/resources/samples.htm

    Requires an 18F PIC, PBP 2.50b using PBPL.

    See the sdreadme.txt, and SDschem.pdf files in the zip.
    <br>
    I'll vouch for that !

    I downloaded it, fully expecting to have to make some changes(other than pin assignments). I compiled the code and it worked the very first time .

    What I would say in all seriousness though, is to check the pinout ever so carefully. Although in the schematic diagram the pic pins (via buffers) are wired to the correct SD card 'pins' you mut take care to note that the indented pin on the edge connector of the SD Card is pin number 9. You might then assume that next to it is pin 8, but no , the next pin along is pin 1

    I took the indented pin to be pin 1 and the next pin to be 2, etc, and blew my first test SD card because there was a power reversal. (Pic was undamaged)

    In summary, from the underside of the SD card with the pads exposed and the indent to the bottom, the pinout is like this..

    8
    7
    6
    5
    4
    3
    2
    1
    ~9


    Other than that, the supporting code simply works as it should, many thanks to the author for that !

  4. #4
    Join Date
    Jan 2009
    Location
    Ankara,TURKEY
    Posts
    45


    Did you find this post helpful? Yes | No

    Default thanks:)

    thanks for it I wil try
    I will report the result
    Electrical & Electronic Engineering
    Undergraduate Student

  5. #5
    Join Date
    Dec 2006
    Location
    WADSWORTH OHIO USA
    Posts
    37


    Did you find this post helpful? Yes | No

    Wink SD or MMC card as storage for logging

    Hey there...
    have been working on similar project,
    check out

    http://www.parallax.com/Store/Microc...me,ProductName

    really cool device...

    cheers
    Thanks !
    SOMRU
    TWE/TFP/EE

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by SOMRU View Post
    Hey there...
    have been working on similar project,
    check out

    http://www.parallax.com/Store/Microc...me,ProductName

    really cool device...

    cheers
    Tell me how you are going to stick an SD card into that?
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Replies: 12
    Last Post: - 4th March 2010, 21:20
  2. Picbasic MMC SD : sdfs3.bas
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 27th April 2009, 15:03
  3. SD Card Filesystem like AVRDOS for Atmel
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 28th December 2007, 14:00
  4. Writing to SD card
    By dhouston in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 9th November 2007, 11:23
  5. Read and write to sd card
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 28th October 2007, 19:47

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts