Re: microSD support in MOD5441X and NANO54415
Posted: Mon Aug 11, 2014 5:16 am
My 1st guess was that the format string you're using may include a format specifier parameter that may be inappropriate for the type you're trying to format. However f_getfreespace() just returns and int. Looking at C:\nburn\docs\EFFS\fat_331.pdf the FAT Implementation guide, section 4.18 on page 49 reveals: "Note: if a drive size of greater than 4GB is being used then the high elements of the returned structure should also be read to get the upper 32 bits of each of the numbers i.e pspace.total_high etc" Maybe the NB folks can chime in on how to do this...? Page 50 offers this hint: