2016-01-29 03:02 AM
Hello,
I have an application which consists of 2 threads. One thread is implementing an http client and the other writes a file in the sd card. When i run the threads seperately they work fine, however when I run them at the same time the f_open function returns FR_NO_FILESYSTEM. It turns out that that is probably caused by the lwIP stack initialization function of the first thread. I would be glad if anyone had any idea. Thank you.2018-08-09 06:11 PM
Bumping chronically old questions off my feed. @ST Community
The FatFs and SDMMC code is not thread safe, you really need to serialize access to the resources. Consider having a third thread that performs all the FILE operations and services requests from the others via a state-machine.