Skip to main content
wu ryan
Associate II
January 15, 2020
Question

About FatFs Return FR_NOT_ENABLED

  • January 15, 2020
  • 5 replies
  • 2398 views

I use stm32F746 & FreeRTOS & SDMMC & DMA.

When I use f_open in somewhere it will return FR_NOT_ENABLED...

But in my system have the other f_open & f_write is normal work(I am not remount).

My English is not very good,if anything can't understand please tell me.

Thanks in advance

This topic has been closed for replies.

5 replies

dbgarasiya
Senior
January 17, 2020

this indicates file system object error

when you get this error? means in what fucntion

Tesla DeLorean
Guru
January 17, 2020

Need to keep all SDMMC interaction in a single thread or mutex usage. Check also build options for FatFs​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
wu ryan
wu ryanAuthor
Associate II
January 20, 2020

Thanks for yours reply

This is my ffconf.h

"means in what fucntion" I can't understand this mean?

I am  keep all SDMMC interaction in a single thread, not mutex usage.

My English is not very good,if anything can't understand please tell me.

Thanks All !

dbgarasiya
Senior
January 20, 2020

jsut try simple only fatfs without rtos

wu ryan
wu ryanAuthor
Associate II
January 20, 2020

Thanks your ​ reply

I am try fatfs without rtos,But FR_NOT_ENABLED was not happen.:crying_face:

dbgarasiya
Senior
January 20, 2020

So there is nothing issue related to fatfs configuration

you have some problem in RTOS