2022-12-01 01:58 AM
Hello,
To push code using commands, i use this : STM32_Programmer_CLI.exe --connect port=SWD mode=UR reset=HWrst -d file.elf
But I would like the program to run after the programming step is complete (same behaviour as when programmed with STM32CubeProgrammer.
I noticed that "run after programming was checked but I don't know how to do that with commands.
I watch the possibilities using STM32_Programmer_CLI.exe -h but I didn't find it.
STM32 : STM32WB5MMGH6TR
Have a nice day
Laora
Solved! Go to Solution.
2022-12-01 02:40 AM
Hi @LVolp.2,
Welcome to ST community ;)!
You can use --go to achieve this via STM32CubeProgrammer CLI. The resulting CLI command would be: STM32_Programmer_CLI --connect port=SWD mode=UR reset=HWrst -d file.elf -g
Let me know if you find this helpful.
Aziz
2022-12-01 02:40 AM
Hi @LVolp.2,
Welcome to ST community ;)!
You can use --go to achieve this via STM32CubeProgrammer CLI. The resulting CLI command would be: STM32_Programmer_CLI --connect port=SWD mode=UR reset=HWrst -d file.elf -g
Let me know if you find this helpful.
Aziz
2022-12-09 03:17 AM
@Aziz BRIGUI
I just tested your solution and it works perfectly.
Thank you very much
Have a nice day