SD or MMC card as storage for logging


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1


    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 !

  2. #2
    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

  3. #3
    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

  4. #4
    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.

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


    Did you find this post helpful? Yes | No

    Smile SD or MMC card as storage for logging

    Thanks !
    SOMRU
    TWE/TFP/EE

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by SOMRU View Post
    Yep thats neat , especially if you are pushed for space.

    The SDFS software in picbasic doesn't require any other hardware though, apart from a socket for the card In my case I recovered one from a broken SD card reader (New ones cost less than £1 !), so it cost me nothing to get basic SD functionality

  7. #7
    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 Chris Barron View Post
    Yep thats neat , especially if you are pushed for space.

    The SDFS software in picbasic doesn't require any other hardware though, apart from a socket for the card In my case I recovered one from a broken SD card reader (New ones cost less than £1 !), so it cost me nothing to get basic SD functionality
    And the support from MeLabs can not be beat. A month or so ago I found a problem with APPEND. I am not good enough with FAT16 to fix it myself, so I told Jeff about it and now it is fixed. That is why it is now SDFS3. Where else can you get support like that?

    I have tested SDFS more ways than I can count, even wore a SD card out reading and writing over and over.

    SDFS just plain works.
    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