2017-05-18 02:26 AM
Hi everyone, I'm struggling with a flashing problem for ST MCU (STM32F070CB).
I'm using the STM32 ST-LINK CLI v3.0.0.0 from
We want to flash and set RDP=1 (read protection), we use '-c SWD -P image.hex -OB RDP=1 -V after_programming -Rst' arguments
When we do this, the MCU enters a lock state, we have to unplug/plug it (do a POR?) to make it work again. A system reset with the NRST do not work.
The command works fine when we do not set RDP=1, the MCU just resets normally and is usable.
There is an Option byte loader reset possible, which may me needed maybe, but we cannot do it with ST-Link_CLI
Any idea what to do?
Thanks!
#read #flashing-stm32 #mcu #st-link #flashing #read-protection