AnsweredAssumed Answered

STM32CubeMX V4.24.0 code generation failure (bug report)

Question asked by J B on Feb 13, 2018
Latest reply on Mar 20, 2018 by Jeanne Joly

ST: Bug report:

 

I've just upgraded from CubeMX V4.23.0 to V4.24.0.

 

Using this re a Nucleo 144 'F767 board, I'm finding that "Menu => Project => Generate Code" works once, then fails thereafter in one of two ways:

  1. If "Menu => Project => Project Settings => Code Generator => Generated files => Backup previously generated files when re-generating" is checked, then it freezes during code generation. See screenshot. The only way I've found to proceed it to terminate the underlying java process.
  2. If "Menu => Project => Project Settings => Code Generator => Generated files => Backup previously generated files when re-generating" is not checked, then it says "The Code is successfully generated under <Path> but SW4STM32project generation have a problem". Again, see screenshot. Presumably it should say "Code generation has succeeded" or "Code generation has failed". Surely there should be no case where it has both succeeded and failed*. Furthermore, I can find no log or other information about the "SW4STM32project generation" problem. (Incidentally, I suggest standardizing on whether the process is "Code generation" or "Project generation").

 

If I relocate the *.ioc file, code generation works once but fails thereafter.

 

This is a major problem for me because I can find no source of the previous version, CubeMX V4.23.0. Elsewhere in this forum it is stated by ST that they provide no means of downloading previous versions of CubeMX.

 

Please forward this to your CubeMX programming team.

 

JB.

 

* Edit: From further use, I think this means that the Inc and Src folders are correct, and possibly the .mxproject file, but that other files to do with the project, e.g. .cproject and .project, are incorrect. I cannot do more extensive / precise testing as I now don't have (and cannot obtain, it seems) a working version of CubeMX.

Outcomes