Hi,
I am using RTFS in my application which is a time critical algorithm writing 1 kb of data to SD every second. The algorithm have to filter data every 20 millisecond and consume 5 milliseconds(20%) of time slot. Every 64 seconds which is equal to 65536 bytes of data something interfere with data acquisition and filtering routines.
I have used both flushdrv() and fsync() but they have no effect. I guess that something happens when the buffer is full but normally execution of fsync() should flush the buffer.
Your help is greatly appreciated.