cancel
Showing results for 
Search instead for 
Did you mean: 

FATFS ERROR ( f_opendir) with FreeRTOS

Charlie CHEN
Associate II

Hi All,

I`m trying to build a project using STM32CubeMX with FreeRTOS and have FatFS for my own Board.

And when I execute the code,it can {f_mount} really well but till {f_opendir} it come out the FR_INT_ERR.

I have a question about if I use the FreeRTOS and FatFS, isn`t it enable the DMA function for SDMMC in default?

After that I try the method with no FreeRTOS only have FatFS ,then disable DMA,and it work.

Is that DMA effect the run result,and how can I really use DMA with FreeRTOS?

Debug Situation(In fmt ) -> it won`t get DISK ERR & NO_FILSYSTEM

0690X00000AA4ZFQA1.png

Debug Situation(At follow_path) -> It returns Assertion failed0690X00000AA4ZUQA1.png

Please help!

Thanks a lot!

0 REPLIES 0