cancel
Showing results for 
Search instead for 
Did you mean: 

How to use STLink CLI to program STM32 IOT node?

KVenk.2
Associate II

What are the necessary command line arguments for st-link_cli.exe for programming bin file to STM32 Discovery Kit Iot Node?

2 REPLIES 2
KVenk.2
Associate II

I used `ST-LINK_CLI.exe -c SWD -P stm32l475.bin 0x8000000 -V while_programming` command but didn't succeed. It could be really helpful If someone helps me out 

Amel NASRI
ST Employee

Hi @KVenk.2​ ,

Please note that I edited your question to put a summary with a body. This is the proper way to ask questions in the forum.

Back to your request,

  • did you get any error message trying to program your device with the ST-Link CLI?
  • make sure to perform an stlink firmware upgrade and to use the last STLink Utility version.
  • does it work when trying to program it with the GUI interface?
  • what about STM32CubeProgrammer usage (GUI or CLI)?

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.