cancel
Showing results for 
Search instead for 
Did you mean: 

How to get working with freeRTOS + SDIO + FATFS

CJagt
Associate II

I have generated code using STM32Cubemx v.5.1 i have selected SDIO and FATFS and i want to use freeRTOS . so as soon as i enable freeRTOS my FATFS stops mounting performing operations. how to get working with both ?? any suggestion ??

15 REPLIES 15
LACTIC
Associate II

We also faced such type of error but we moved with Stnd Pheripharle library.

According to me we face face such type of error when context switching not happen or context switching not properly worked at that time. So I suggest that debug your program .

I am sure this work but in embedded field very thing is possible.

Sorry for wrong typing

"I am not sure this work but in embedded field very thing is possible."

Khouloud ZEMMELI
ST Employee

​Hello @CJagt​ 

Can you please share your ioc file ?

Best Regards,

Khouloud.

Sure , I have attached .ioc file. Thanks for the reply

Khouloud ZEMMELI
ST Employee

​@CJagt​ 

You're welcome ,this is reported internally for further check.

Best Regards,

Khouloud

@Khouloud ZEMMELI​  Hi , could you please provide me any updates??

​@CJagt​ 

Hello , in your ioc file you're only activated the FatFs and SDIO .

You found the error in the  generated code ?

Could you please give me more details ??    

Best Regards,

Khouloud

No there is no error in generated code.

I want to write data in SDCard thats working.

Now i want to use freeRtos in the same program, if i enable freeRTOS and generate code my fatfs not mounting and not writing data.

I have attached screenshot that shows i also enable freeRtos in same file that already shared with you.