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.

TM4C1294NCPDT: Fatfs file system is creating Unknown file of zero byte in the SD card

Part Number: TM4C1294NCPDT

 hi,

I renaming and copying the image from one directory to another directory in the same SD card.While doing this after long run some Unknown type file is created as you can see in the snapshot.

Because of this only I think so that when MCU wake up from hibernation and try to mount sd card, then it fails to do so.And when I try to delete this file on my computer then it is not deleting also and I need to format my sd card.

So anybody tells me that how to resolve this issue or what to look for in my filesystem.

Note: Fatfs reference used:- elm-chan.org/.../00index_e.html

  • Feel your pain - yet (many) items of interest are absent and/or undefined.

    • How do you define, "long run?"       ("While doing this after long run some Unknown...")
    • What SD card and/or other MCU data activities occurred during such "long run?"
    • Have you followed any/all "vendor examples" regarding SD Card "Care/Management?"       If so - which ones - and what have you changed?
    • You add "hibernation" to this mix.    (which violates "KISS")     Does this issue occur when hibernation is not employed?
    • Key elements of your "SD Card" program are likely to prove helpful.     Not so helpful would be the "dump" of your entire program - forcing unwanted/excess effort - upon your hapless "helper crüe.

    Indeed "anybody" may tell you - but only after significant facts (some listed above) - have arrived...