cancel
Showing results for 
Search instead for 
Did you mean: 

stm32cube 4.23 v1.0 - stm32f407 - MX_SDIO_SD_Init missing code

Charles Ratelle
Associate II
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
1 ACCEPTED SOLUTION

Accepted Solutions
Jeanne Joly
Senior III
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

View solution in original post

3 REPLIES 3
Ho-Chung Chang
Associate
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

Imen.D
ST Employee
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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Jeanne Joly
Senior III
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