This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Dear person in charge.
We use a MCU+SDK 08.03.00.
Please let me confirm about the exclusive control of FreeRTOS+FAT FileSystem.
I would like to confirm that the Filesystem is able to control exclusivity because there are cases where multiple tasks access the same disk simultaneously in an application.
We checked the API of FileSystem and found that it has an internal semaphore.
We also found that it has an internal cache for Read/Write.
We believe that the File system API itself is capable of exclusivity control, but does it support access to the same disk from multiple tasks as shown below?
We would like to make sure that the contents of the internal cache are secured and not in an unintended state.
Best Regards,
Hayato Waki.
Dear person in charge.
We are developing a product using SDK with AM 243x.
We would appreciate your response to this question for design consideration.
Best Regards,
Hayato Waki.
The file system example included is the community supported https://github.com/FreeRTOS/Lab-Project-FreeRTOS-FAT . It does state it is thread aware, but our current implementation is only for bare metal. FreeRTOS with tasks is planned for 10.1 MCU+ SDK , so at that point your use case (two different files open by two different tasks) should be fine.
Pekka