AnsweredAssumed Answered

st-link command line utility want not start the application

Question asked by Martin Peevski on Feb 9, 2018

   Hello! I want to program a STM32L073CB device FLASH and option bytes and then to start the application. If I don't program the option byte I have not problem with the application start. That is the command line:

ST-LINK_CLI.exe -c SWD UR -ME -SE ed1 -V "after_programming" -P Lora_sx1276mb1mas.hex -HardRst -Q

 

   If I add an option byte value, the hard reset is performed but the application is not started. That is the command line:

ST-LINK_CLI.exe -c SWD UR -ME -SE ed1 -rOB -V "after_programming" -P Lora_sx1276mb1mas.hex -OB RDP=1 -HardRst -Q

 

   Anybody know how I can program and the option byte and the application then starts successfully?

Outcomes