SD or MMC card as storage for logging


Closed Thread
Results 1 to 18 of 18

Hybrid View

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

  2. #2
    Join Date
    Feb 2009
    Location
    Southern California
    Posts
    86


    Did you find this post helpful? Yes | No

    Default

    Out of curiosity how many read/writes do you think you got out of that card. I'm always curious as to how accurate data sheets are for things like that, which I can't actually measure practically.

    David

  3. #3
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default

    Could anyone using the SFS3 please enlighten me on the amount of flash/ram it consumes? I cannot check it since I do not have PBPL yet.

    thanks

  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 Jerson View Post
    Could anyone using the SFS3 please enlighten me on the amount of flash/ram it consumes? I cannot check it since I do not have PBPL yet.

    thanks
    Here is what I have on a basic setup.
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3295&stc=1&d=123865124 3">
    Quote Originally Posted by Luckyborg View Post
    Out of curiosity how many read/writes do you think you got out of that card. I'm always curious as to how accurate data sheets are for things like that, which I can't actually measure practically.

    David
    That is a hard question.

    The card that failed was an old 64 MB. Well used to begin with.
    When I first started playing with SDFS I was using a 1 GB card, that is when there was an append problem. I tried several cards as not all manufactures sizes are the same. The append problem was SDFS would not append a file past the sector the file originated in. It would write multiple file though. I got to testing with the 64MB card. The first sector took a beating. Fill the sector, erase or format, bang on the keyboard some more...

    I do not have any idea how many times I did this.

    After Jeff fixed the problem, skimask and I was doing some write speed test. I set up a loop to write 8 bytes, read, append 8 more, read... This particular card was running that loop at 3.55Hz.

    The way I understand it, the MBR is in the first sector, more abuse.

    I think I was about 4 hours into that test before failure.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    In theory it has to be something like 10K writes cycles, and it depends of the brand. But how 10K is 10K... that's another story
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  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 Jerson View Post
    Could anyone using the SFS3 please enlighten me on the amount of flash/ram it consumes? I cannot check it since I do not have PBPL yet.

    thanks
    The attachment did not attach the last time??
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3297&stc=1&d=123868043 6">
    Attached Images Attached Images  
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default

    thank you Dave

  8. #8
    Join Date
    Nov 2011
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: SD or MMC card as storage for logging

    sdfs3.zip
    http://melabs.com/resources/samples.htm

    I searched for the ZIP file but all I found was the PICBasic program. Just wondering if anyone might still have the ZIP version with schematics, text files, etc.Or, is there a newer version available?Can a Caveman really do it?

  9. #9
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: SD or MMC card as storage for logging

    Looks like a bad link. Here's one I found from Dave: http://www.picbasic.co.uk/forum/show...632#post108632
    http://www.scalerobotics.com

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