cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMx 4.11.0 , FW_F4 V1.8.0, Pin Label Problem

thomfischer
Senior
Posted on November 04, 2015 at 15:02

I have updated CubeMx from 4.10 to 4.11

I loaded my project and I stayed at firmware package FW_F4 V1.8.0

I changed something and regenerated the code.

CubeMx 4.11 generated gpio.c with PIN Labels instead of pin numbers in initialization code.

...

GPIO_InitStruct.Pin = _LCD_RST_Pin|RS485_DE_Pin|GPIO_X0_Pin|GPIO_X1_Pin

|GPIO_X2_Pin|GPIO_X3_Pin|GPIO_X4_Pin|GPIO_X5_Pin

|GPIO_X6_Pin|GPIO_X7_Pin|AIC_RESET_Pin|LCD_A0_Pin;

...

but it did not generate #defines for these pin labels !!!

I have generated a new project for test with FW_F4 V1.9.0 and I have seen that these #defines should be in mxconstants.h, but my mxconstants.h is empty!

Our project should be ready in the beginning of next year. Therefore we don't want to change firmware package or cubemx if not necessary.

I thought a newer version of cubemx would not make such trouble. I used the buildin updater, so I don't have an installer file for the previous version 4.10

I have the following questions ?

Where can I download previous versions of CubeMx ?

Can I install multiple versions of CubeMx in different directories ?

I must archive the project and the tools used to generate the project, so I need a CubeMx installer file.

best regards

5 REPLIES 5
Nesrine M_O
Lead II
Posted on November 04, 2015 at 16:38

Hi thomas,

I will report the problem to our CUBEMX team. Sorry for the inconvenience it may bring.

-Syrine-

stm32cube-t
Senior III
Posted on December 01, 2015 at 11:53

Dear user,

Thank you for reporting this issue. It is solved in STM32CubeMX next release: 4.12.0.
mrubinstein
Associate II
Posted on December 03, 2015 at 14:35

I have the same problem.

Did you find a workaround?

Did you obtain the old version of CubeMX (4.10.1)?

If so, how can I get it?

Thanks,

Michael

thomfischer
Senior
Posted on December 03, 2015 at 15:08

I requested 4.10 from FAE of our distributor, but he send me Version 4.9 by mistake.

The online update would update 4.9 --> 4.11, so it was useless.

After some days, I decided to update everything to 4.11.0.

I also downloaded the installer for 4.11 and stored it on our server.

STM should also provide older versions for download !

For a commercial project, it is necessary to save all tools used for development.

Request 4.10 from your FAE or wait for 4.12 or upgrade the firmware package.

best regards

mrubinstein
Associate II
Posted on December 03, 2015 at 16:51

Thanks for the info.

I, also, need to keep copies of dev. tools.  But, I messed up.  I have an installer for 4.9.0.

Not only should they provide old versions, but they should provide some scheme to drop back, if you upgrade from within CubeMX.

I hope to drop back to 4.10.1 and then wait for 4.12.0.

Michael