Skip to main content
Associate
Feb 13, 2026 12:03 PM UTC
Solved

When I click Open File, STM32CubeProgrammer closes unexpectedly.

I am using stm32cubeprg-win64-v2-21, and I am experiencing an error.

After launching the program and clicking Open File, the Open File window appears briefly, and then the program closes unexpectedly.

I uninstalled it and tried using a previous version of STM32CubeProgrammer, but the same issue occurs. Rebooting the laptop does not resolve the problem either.  I have captured a video of the issue and attached it.

Kouthair
KouthairBest answer
ST Technical Moderator
Feb 16, 2026 8:46 AM UTC

Hello @skkang ,

Other users have experienced this behavior too, and it could be linked to a recent windows security update.
Please refer to the following threads where users have shared workarounds:

Solved: STM32CubeProgrammer crash on files selection - STMicroelectronics Community
STM32Cubeprogammer V2.21 Problem open file with wi... - STMicroelectronics Community

These discussions provide steps that helped resolve this. Let me know if you need further assistance.

In order 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.

2 replies

Kouthair
KouthairBest answer
ST Technical Moderator
Feb 16, 2026 8:46 AM UTC

Hello @skkang ,

Other users have experienced this behavior too, and it could be linked to a recent windows security update.
Please refer to the following threads where users have shared workarounds:

Solved: STM32CubeProgrammer crash on files selection - STMicroelectronics Community
STM32Cubeprogammer V2.21 Problem open file with wi... - STMicroelectronics Community

These discussions provide steps that helped resolve this. Let me know if you need further assistance.

In order 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.
skkangAuthor
Associate
Feb 19, 2026 2:40 AM UTC

I solved the problem by the way you told me, thank you.  

"STM32CubeProgrammer crash on files selection - STMicroelectronics Community"