2020-09-25 03:30 AM
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
2020-10-19 03:38 AM
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