I have been writing a FAT32 driver to understand the FAT32 file system. It is very exciting as this is my first time I am dabbling with file systems. I will be porting this to my baremetal firmware for the MINI2440 SBC.
I stumbled on it randomly several months ago. I suspect that a) it might be interesting to read through and b) might help add resiliency.