This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TM4C129ENCPDT: Issue of SD Card on Tiva TM4C129ENCPDT (FR_NOT_READY)

Part Number: TM4C129ENCPDT

Tool/software: TI-RTOS

Hi,

I'm trying to run SD card example and I'm facing random sd card read write error

SDSPI_open ,The Drive gets mounted successfull but when i try to open a file it gives file not ready error..

I have seen similar issue mentioned below

https://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/291450

So im wondering , is this issue fixed ?

Thanks,

Prajnith

  • Hi,

     I just ran the fatsd_DK_TM4C129X_TI example and I was able to run it. Below is the console message after running. The first time I run the input.txt is not on the SD card and hence the input.txt file is created and then copied to output.txt. The second time the input.txt is already there and copied to the output.txt again.

    Starting the FatSD example

    Drive 0 is mounted

    Creating a new file "fat:0:input.txt"...done

    Starting file copy

    File "fat:0:input.txt" (518 B) copied to "fat:0:output.txt" (Wrote 518 B)

    ***********************************************************************

    0         1         2         3         4         5         6         7

    01234567890123456789012345678901234567890123456789012345678901234567890

    This is some text to be inserted into the inputfile if there isn't

    already an existing file located on the media.

    If an inputfile already exists, or if the file was already once

    generated, then the inputfile will NOT be modified.

    ***********************************************************************

    Drive 0 unmounted

    Starting the FatSD example

    Drive 0 is mounted

    Using existing copy of "fat:0:input.txt"

    Starting file copy

    File "fat:0:input.txt" (518 B) copied to "fat:0:output.txt" (Wrote 518 B)

    ***********************************************************************

    0         1         2         3         4         5         6         7

    01234567890123456789012345678901234567890123456789012345678901234567890

    This is some text to be inserted into the inputfile if there isn't

    already an existing file located on the media.

    If an inputfile already exists, or if the file was already once

    generated, then the inputfile will NOT be modified.

    ***********************************************************************

    Drive 0 unmounted

  • Prajnith,

    Is the SD card already formatted? If not, can you format it and try again? Also can you try a different formatted SD card?

    Todd?