SD (read-only) memory leaks issue
Hi, I hope you are well!
I get stuck on the same issue since a few months:
I stream multiple audio files (.wav), at the same time and continuously. After 24 hours of streaming, SD card files start to be corrupted (data is wrong) and when I inspect the free memory space on my computer, it says about 10GB is remaining (instead of the initial 15GB free memory). After 48H of streaming, free memory goes down to about 5GB. This is why I guess that my STM32F722 write something on the SD card, even if I disabled all WRITE features.
I have this issue with:
* SD card are freshly formatted with the official SD card software
* 3 other different SD cards
* different system clock configurations
* different FatFs configurations
* different InitSDCard configurations
* SD DMA enable or disable
* last FatFs and last HAL SD driver
Also, I think my PCB is good, as I followed the important design guidelines (length matching, ground plane, 10cm tracks). The average speed is quite good to me: 5Mo/s, and reading blocs (1024bytes per 1024bytes of a file) never fail.
Do you have any idea of why this issue happen? Is this a known driver problem? I have the feel I already tested all the combinations of parameters. Any ideas are welcome!
Cheers,