2025-07-23 2:37 AM
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
2025-07-23 5:34 AM - edited 2025-07-23 5:34 AM
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.