Skip to main content
Associate
September 19, 2025
Question

STM cube programmer v2.20 freezes board whereas v2.17 doesn't

  • September 19, 2025
  • 1 reply
  • 699 views

I am flashing a hex file that has power management that enables the low power stop modes. On version 2.17 everything works fine, but when I upgrade to version 2.20 it starts to freeze when the board goes into sleep mode. 

I have been flashing using the CLI.

I have tried multiple times on v2.20 and when I downgrade back to v2.17, it starts working again.

I know that it works on v2.15 as well.

I am using the exact same hex file each time.

**edited for clarification**

1 reply

TDK
Super User
September 19, 2025

Download the contents of the flash and compare them. The chip doesn't know what version of software was used to flash it. If the flash is the same, behavior should be the same.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Luke-r4Author
Associate
September 22, 2025

Hello, 

thanks for your response. I edited the post to clarify that I'm using the same hex file each time and that its freezing once the board goes into sleep mode. Does this change anything in your reply?

Thanks

TDK
Super User
September 22, 2025

Did you download the contents of the flash and compare them? The chip doesn't know what version of software was used to flash it. If the flash is the same, behavior should be the same.

"If you feel a post has answered your question, please click ""Accept as Solution""."