Hello,
I'm facing an issue with emFile write and read synchronization.
When opening the same file twice (by calling FS_FOpen() twice to get two different file descriptors, this is mandatory in my case) and using the first one to write data and the seconde one to read data.
The written data is not available for reading.
I have tried syncing the file descriptors by calling FS_SyncFile(NULL) after the write and also before the read with no success.
Note that caching and journaling are disabled and the read and write operation are guaranteed to be executed sequentially by the same os task.
Thank you for your help
I'm facing an issue with emFile write and read synchronization.
When opening the same file twice (by calling FS_FOpen() twice to get two different file descriptors, this is mandatory in my case) and using the first one to write data and the seconde one to read data.
The written data is not available for reading.
I have tried syncing the file descriptors by calling FS_SyncFile(NULL) after the write and also before the read with no success.
Note that caching and journaling are disabled and the read and write operation are guaranteed to be executed sequentially by the same os task.
Thank you for your help