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....
hi HaNPer
thx 4 ur linx
u got one cool moniker
It's stupid Keil forum that places the cursor at the start of the First Name field just as if it's likely that the poster will want to change their name between each and every post, instead of writing a new message using their current name.
You'd need to multiply the free clusters by the cluster size to get bytes, using a sufficiently wide variable, and then divide in to KB, MB, GB as appropriate.
I need working code soon. can u post. must have lots of good comments
Thank u every one for ur kind support...