cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX 4.4.0 unexpected behavior

DD
Associate II
Posted on October 20, 2014 at 10:58

Hi all,

Yesterday I tried to align my project developed with CubeMX 4.3.1 to the recent 4.4.0 version.

I did it

mainly to

 overcome a SysTickInit issue with FreeRTOS configuration.

Since the regenerated project compiles but won't start, I noticed the following error:

Generating a project using the attached file with CubeMX 4.3.1 will generate a correct main.c file.

Generating a project using the attached file with CubeMX 4.4.0 will generate a main.c file in which all the MX_XXXX_Init(void) routines do not contain the related HAL_XXXX_Init(&yyyy) function call.

Can

someone

explain

this behavior?

Thanks in advance to anyone.

Dario

#stm32f4 #cubemx
3 REPLIES 3
stm32cube-t
Senior III
Posted on November 10, 2014 at 10:47

Hello Dario,

This is a known regression in 4.4 release (bug id #290095) when using FATFS on SD Card (SDIO peripheral). It is fixed in release 4.5.

If you disable FATFS, the code will be generated properly. With 4.4, if you need FATFS on SD, you will have to complete the initialization code manually then.

Sorry for the inconvenience.

Best Regards

totti001
Associate II
Posted on November 10, 2014 at 17:19

When you release the 4.5 version?

stm32cube-t
Senior III
Posted on November 12, 2014 at 17:01

The release should be out this month.

Best Regards