Can someone share the commands (CLI) to establish connection once (-c) and do all flash steps, finally disconnect
We are trying to execute the following steps,
"C:/Program Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI" -c port=SWD --erase all
"C:/Program Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI" -c port=SWD -w "C:/Users/Public/Documents/p2_hi_primary_bl.hex"
"C:/Program Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI" -c port=SWD -w "C:/Users/Public/Documents/p2_hi_secondary_bl.hex"
"C:/Program Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI" -c port=SWD -w "C:/Users/Public/Documents/p2_hi_fct.hex"
"C:/Program Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI" -c port=SWD -rst
We are getting error when we run each command. can we run connect only once, then proceed flash steps, and after flashing disconnect?
