problem with SD card, need to be re-formatted after using it for a while

Hi,

i have formatted 2 SD(128 and 512MB) with FAT32, in windows.

After i run my program, which just read some file inside the SD, for a while works, then all of a sudden , just right after i upload new code, no files is found and the SD need to be reformatted, this seems to be happening randomly, but with both SDs.

Anybody knows what could be the problem?

thisi is the sd card reader i'm using with the wiring i'm using: http://blog.whatgeek.com.pt/2014/05/07/arduino-yl-30-sd-card/

i have formatted 2 SD(128 and 512MB) with FAT32, in windows.

Never format cards smaller than 4 GB as FAT32. The SD standard requires these cards to be formatted FAT16.

See Don't Format SD cards with OS utilities! - Storage - Arduino Forum.

Never use the Windows format utilities to format SD cards since Windows utilities do not conform to the SD spec. Use this formatter SD Memory Card Formatter for Windows/Mac | SD Association.

It appears that your SD module is similar to the LC Studio module and may apply 5V SPI signals directly to the SD card's 3.3V input pins. This can cause problems with too much current drawn by the cards input pins. The card may overheat or become unstable.