SD card library?


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Vancouver, BC, Canada
    Posts
    33


    Did you find this post helpful? Yes | No

    Default Re: SD card library?

    Quote Originally Posted by mackrackit View Post
    And you only had to search as far as post #2 of this thread
    oh, already posted.
    ________________
    KV

  2. #2
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    68


    Did you find this post helpful? Yes | No

    Default Re: SD card library?

    Makrackit, KVLV, thanks again, I really enjoy SDFS3.zip and http://www.picbasic.co.uk/forum/cont...USB-SD-LOGGING

    Alexey
    Last edited by Alexey; - 15th December 2011 at 02:58.

  3. #3
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    68


    Did you find this post helpful? Yes | No

    Default Re: SD card library?

    Hello Mackrakit,

    The code you advised works just fine, I only have one issue - when I reset MCU my program can not reinitialize the SD card until I replace it. Is this something related to the card itself or correct software should do it? I use SDC_UseHardSPI = FALSE if this matters

    Than you,

    Alexey

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


    Did you find this post helpful? Yes | No

    Default Re: SD card library?

    I will guess that the SD card is not booted fully before your code tries to access it.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    68


    Did you find this post helpful? Yes | No

    Default Re: SD card library?

    tried to add pause at start and it did not help, but then I learnt that I was resetting the controller at the time when the card is being accessed and this was hanging the card. Adding indication when not to reset helped

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