cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer CLI lack of options

ri
Associate II
Posted on March 15, 2018 at 16:10

1. How to specify to which one ST-link to connect using CLI? In the ST-link utility we had an option to specify a serial number. How to do it with a new STM32CubeProgrammer? I have tens of ST-links connected on the same PC.

2. How to skip flash erase before downloading hex to the MCU? 

In the ST-link utility

we had an option 'ske'.

#ske #cli #stm32cubeprogrammer #serial-number
4 REPLIES 4
ri
Associate II
Posted on May 14, 2018 at 13:46

Bump.

Is there any progress regarding these questions? What is the development roadmap for cube programmer?

Frantz LEFRERE
ST Employee
Posted on May 14, 2018 at 18:39

you can use the parameter index to select the probe:

STM32_Programmer_CLI.exe -c port=SWD index=0

STM32_Programmer_CLI.exe -c port=SWD index=1

...

Posted on May 14, 2018 at 18:54

Why is it better to use index than serial number? Indexes can change while serial number specifies exact hardware.

Posted on May 14, 2018 at 19:13

>>

Why is it better to use index than serial number? Indexes can change while serial number specifies exact hardware.

Exactly, another indication that the people writing the tools are disconnected from the practical application and use of the tools. Picture Linus Torvalds, Steve Jobs, or Elon Musk shouting and throwing things at people...

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..