Problem with STM32CubeProgrammer version 2.16.0 and STM32G0B1xx USB DFU
Hello, there is a problem with programming STM32G0Bxx/B1xx/C1xx using STM32CubeProgrammer version 2.16.0
A have a HEX file starting at address 0x8001800 and with length 0x32800.
When programming this using USB DFU, the tool first starts to erase some of the sectors first.
Which is what i expect. Only the number of sectors and the address go wrong. See part of log of the tool:
"14:38:58 : Size : 202.00 KB
14:38:58 : Address : 0x08001800
14:38:58 : Erasing memory corresponding to segment 0:
14:38:58 : Erasing internal memory sectors [1 51]
14:38:58 : erasing sector 0001 @: 0x08000800 done
14:38:58 : erasing sector 0002 @: 0x08001000 done"
As the sector size is 2K for this MCU type, it should erase sector 3 to 103 (or 102)!
And it should start at address 0x80001800!
Please fix asap.
Something similar was already reported by my colleague.
Thanks,
Regards,
Corné
