cancel
Showing results for 
Search instead for 
Did you mean: 

[bug] Cube MX : Freeze when launching after code generation script

dletinaud
Associate II

Hello,

When I add a .bat script to:

Project-Manager -> Code Generator -> User Actions -> Before/After code generation

I figure out that CubeMX freezes when the Outputs window is disabled.
It is especially problematic when launching a CubeMx script.

Do you know where it comes from? And how to avoid this undesirable behavior?

Thank you for your answer

PS: Is it possible to run scripts other than .bat files ?

7 REPLIES 7
Souhaib MAZHOUD
ST Employee

Hello @dletinaud 

And welcome to the community!

Could you please provide more information about the version of CubeMX ,the MCU and the .bat file you use.

Thank you

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi @Souhaib MAZHOUD,
I tested it with the version 6.9.2.
I tested it with multiple .bat scripts, the last ones were just an echo or writing a string to a file. They worked well when launched manually.
Script name had no special characters, it was named "patch.bat".

dletinaud
Associate II

Hello @Souhaib MAZHOUD,

The project was for a STM32F745VGT6.
Do you have any information for this bug ?
Did I make a mistake ? Do you succeed to repeat the bug ?
Can it be reported to the dev team ?

Thanks for your response

David

Pavel A.
Evangelist III

> CubeMX freezes when the Outputs window is disabled.

@dletinaud  If the Outputs window is shown, the problem won't occur?

#bugreport

Yes indeed

Hello @dletinaud,

Actually, the issue has been escalated to the dev team and is currently under investigation.

Internal ticket number: 164200 (This is an internal tracking number and is not accessible or usable by customers).

Thank you,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @Souhaib MAZHOUD,
Thank you for your reply and your support :thumbs_up: