Skipping flash erase with STM32_Programmer_CLI and STLINK-V3
Hello,
I'm trying to setup a production line where I have to flash a serial number on each piece after it has been programmed with the standard firmware.
I put the serial number in an hex file, and I'm trying to write it using STM32_Programmer_CLI but I need to skip the flash erase before programming.
I tried using 'ske':
STM32_Programmer_CLI.exe -c port=SWD -w serial.hex ske
but the flash keeps getting erased.
I found out that with ST-LINK_CLI.exe I can use the option 'ske' to disable flash erase, and I tried it, but it seems kind of obsolete because when I launch
ST-LINK_CLI.exe -c SWD LPM -P serial.hex ske
I keep receiving this error:

Note that read out protection is NOT enabled and there is no elf file involved, I'm using .hex files.
What am i missing here? From what I can understand SMT32 Cube Programmer should have replaced STLink Utilities, but is it missing fundamental features like skipping the erase of the flash?
