Skip to main content
Associate
February 13, 2026
Solved

When I click Open File, STM32CubeProgrammer closes unexpectedly.

  • February 13, 2026
  • 2 replies
  • 252 views

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.

Best answer by Kouthair

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.

2 replies

KouthairBest answer
ST Employee
February 16, 2026

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
February 19, 2026

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

"STM32CubeProgrammer crash on files selection - STMicroelectronics Community"