Skip to main content
DYann.1
Senior II
August 21, 2023
Question

STM32CubeMX update

  • August 21, 2023
  • 4 replies
  • 1993 views

Hello,

When Itry to open this file, I have this message. Do you know the way to update the version 6.9.1 for STM32CubeMX ?

DYann1_1-1692626941506.png

I don't know if I must update together with STM32CubeIDE version ? I have currently version 1.10.1 for STM32CubeIDE.

Thank you for your helps.

Regards

This topic has been closed for replies.

4 replies

TDK
Super User
August 21, 2023

You only need to update STM32CubeIDE. That has its own version of STM32CubeMX that gets installed which is separate from the stand-alone STM32CubeMX installation.

"If you feel a post has answered your question, please click ""Accept as Solution""."
DYann.1
DYann.1Author
Senior II
August 21, 2023

Hi,

I just have to click on this button ?

DYann1_0-1692628156558.png

TDK
Super User
August 21, 2023

Yes.

"If you feel a post has answered your question, please click ""Accept as Solution""."
DYann.1
DYann.1Author
Senior II
August 22, 2023

After installing the new version I got this message below :

DYann1_0-1692687978796.png

I answer why it still keeps the old version and not the 1.13.1 version

DYann1_1-1692688039348.png

I'll try if I don't have an error from CUBEMX.

I can launch STM32CUBEIDE but it closes automatically.

DYann1_0-1692693670828.png

And I have this message below :

DYann1_1-1692693832543.png

What does that mean 'Log4j initialization ....too late ?' I think something is wrong between STM32CUBEIDE and STM32CUBEMX.

Do you have the right method to update the software ? Thank you for your helps

Pavel A.
Super User
August 22, 2023

@DYann.1  To avoid updating your CubeIDE (and possibly ruining "working" projects), just install the CubeMX v. 6.9.1. Several CubeMX and IDE versions can be installed side by side. Then open your .ioc file with this CubeMX. If you want to make changes and re-generate the code: to be safe, make a copy of your project aside, generate and compare/merge. The new CubeMX may ask you to "migrate" to newer release of the firmware library. This is your choice. Often you can stay as is. Update the library only if there is a real reason for this.

(No, this is not a waste. Your time and sanity are more valuable than few GBs on the disk).

 

DYann.1
DYann.1Author
Senior II
August 22, 2023

Thank you,

But now I can open STM32CubeIDE and the file .ioc with STM32CubeMX but have an exclamation mark like this picture below  :

DYann1_0-1692707944388.png

Do you know why ? And how to remove this point (probably a warning)

Pavel A.
Super User
August 22, 2023

Try to refresh the project (F5) then clean and rebuild. Will it build successfully?

DYann.1
DYann.1Author
Senior II
August 22, 2023

Hi,

I don't try this method but, when I show the warning and I hit Ctrl+1, the warning has disappeared.

Thank you every body for yours helps.

Regards