SD card library?


Closed Thread
Results 1 to 23 of 23

Hybrid View

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

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

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