Just for my personal list of good-working-SD-cards: What for an SD card do you have? Manufacturer, class, size etc. (maybe a attach a picture).
~ Tectu
FatFS performance
Moderators: RoccoMarco, lbednarz, tfAteba
Re: FatFS performance
I don't have exact benchmarks on hand, but the fatfs is capable of fast r/w (see http://elm-chan.org/fsw/ff/img/rwtest2.png)
Also, to increase write speed, you need to minimize disk reads/cluster allocation. To do this you should pre-allocate the fat clusters with f_lseek.
See http://elm-chan.org/fsw/ff/en/lseek.html
Also, to achieve maximum throughput on the sd card, you should be writing multiple blocks at a time.
Ideally, you want to write an erase block size at a time.
Also, to increase write speed, you need to minimize disk reads/cluster allocation. To do this you should pre-allocate the fat clusters with f_lseek.
See http://elm-chan.org/fsw/ff/en/lseek.html
Also, to achieve maximum throughput on the sd card, you should be writing multiple blocks at a time.
Ideally, you want to write an erase block size at a time.