[bug] Cube MX : Freeze when launching after code generation script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-12 12:55 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-17 6:21 AM - edited ‎2023-10-17 6:46 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-20 1:23 AM
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".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-08 5:43 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-08 6:54 AM - edited ‎2023-11-08 6:58 AM
> CubeMX freezes when the Outputs window is disabled.
@dletinaud If the Outputs window is shown, the problem won't occur?
#bugreport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-08 6:55 AM
Yes indeed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-09 12:42 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-09 2:22 AM
Hello @Souhaib MAZHOUD,
Thank you for your reply and your support :thumbs_up:
