cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't I update my F405 project to use firmware 1.6.0?

markb
Associate II
Posted on May 30, 2015 at 12:57

Hi,

I have installed cube 4.8.0 and F4 firmware 1.6.0 but the cube doesn't give me the option to upgrade from firmware 1.5.0 which the project is currently using.

The project settings shows that version of the firmware but doesn't allow me to alter it. I'm confused. Can anybody tell me what's wrong?

Cheers,

Mark

8 REPLIES 8
qwer.asdf
Senior
Posted on May 30, 2015 at 13:48

Try to close the Cube and manually delete/move the old versions of the libraries from the local repository at YOUR_USER_DIRECTORY\STM32Cube\Repository then backup your project file and generated/changed sources just in case, and open it.

qing23
Associate
Posted on June 01, 2015 at 17:58

I tried your way, But still I could not use the latest 1.6.0  version.

qing23
Associate
Posted on June 02, 2015 at 00:34

Even worse, after I upgraded to cubemx 4.8.0, then open the 4.7.1 version of *.ioc file to regenerate the code based on STM32Cube_FW_F4_V1.5.0, keil compiler gave a lot of errors and warning.

Now I stay with 4.7.1.

On 4.8.0, I couldn't let me pick the STM32Cube_FW_F4_V1.6.0 , I even tried uninstall/Re-install the cubeMX.

jasonp4113
Associate II
Posted on June 02, 2015 at 02:31

Hi All

Same problem here (with at least using the F4 part)....

Doesn't matter what I do, the only F4 library pack that can be chosen with CubeMX v4.8.0 is STM32CubeF4 v1.5.0 or earlier.

I tried migrating older projects as well as starting with a new project with no luck being able to use 1.6.0

Jason

stm32cube-t
Senior III
Posted on June 03, 2015 at 09:48

Dear All,

We know it is a bit confusing and will update our release notes to make it clearer.

Let me try to explain.

For now, STM32CubeMX is tied to a single version of firmware per series: when creating a new project, you can notice under project settings that there is only one version of firmware proposed. For MX 4.8, this version is 1.5.0 (STM32F4 series).

When working with earlier versions of STM32CubeMX, 1.4.0 or 1.3.0 firmware versions were proposed. You can still import your projects in STM32CubeMX 4.8, the tool will propose you to continue to work with this old firmware version or migrate to the latest ''supported'' by the tool (here 1.5.0).

The latest  ''downloadable'' by the tool is 1.6.0. However it is not yet supported for code generation.

Best regards

yhuang
Associate II
Posted on June 03, 2015 at 16:18

Hi Jason,

The workaround is as follows:

1. Copy unzipped F4 1.6.0 into MX repository (or install it from help menu), rename STM32Cube_FW_F4_V1.5.0 to whatever you like.

2. Rename unzipped F4 1.6.0 (or STM32Cube_FW_F4_V1.6.0) to STM32Cube_FW_F4_V1.5.0

The above workaround works for me.

 

jasonp4113
Associate II
Posted on June 05, 2015 at 01:16

Hi

If 1.6.0 F4 isn't supported in 4.8.0, then why release it yet?

Renaming the repository folder 1.6.0 to 1.5.0 didn't do it for me, but modifying:

 <PackDescription Release=''FW.F4.1.6.0''> in ''package.xml'' to another version such as 1.5.0 did manage to get it to use the 1.6.0 library.

(Completely the wrong thing to do is to perform a hack, but it seems to work)

Jas

stuk
Associate II
Posted on June 17, 2015 at 14:26

The same for me, its incredible released a new version if you can use it!

I think CubeMx is a little joke tool, not a professional tool.