Skip to main content
SS_135
Associate
September 25, 2020
Question

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

  • September 25, 2020
  • 1 reply
  • 624 views

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

This topic has been closed for replies.

1 reply

Nesrine.JLASSI
Visitor II
October 19, 2020

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