This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

find free space on sd card using fatfs library function

Hello, I am using cortex-m3 luminary lm3s6965 uC. In my application, I am continuously writing to micro SD card after every 50mSec. I have inserted 4GB sd card into my board.

Now I want to check the free space on sd card (in terms of kB/MB) using fatfs library function, then how will I do?

Fatfs library has one function: "f_getfree", which will return me free cluster. But from that how will find the free memory space in terms of kB/MB?

Thanks in advance....

0