Can't erase L010 EEPROM with CubeProgrammer 2.10
Hi,
I don't remember having this issue with v2.8 of STM32CubeProgrammer, but right now when I try to program a STM32L010 with an elf file that has the EEPROM part filed with values, both the GUI and the CLI fail to erase the EEPROM part of it, aborting and leaving the uC empty (because the flash sector erase did work). The only way to succeed is to perform a mass erase beforehand and then skip sector erase when flashing the elf file.
This becomes a real issue when trying to debug with CubeIDE, because the debug session is started with CubeProgrammer CLI to program the flash before entering debug. The srec temp file generated does not have the EEPROM content by the way, only the flash so it does not mess with the EEPROM content, providing it has been loaded previously by other means (see above).
I know these tools come for free, but the programmer deserves more care as it will steer customers away from working with your products in the long run.
Please, have a look at this issue ASAP and provide a fix for the next release.
Best regards,
Kraal
