Solved
With ST-link V3, is there an option to verify while programming like in ST-link V2?
MCU is STM32L0.
The file I use to program has option bytes added with read-protection turned ON.
:020000041FF8E3
:0C0000000000FFFF7A80857FFF0000FFFA
:00000001FFUsing ST-link V3, I'm having this error: (see attached screenshot)
Command line:
stm32_programmer_cli -c port=SWD freq=8000 mode=UR -d "%FILE%" -vIt was ok if I use ST-link V2 with this command:
st-link_cli -c SWD FREQ=4000 UR -P %FILE% -V while_programming