SDFS3 SD Card File System Errors


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    May 2014
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: SDFS3 SD Card File System Errors

    Thanks, I'll look at it in a bit.

    I've tried using Microchip's stuff in the past. Frankly, I'd rather be set on fire. I can never get their stuff to work right.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: SDFS3 SD Card File System Errors

    For a basic logging application where all you want to do it write data to an SD-card I'd suggest you take a look at the OpenLog project. It originates from Sparkfun (and they're selling it) but you can find it on EBAY for a couple of bucks. Stick an micro SD card in the socket, connect it to the PIC and throw ASCII data it at 9600 baud (default setting) and it just writes it to a text file. You can set it up to either append data to an existing file or create a new file each time it boots. There are provisions for Reading files as well but I have not tried it and I don't know how userfriendly it would be to do with a PBP.

    With that said, I'd love to get an SD card working for reading/writing so I can possible do a SD-card bootloader etc.

  3. #3
    Join Date
    May 2014
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: SDFS3 SD Card File System Errors

    I have one of the OpenLog cards. It works well, but I want to use a full size SD card and have it run either from my native code or at worst, a pic18f. You're right thoguh, it works well and will work for my current application. I just want something different (full size sd card, or maybe thumb drive). Either way, I would also like to understand how all this works, and right now I'm drowning.

  4. #4
    Join Date
    Oct 2005
    Location
    Pinckney, Michigan
    Posts
    91


    Did you find this post helpful? Yes | No

    Default Re: SDFS3 SD Card File System Errors

    I don't know if you're aware of the uMMC from Rogue Robotics (see link below). They're kinda pricey but they might save your hair.

    https://roguerobotics.com/products/ummc

    Also, check out the link below for thumb drive interface;

    http://www.futureelectronics.com/en/...IVE2.aspx?IM=0
    Last edited by J. Mark Wolf; - 3rd October 2017 at 14:11.

  5. #5
    Join Date
    May 2014
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: SDFS3 SD Card File System Errors

    Yeah, that uMMC is a bit on the "way over my budget" side of things. BUT... the Vdrive looks promising. Thank you for the info. I would llike to be able to do this for myself, but at this point, maybe it's a "who cares" moment and I should just cut my losses.

    Thanks again.

  6. #6
    Join Date
    Oct 2005
    Location
    Pinckney, Michigan
    Posts
    91


    Did you find this post helpful? Yes | No

    Default Re: SDFS3 SD Card File System Errors

    Quote Originally Posted by mityeltu View Post
    I would llike to be able to do this for myself, but at this point, maybe it's a "who cares" moment and I should just cut my losses.

    Thanks again.
    Been there, done that!

  7. #7
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: SDFS3 SD Card File System Errors

    Microchip’s MDDFS works flawlessly (albeit slow compared with Chan’s FatFS),
    but it’s written in C, and meant to be compiled with one of MC’s C compilers.
    It beats me how Darrel could have used it with BASIC without converting the whole library.

    Older versions of this library also suffer some serious bugs, and don’t support SDHC until later on.

Similar Threads

  1. SD card file date stamp
    By Alexey in forum General
    Replies: 2
    Last Post: - 18th July 2012, 06:12
  2. SDFS3 / SDFS32 , formattingan SD card from PIC
    By comwarrior in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th July 2012, 17:15
  3. SDFS3, sd card logging, periodic long delay
    By BUBBA2 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2011, 19:26
  4. SD Card file attributes with SDFS3 ?
    By Chris Barron in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 27th March 2009, 10:18
  5. 2550 in a coma, mpasm 4k of errors, inc file notfound
    By f_lez in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th June 2007, 18:42

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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