FreeRTOS + FatFs : Works only with taskENTER_CRITICAL

richard_damon wrote on Tuesday, December 02, 2014:

You should not be using taskENTER_CRITICAL to protect something that can take 6ms, let alone 80ms. A mutex is a much better option here, as that will only block the other tasks that try to use the file system. (The code may even support a locking method inside itself which you can connect to such a mutex).