Skip to main content
ri_it
Associate II
March 15, 2018
Question

STM32CubeProgrammer CLI lack of options

  • March 15, 2018
  • 2 replies
  • 1504 views
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
This topic has been closed for replies.

2 replies

ri_it
ri_itAuthor
Associate II
May 14, 2018
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
May 14, 2018
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

...

ri_it
ri_itAuthor
Associate II
May 14, 2018
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.

Tesla DeLorean
Guru
May 14, 2018
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 VenmoUp vote any posts that you find helpful, it shows what's working..