cancel
Showing results for 
Search instead for 
Did you mean: 

Issue on STM32CubeMx generated code for the SDIO interface when FreeRTOS CMSIS_v1 is enabled

SS_135
Associate II

Dear Team

Facing a problem with the STM32CubeMx generated code for the SDIO interface when FreeRTOS CMSIS_v1 is enabled.

Without FreeRTOS SDIO communication works fine.

We use the FatFS library for file handling operation and DMA is enabled. 

Whenever the program runs, the f_mount function fails. It returns error code 3 - FR_NOT_READY.

Few details,

Target                       - STM32F407vet

STM32CubeMx                   - 6.0.1

STM32CubeIDE                  - 1.4.0

STM32CubeF4 Firmware Package   - V1.25.0 12-February-2020

CMSIS                           - 5.6.0   2019-07-10

For your reference, I have attached the .ioc file generated by the SYM32CubeMx.

Kindly help to us to resolve this issue?

Regards

Sudeendra S

1 REPLY 1

Hello @SS_135​ 

Thanks for the feedback, could you please clarify the error you got while generating your code.

At first, please try to rename your project name (for example: TEST) then generate your code and tell me if the issue occurs again.

Best regards,

Nesrine