Skip to main content
Charles Ratelle
Associate
November 3, 2017
Solved

stm32cube 4.23 v1.0 - stm32f407 - MX_SDIO_SD_Init missing code

  • November 3, 2017
  • 3 replies
  • 1026 views
Posted on November 03, 2017 at 19:25

Hello,

I just wanted to let you know that the stm32cube 4.23 v1.0 generated code for MX_SDIO_SD_Init on the stm32f407 is missing a call to BSP_SD_Init(). BSP_SD_Init is generated by the Cube but never called neither in void MX_SDIO_SD_Init(void) or DSTATUS SD_initialize(BYTE lun). I have attached my ioc file.

I'm generating for VisualGDB (GPDSC).

Thank you,

&sharpsdio&sharpfatfs&sharpf407

#stm32f4 #sdio #cube32 #fatfs
This topic has been closed for replies.
Best answer by Jeanne Joly
Posted on March 05, 2018 at 14:42

Hello

Ratelle.Charles

,

This issue is fixed in CubeMX4.

Please upgrade CubeMX if not already done.

BR. Jeanne

3 replies

Ho-Chung Chang
Visitor II
November 5, 2017
Posted on November 05, 2017 at 15:35

You can try this 2 link, until now, I just complete the sd+fatfs mount, open, read, the write, and close still error.

https://community.st.com/0D50X00009XkW2dSAF

https://community.st.com/0D50X00009bMM7JSAW

The CubeMX4.23 + fatfs R0.12 + SD still have many problem to use.

I will change spi+sd+fatfs R0.10 for my application

ST Technical Moderator
November 6, 2017
Posted on November 06, 2017 at 09:22

Hello,

This issue is already raised internally to the appropriate team for further review and investigation.

We will come back to you as soon as we have needed details/explanation.

Thanks and Best Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Jeanne Joly
Jeanne JolyBest answer
Associate
March 5, 2018
Posted on March 05, 2018 at 14:42

Hello

Ratelle.Charles

,

This issue is fixed in CubeMX4.

Please upgrade CubeMX if not already done.

BR. Jeanne