I have a custom board which uses a Kenetis K64 processor and has an SD card for recording data.
The firmware has been developed using KDS_V3 and KSDK_1.3.0 and I am using the MQX OS and MFS to provide a filing system. The design of the SD card interface is identical to the FRDM-K64 board so I am using the mfs_frdmk64f project as the basis for the file system firmware.
The application records data to a 32GB SD card which has been formatted as FAT32. Individual files can be up to 100MB.
Everything works correctly until the total disk space used reaches 2GB at which point the open and write functions fail.
My understanding is that although individual files cannot be larger that 2GB, FAT32 should support disks much bigger than this. I haven't been able to find any documentation which states the limits but I would like to understand if this is a bug in MFS and, if so, are there any patches I can apply to correct it.
Thank you in advance.