Skip to main content
heveskar
Senior
August 15, 2025
Solved

STM32CubeProgrammer upload fail after update to 2.20

  • August 15, 2025
  • 4 replies
  • 550 views

Basically continuation of https://community.st.com/t5/stm32cubeprogrammer-mcus/stm32cubeprogrammer-upload-fail-after-update-to-2-20/td-p/825113 - after fixing the hex to correctly span both the banks, upload error (using ST-Link) still persists. Firmware can be uploaded using USB bootloader, just the ST-LINK upload fails. It seems that this is a bug of the STM32CubeProgrammer.

STM32CubeProgrammer v2.20.0.

I attach the firmware hex. I also attach log from the programmer.

@PKola.1 @STOne-32 @Maryem 

 

Best answer by heveskar

In STM32CubeProgrammer v2.22.0 mentioned problem is not present anymore.

4 replies

Maryem
Technical Moderator
August 15, 2025

Hello @heveskar ,

 

I appreciate your input. I will review this further and provide an update shortly.

 

Thank you,

Maryem.

TDK
Super User
August 15, 2025

Still doesn't make sense to me that it "worked correctly" in 2.19. How could it work correctly if the memory map was incorrect? Is flash physically present but 2.20 is doing more bounds checking than 2.19?

"If you feel a post has answered your question, please click ""Accept as Solution""."
heveskar
heveskarAuthor
Senior
August 15, 2025

As per our reading of the forum, you are right, the memory is there, it is just not tested (link).

Maryem
Technical Moderator
August 19, 2025

Hello @heveskar,

 

Thank you for your patience. 

I confirm the issue from my side. I’ve submitted an internal ticket for further investigation by the team. I will keep you updated.

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

 

Maryem.

heveskar
heveskarAuthorBest answer
Senior
March 6, 2026

In STM32CubeProgrammer v2.22.0 mentioned problem is not present anymore.