cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer upload fail after update to 2.20

PKola.1
Associate II

After update to the latest Cubu Programmer v2.20 a get this error when uploading the firmware:

11:29:37 : Opening and parsing file: 1000BASET1-MC-ETH v1.3.hex
11:29:37 : Memory Programming ...
11:29:37 : File : 1000BASET1-MC-ETH v1.3.hex
11:29:37 : Size : 56.78 KB
11:29:37 : Address : 0x08000000
11:29:37 : Erasing memory corresponding to segment 0:
11:29:37 : Erasing internal memory sectors [0 28]
11:29:38 : Erasing memory corresponding to segment 1:
11:29:38 : Error: Sector size: 0x00000008 Bytes is out of range
11:29:38 : Error: failed to erase memory

In previous version (2.19) it works correctly.

MCU: STM32G473RBT6
Thanks

1 REPLY 1
TDK
Super User

Should work, but how did you generate the HEX file? Does it have non-contiguous regions?

Perhaps try with the BIN or ELF file instead.

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