I have been using the FatFs for a few months with fantastic reliability. Recently, I made a few mods to my application that requires creating 4096 individual files successively on my SD Card. each file is created one at a time, written to and closed before any other file is created. I always have one file open at any one time.
While performing load tests, I have noticed that I can create 510 files successfully but the creation of the 511th file fails. This is a very consistent and repeatable problem and I am positive that it has to do with a limitation (or a setting) on the FatFs.
Can anyone give some guidance to why this may be happening?