AnsweredAssumed Answered

file open in USB taking too much time

Question asked by smith.mac on Sep 28, 2015
Latest reply on Sep 29, 2015 by Clive One
hi, I m logging data in USB from stm32 board. now as the number of file increases in working directory, like150-200, the file open process starts taking time in opening new file.
how this can be avoided? i dont want to spend too much time in opening new file....

FAT FS details: i m using open source FAT FS by elm_chan
Cause: everytime when we try to open new file, FAT FS check the pendrive if any file with same name exists or not. so if there are 200 files, then it checks all 200 files, if any of the file has same name as new file's name.


Outcomes